Vidyalelo
Computer Science · all questions

UNIX
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,129

Questions

17/57

Page

Pick an option on a question to see the right answer and solution.

Each process is identified by a unique integer called . . . . . . . .

Select an option to see the answer and solution.

Which of the following files will not be listed using the following command?
ls chap0[1-4]

Select an option to see the answer and solution.

The first argument is read by the shell into the parameter . . . . . . . .

Select an option to see the answer and solution.

Which command is used for renaming files?

Select an option to see the answer and solution.

dw will . . . . . . . .

Select an option to see the answer and solution.

Which one of the following option is used for AND operation in test command?

Select an option to see the answer and solution.

How can we copy a file into our current directory?

Select an option to see the answer and solution.

Which option performs recursive deletion?

Select an option to see the answer and solution.

Process table and process control block store same attributes of a process.

Select an option to see the answer and solution.

The . . . . . . . . function extracts a substring from a string.

Select an option to see the answer and solution.

By default, kill uses the SIGTERM signal (15) to terminate the process.

Select an option to see the answer and solution.

Which library function uses kill to send any signal to the current process?

Select an option to see the answer and solution.

nohup command doesn't send the standard output of a command to any file.

Select an option to see the answer and solution.

For returning back to the original file after switching we can use:

Select an option to see the answer and solution.

Hard linked files are provided with the same inode number as the original one.

Select an option to see the answer and solution.

Which command appends text at the end of the current line?

Select an option to see the answer and solution.

. . . . . . . . exec is responsible for executing programs on a UNIX system.

Select an option to see the answer and solution.

sar is a command line tool for collecting, viewing and recording performance data.

Select an option to see the answer and solution.

-t option sorts the files according to . . . . . . . .

Select an option to see the answer and solution.

In which language UNIX is written?

Select an option to see the answer and solution.