- Home
- Interview Questions
- Linux System Administrator
21.
How can you know, without checking the logs, which Kernel version is currently loaded to the system?
The uname tool allows you to get various system information - to get only the kernel data, you can use uname –rsv.
22.
What is the equivalent of "Norton commander" or "Windows Commander" for Linux console?
Linux provides the mc (Midnight Commander) tool to allow the user to have an interactive interface for file management in Linux Console.
23.
How can you change a password of a different user (john), when you have root access?
Using the passwd command with the destination username - passwd john
24.
How do you make sure that your computer date & time are always aligned?
You need to connect your server to an ntp server using ntpd, or run manually "ntptime ntpserver.com"
25.
You have a tar file (myFile.tar), how do you convert it to a gzip file on best compression?
If you need to compress the file on a best compression, you need to run the command "gzip -9 myFile.tar" and it will convert it to myFile.tar.gz.