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

What does bash stand for?

785


What are the 7 types of sentences?

825


What are runlevels in linux?

813


What the command used for search file or files for specific text?

743


What are the linux commands used in devops?

783


What is FC command?

683


What is clang tidy?

804


What command should you use to check the number of files and disk space used and each user’s defined quotas?

856


How does case sensitivity affect the way you use commands?

941


What is the symbol of linux?

811


The ‘logout’ built in command is used to

1001


What is the use of finger command in linux?

731


Is cmake a compiler?

840


Is cmake only for c++?

788


How do I change directories in linux command line?

699