Computer Science- Unix

Computer Science- Unix
31. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it
  • -r
  • -x
  • -i
  • -1
Show Answer
32. Which of the following directories contain all the Ales created by a user, including his login directory?
  • /tmp
  • /etc
  • /usr
  • /dev
Show Answer
33. Which of the following commands is used to obtain a list of all files by modification time?
  • ls -1
  • ls -t
  • ls -i
  • ls -R
Show Answer
34. The % key allows you
  • to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
  • to move the cursor to the upperleft corner of the screen
  • to move the cursor backward to the beginning of a word
  • to move the cursor to the first column in the current line
Show Answer
35. Which command is used to display the characteristics of a process?
  • pid
  • du
  • ps
  • au
Show Answer
36. Which of the following commands is used to identify the type of file by context?
  • ls
  • cat
  • file
  • more
Show Answer
37.  The filed separator in cut command is specified with
  • -a option
  • -d option
  • -r option
  • -x option
Show Answer
38. Which of the following options will be used to display number of blocks used by a file?
  • -c
  • -i
  • -d
  • -s
Show Answer
39. Which option will be used with touch command to change the access time?
  • -a
  • -b
  • -t
  • -h
Show Answer
40. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
  • chmod -R a+x progs
  • chmod -R 222 progs
  • chmod -1 a+x progs
  • chmod -x a+x progs
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test