UNIX OS (UGC/NET)

UNIX

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following options is used with mount command to mount all the file systems listed in /etc/fstab?

  1. -f
  2. -a
  3. -r
  4. -t fstype
  5. -u
Question 2 Multiple Choice (Single Answer)

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?

  1. swapper
  2. page daemon
  3. init
  4. sched
  5. fsck
Question 3 Multiple Choice (Single Answer)

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?

  1. -c
  2. -e
  3. -d
  4. -f
  5. -g
Question 4 Multiple Choice (Single Answer)

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?

  1. msdos
  2. bfs
  3. mkfs
  4. ufs
  5. s5
Question 5 Multiple Choice (Single Answer)

Which of the following exit values used with userdel command indicates that the user is currently logged in?

  1. 2
  2. 12
  3. 8
  4. 1
  5. 6
Question 6 Multiple Choice (Single Answer)

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?

  1. Ordinary files
  2. Devices
  3. Links
  4. Directories
  5. /tmp
Question 7 Multiple Choice (Single Answer)

What would be the meaning of the following UNIX command?

$ find .- mtime - 2 -name *.cpp - print

  1. To find a list of directories starting from name
  2. To find just those files that have been modified in the last two days
  3. To find all the files of .cpp extension in name directory
  4. To find only two *.cpp files in the current directory
  5. To find the names of files in mtime directory
Question 8 Multiple Choice (Single Answer)

Which of the following control characters in UNIX is used to signal the end of input?

  1. Start
  2. Stop
  3. eof
  4. Kill
  5. Man
Question 9 Multiple Choice (Single Answer)

Which of the following commands is used to find out where an application program or system utility is stored on disk in UNIX?

  1. locate
  2. which
  3. grep
  4. find
  5. egrep
Question 10 Multiple Choice (Single Answer)

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?

  1. 0
  2. 1
  3. 2
  4. 3
  5. 7
Question 11 Multiple Choice (Single Answer)

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?

  1. awk
  2. cpio
  3. sed
  4. man
  5. cat
Question 12 Multiple Choice (Single Answer)

Which of the following options is used with grep command in UNIX to print out the line number before printing the matching line?

  1. -c
  2. -v
  3. -n
  4. -l
  5. -x
Question 13 Multiple Choice (Single Answer)

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?

  1. Pipes
  2. Fifos
  3. Message queues
  4. Semaphores
  5. Shared memory
Question 14 Multiple Choice (Single Answer)

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?

  1. R
  2. W
  3. S
  4. I
  5. X
Question 15 Multiple Choice (Single Answer)

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?

  1. uuname
  2. uuto
  3. lpr
  4. scp
  5. who