Questions
Which of the following options is used with mount command to mount all the file systems listed in /etc/fstab?
- -f
- -a
- -r
- -t fstype
- -u
Which of the following system processes is a real-time scheduler that runs as process 0 on SVR5 systems and can be used to set priority for real-time processes so that they can be given fast access to the kernel?
- swapper
- page daemon
- init
- sched
- fsck
Which of the following options is used with useradd command in UNIX so that a new user will be created using home_dir as the value for the user's login directory?
- -c
- -e
- -d
- -f
- -g
Which of the following file system types is used to build a Linux file system on a device, usually a hard disk partition, and that returns exit code as 0 on success and 1 on failure?
- msdos
- bfs
- mkfs
- ufs
- s5
Which of the following exit values used with userdel command indicates that the user is currently logged in?
- 2
- 12
- 8
- 1
- 6
Which of the following items stored in a UNIX file system provide applications with easy access to hardware devices and UNIX allows them to be used in much the same way as ordinary files?
- Ordinary files
- Devices
- Links
- Directories
- /tmp
What would be the meaning of the following UNIX command?
$ find .- mtime - 2 -name *.cpp - print
- To find a list of directories starting from name
- To find just those files that have been modified in the last two days
- To find all the files of .cpp extension in name directory
- To find only two *.cpp files in the current directory
- To find the names of files in mtime directory
Which of the following control characters in UNIX is used to signal the end of input?
- Start
- Stop
- eof
- Kill
- Man
Which of the following commands is used to find out where an application program or system utility is stored on disk in UNIX?
- locate
- which
- grep
- find
- egrep
Which of the following octal digits represents the access permission for the user/owner, group and others to perform read, write and execute operations in UNIX?
- 0
- 1
- 2
- 3
- 7
Which of the following text file processing commands is used in UNIX to perform basic text transformations on an input stream that may be a file or a pipeline?
- awk
- cpio
- sed
- man
- cat
Which of the following options is used with grep command in UNIX to print out the line number before printing the matching line?
- -c
- -v
- -n
- -l
- -x
Which of the following methods to perform interprocess communication in UNIX consist(s) of a resource that contains an integer value and allows processes to synchronise by testing and setting this value in a single atomic operation?
- Pipes
- Fifos
- Message queues
- Semaphores
- Shared memory
Which of the following values in STAT option of ps command is used to show that the process is sleeping while the system is doing something else?
- R
- W
- S
- I
- X
Which of the following remote file transfer commands is actually a Bourne shell script offering a simplified file copying service based on UNIX-UNIX Copy?
- uuname
- uuto
- lpr
- scp
- who