Which command in UNIX is used to display system information?
a) uname
b) top
c) df
d) ps
Answer:
a) uname
Explanation:
The uname
command in UNIX is used to display basic system information, including the operating system name, kernel version, and system architecture. By default, running uname
prints the operating system name, while additional options provide more detailed information.
For example, uname -a
displays all available system information, such as the kernel version, processor architecture, and machine hardware name. This is helpful for understanding the underlying system on which you are working.
Mastering the uname
command is essential for troubleshooting and system administration. It provides a quick overview of the system’s technical details, enabling users to make informed decisions when managing UNIX systems.