How do I find my hostname in linux?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why bash is used in linux?

752


State and explain about features of UNIX?

778


How do I get to root in linux?

750


Which command reduces the size of a file?

831


What is history command in linux?

756


How do I check storage on linux?

756


What file type is a makefile?

737


What command is used to check the number of files, disk space, and each user’s defined quota?

753


What is cmake in linux?

840


How compile c++ program in cmd?

809


How do I open a text file in cmd?

746


What is shell scripting commands?

794


Does cp overwrite?

770


What would be the result of the command paste -s dog cat?

754


How do I know my linux shell version?

729