Home »
MCQs »
Linux MCQs
Which Linux command is used to check the computer's hostname?
26. Which Linux command is used to check the computer's hostname?
- hostname
- host
- comph
- hname
Answer: A) hostname
Explanation:
The "hostname" command is used to check a computer's hostname in Linux.