Computer Science- Unix

Computer Science- Unix
11. Which of the following commands is used to display the directory attributes rather than its contents?
  • ls -1 -d
  • ls -1
  • ls -x
  • ls -F
Show Answer
12. Which of the following files will displayed by this command cat *ch*
  • patch
  • catch
  • .ch
  • All of the above
Show Answer
13. The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:
  • 000
  • 755
  • 744
  • 555
Show Answer
14. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
  • tty ^c
  • stty intr \^c
  • stty echoe
  • stty echo \^a
Show Answer
15. Which of the following is not a communication command.
  • write
  • mesg
  • mail
  • grep
Show Answer
16. Which of the following keys is used to move the cursor to the end of the paragraph.
  • }
  • {
  • |
  • $
Show Answer
17. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
  • cat emp[!0-9]
  • more [emp][!0-9]
  • cat emp[x-z]
  • cat emp[a-z]
Show Answer
18. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
  • tee
  • tr
  • sort
  • grep
Show Answer
19.  Which command is used to remove a file?
  • remove
  • rm
  • mv
  • del
Show Answer
20. Which symbol is used to separate more than one command in the same command line?
  • $
  • #
  • :
  • ;
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test