How do I find my hostname in linux?



How do I find my hostname in linux?..

Answer / balaji

just type hostname
if u want to change hostname use fallowing command
hostnamectl set-hostname balaji

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

0 Answers  


What does top do in linux?

0 Answers  


Explain difference between swap partition and swap file?

0 Answers  


i am prepairing for 2+ yrs exp in oracle/unix production support, which topics should i cover in unix/linux and sql plz help

2 Answers   HCL,


What does chmod do in linux?

0 Answers  






How find ip address linux?

0 Answers  


What can you type at a command line to determine which shell you are using?

6 Answers   Tech Mahindra,


Explain about the command lynx?

0 Answers  


What is pwd in linux command?

0 Answers  


What does p mean linux?

0 Answers  


How to block the message in wall command some students are send messages to all in the lab. please help me

5 Answers  


How do I check command history?

0 Answers  


Categories