Unix MCQ Quiz

  1. Which Option Is Used With The Tail Command For Extracting Bytes Instead Of Lines?
  2. Which Symbol Will Be Used With Grep Command To Match The Pattern Pat At The Beginning Of A Line?
  3. To Extract Specific Columns From A File, ____ Command Is Used.
  4. Which Command Is Used To Sort The Lines Of Data In A File In Reverse Order
  5. What Is The Default Delimiter Used By The Cut Command For Cutting Fields?
  6. In Vi Editor, Forward Search Is Performed Using The Command.
  7. Which Of The Following Special Shell Variables Is Used To Process Number Of The Last Background Job?
  8. Which Option Will Be Used With Ps Command To Slow The Entire Command Line Of The Process Being Run?
  9. The Agency That Sits Between The User And The UNIX System Is Called The
  10. Which Command Is Used To Display A File Contents In Octal Form?
  11. Which Of The Following Keys Is Used To Move The Cursor To The End Of The Paragraph.
  12. The CP Command Uses
  13. Which Shell Offers A Command History Feature
  14. Unix Is Written In
Unix MCQ

Take Unix Quiz To test your Knowledge 

Below are few Unix MCQ test that checks your basic knowledge of AngularJS. This Unix Test contains around 20 questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

Also, Read Best Unix interview questions.

  • ^pat
  • $pat
  • Pat$
  • Pat^
  • Standard Input File
  • Standard Output File
  • Both Input And Output File
  • Neither Standard Input Nor Standard Output File
View Answer
  • C Shell
  • Visual Shell
  • Korn Shell
  • Bourne Shell
View Answer
  • Ada Language
  • C Language
  • Perl Language
  • Pascal Language
View Answer
  • Single User, Single Tasking OS
  • Single User, Multi-tasking OS
  • Multi-User, Multi- Tasking OS
  • None
View Answer
  • Echoes Welcome In All The Terminals That Are Switched On.
  • Echoes Welcome In All The Terminals That Are Logged On.
  • Echoes Welcome Only In The Terminal In Which It Is Run.
  • Both (a) And (c)
View Answer
  • Malloc Is Used For Dynamic Allocation Of Memory, While Cal:c Can't Be Used For That Purpose
  • Malloc Needs Only One Argument. While Cal Loc Needs Two.
  • Unlike Malloc, Calloc Allocates Memory And Initializes It To 0.
  • Both (b) And (c)
View Answer
  • Shell Scripts Can Accept Arguments
  • Shell Scripts Are Interpreted
  • Shell Is A Programming Language
  • Shell Scripts Are Compiled
View Answer