Unix Commands Interview Preparation Guide
Download PDF
Add New Question

Unix Commands Interview Questions and Answers will guide us that Unix makes little distinction between commands (user-level programs) for system operation and maintenance (e.g. cron), commands of general utility (e.g. grep), and more general-purpose applications such as the text formatting and typesetting package. So learn Unix Commands with the help of this Unix Commands Interview Questions with Answers guide

17 Unix Commands Questions and Answers:

1 :: State and explain about features of UNIX?

UNIX operating system originally was developed in 1969. This is an open source operating system developed by AT&T. It is widely used in work stations and servers. It is designed to be multi tasking, multi user and portable. UNIX has many several components packed together.
Post Your Answer

2 :: Explain about sh?

Sh is the command line interpreter and it is the primary user interface. This forms the programmable command line interpreter. After windows appeared it still retained the programmable characteristics.
Post Your Answer

3 :: Explain about system and user utilities?

There are two utilities they are system and user utilities. System utilities contain administrative tools such as mkfs, fsck, etc. Where as user utilities contain features such as passwd, kill, etc. It basically contains environment values.
Post Your Answer

4 :: Explain about document formatting?

UNIX systems were primarily used for typesetting systems and document formatting. Modern UNIX systems used packages such as Tex and Ghostscript. It uses some of the programs such as nroff, tbl, troff, refer, eqn and pic. Document formatting is very used because it forms the base of UNIX.
Post Your Answer

5 :: Explain about communication features in UNIX?

Early UNIX systems used inter user communication programs mail and write commands. They never contained a fully embedded inter user communication features. Systems with BSD included TCP/IP protocols.
Post Your Answer

6 :: Explain about chmod options filename?

This command allows you to change, write, read and execute permissions on your file. Changes can be done to the file system but at times you need to change permissions for the file systems. At times files should be executable for viewing the files.
Post Your Answer

7 :: Explain about gzip filename?

Gzip filename is used to compress the files so that those files take up less space. The size of the file actually gets reduced to half their size but they might also depend upon about the file size and nature of the file systems. Files using gzip file name end with .gz.
Post Your Answer

8 :: Explain about refer?

Refer was written in Bell Laboratories and it is implemented as a troff preprocessor. This program is used managing bibliographic references and it is used to cite them in troff documents. It is offered in most of the UNIX packages. It refers with text and reference file.
Post Your Answer

9 :: Explain about lpr filename?

This command is used to print a file. If you want to change the default print you can change the printer by using the P option. For double sided print you can use lpr-Pvalkyr-d. This is very useful command in UNIX present in many packages.
Post Your Answer

10 :: Explain about lprm job number?

This command is used to remove documents from the printer queue. The job number or the queue number can be found by using lpq. Printer name should be specified but this is not necessary if you want to use your default printer.
Post Your Answer
Add New Question