Unix Quiz Question with Answer


21. The command cal j 1997 would give the output as

  1. The calendar of jan, june and july 1997
  2. Only calendar of jan 1997
  3. An error
  4. None of the above

22. The command head f1 would display

  1. First line of the file f1
  2. Nothing
  3. First 10 lines of the file f1
  4. The whole file f1

23. The command is used to compare the files is known as

  1. Comp
  2. Cmp
  3. Do
  4. Ccp

24. The command pwd gives

  1. Present working directory
  2. Password in encrypted form
  3. Password in decrypted form
  4. None

25. The command that unix offers to a user to find out whether he can send messages to a particular terminal are

  1. finger and who
  2. finger –mesg and who –T
  3. finger –I and who –t
  4. finger –I and who –T

26. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

  1. Tee
  2. Tr
  3. Sort
  4. Grep

27. The cp command uses

  1. Standard input file
  2. Standard output file
  3. Both input and output file
  4. Neither input nor output file

28. The default value of Umask is

  1. 1024
  2. 4021
  3. 22
  4. 1001

29. The difference between the commands ps –e and ps –a is

  1. Ps –e gives details of every process running in memory whereas ps –a gives output for all the process that you have launched
  2. Ps –e gives details of every process running in memory whereas ps –a gives details of all user processes
  3. No difference, both give same output
  4. None of the above

30. The escape sequence 33[4m is used to

  1. underlying characters
  2. mark them as bold
  3. display them in reverse video
  4. none of the above

Tags :


Multiple Choice Questions and Answers on Unix


Unix Multiple Choice Questions and Answers


Unix Trivia Quiz


Unix Question and Answer PDF Online




Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  Netherland  Germany  Sweden  South Africa  Ghana  Tanzania  Nigeria  Kenya  Ethiopia  Zambia  Singapore  Malaysia  India  Pakistan  Nepal  Taiwan  Philippines  Libya  Cambodia  Hong Kong  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  and many more....