Linux Interview Questions

Write command to list all the links from a directory?

ls -lrt | grep "^l"

Create a read-only file in your home directory?

touch file
chmod 400 file

How will you find which operating system your system is running on in UNIX?

By using command "uname -a" in UNIX

How do you copy file from one host to other?

Using "scp" command

How do you find which process is taking how much CPU?

Using "top" command

How do you check how much space left in current drive ?

By using "df" command