Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

Answer» The tee command reads standard input, then writes its content to standard output and simultaneously copies it into the specified file(s) or variables.
2.

Which command is used to display the top of the file?

Answer» The head command displays the first few lines at the top of a file. It can be useful when you want a quick peek at a large file, as an alternative to opening the file.
3.

Which column contains all details of the permissions of a file when you issue the ls -l command?

Answer» root@server [~]# ls -l .... -rw------- 1 root root 37 Dec 31 2009 .my.cnf -rw------- 1 root root 737 Aug 18 21:20 .mysql_history -rw-r--r-- 1 root root 264 Aug 18 16:51 .pearrc ....