1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line?

2. Which command is used to sort the lines of data in a file in reverse order

3. Which command is used to display the top of the file?

4. Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

5. Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

6. Which command is used to remove a directory?

7. Which of the following keys is used to replace a single character with new text?

8. Which command is used to extract specific columns from the file?

9. Which command sends the word count of the file infile to the newfile.

10. Which command is used to remove the read permission of the file ‘note’ from both the group and others?

11. Which of the following commands is used to display the directory attributes rather than its contents?

12. Which of the following files will displayed by this command cat *ch*

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:

14. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

15. Which of the following is not a communication command.

16. Which of the following keys is used to move the cursor to the end of the paragraph.

17. Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters?

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

19. Which command is used to remove a file?

20. Which symbol is used to separate more than one command in the same command line?

21. The agency that sits between the user and the UNIX system is called the

22. Which of the following commands is used to update access and modification times of a file?

23. Which command is used to count just the number of characters in a file?

24. Which of the following commands is used to list contents of directories?

25. Which command is used to display a file contents in octal form?

26. Which command will be used with vi editor to insert text to left of cursor?

27. In vi editor, forward search is performed using the command.

28. Which of the following special shell variables is used to process number of the last background job?

29. Which option will be used with ps command to slow the entire command line of the process being run?

30. Which of the following command addresses all users who are currently hooked on?

31. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it

32. Which of the following directories contain all the Alias created by a user, including his login directory?

33. Which of the following commands is used to obtain a list of all files by modification time?

34. The % key allows you

35. Which command is used to display the characteristics of a process?

36. Which of the following commands is used to identify the type of file by context?

37. The field separator in cut command is specified with

38. Which of the following options will be used to display number of blocks used by a file?

39. Which option will be used with touch command to change the access time?

40. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

41. Which command is used to display and create files?

42. The second set of the three permissions (r-) indicates that

43. Which column contains all details of the permissions of a file when you issue the ls -l command?

44. Which of the following commands is used to display your working directory?

45. While working with mail command, which command is used to save mail in a separate file?

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

47. Which command is used to terminate a process?

48. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

49. The cp command uses:

50. Which of the following files contains information related to password aging?

51. Which command will be used with vi editor to replace text from cursor to right?

52. Which of the following commands is used to rename a file?

53. Which of the following is not a filter?

54. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory?

55. Which command is used to list all the files with extension .lst?

56. Which option is used with the chmod command recursively to all files and sub-directories in a directory?

57. Which command is used to change directory to the name beginning with a ‘p’?

58. Which of the following is invalid filename?

59. Which commands is used to assign executable permission to all of the files named “letter”?

60. Which set option is used with vi editor to display line numbers on screen?

61. Which command is used to print a file?

62. Which command will be used with vi editor to replace single character under cursor with any number of characters?

63. Which of the following set options is used with vi editor to ignore case while searching for patterns?

64. Which command is used to list out all the hidden files along with the other files?

65. Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?

66. The chmod ugo+rw note command can be represented in octal notation as

67. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?

68. Which command is used with vi editor to search a pattern in the forward direction?

69. Which of the following commands is used to assign executable permission to the owner of the file named “note”?

70. The command to count the number of files in the current directory by using pipes, is

71. Which of the following commands is used to get directory one level up?

72. Which of the following commands is used to count the total number of lines, words, and characters contained in a file.

73. Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?

74. Which of the following commands is used to change the working directory?

75. Which of the following commands is used to view your file 24 lines at a time?

76. Which shell’s wild-cards is used to match a single character?

77. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.

78. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?

79. The command chmod 761 note is equivalent to

80. The commonly used UNIX commands like date, ls, cat, etc. are stored in

81. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?

82. Which of the following commands is used to summarize the disk usage?

83. Which command is used to sort the lines of data in a file in alphabetical order?

84. If a file has read and write permissions for the owner, then the octal representation of the permissions will be

85. Which command is used to copy a file wb with the same name from the programs directory to the misc directory?

86. Which is the earliest and most widely used shell that came with the UNIX system?

87. The seventh field of /etc/password is

88. Which command is used to display the end of the file?

89. Which command is used to create a directory?

90. Which command is used to display the device name of the terminal you are using?

91. The ls -l command tells

92. Which option will be used with disk free command to include the total amount of disk space in the file system?

93. Which command is used to set the three permissions for all the three categories of users of a file?

94. Which of the following commands can be used to get information about yourself?

95. Which of the following commands can be used to get information about all users who are currently logged into the system?

96. Which of the following keys is used to overstrike a whole line?

97. Which command is used to locate all the .profile files in the system?

98. The File that contains a set of instructions which are performed when a user logs in, is

99. The octal representation 652 indicates

100. Which of the following command is used to count just the number of lines contained in a file?

101. Which of the following command is used to go to home directory?

102. Which command is used to move all files to the bin sub-directory of the parent directory?

103. Which command is used to save the standard output in a file, as well as display it on the terminal?

104. The command that can be used to restrict incoming messages to a user is

105. Which of the following commands is used to copy directory structures in and out

106. Which of following commands is used for an automatic reminder service?

107. Which command allows you to view your file 24 lines at a time?

108. Which of the following special shell variables is used to process number of the current shell?

109. Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?

110. Which command is used with vi editor scroll half page backward?

111. Which command is used with vi editor to move cursor forward to first occurrence of character ‘ch’ in the current line?

112. Which of the following keys is used to delete the character beneath the cursor?

113. Which command is used to assign only read permission to all three categories of the file ‘note’?

114. Which command will be used with vi editor to append text at end of line?

115. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has

116. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?

117. Which of the following shell’s wildcards are used to match any number of characters including none?

118. The command used to remove the directory is;

119. Which symbol will be used with grep command to match the pattern pat at the end of a line?

120. Which command is used to display all the lines with the string ‘sales’ from the file empl.lst?

121. Which of the following commands is not the vi Input mode command?

122. Which of the following commands is used to remove files?

123. Which command is used with vi editor to save file and remain in the editing mode?

124. You can append to a file instead of overwriting by using the

125. The [line number G] key allows you

126. Which of the following commands is used to have a two-way communication with any person who is currently logged in?

127. Which command is used with vi editor to move the cursor to the left?

128. Which of command is used to copy a file?

129. The special shell variable $* is used

130. The cat command is used to

131. The UNIX file system stores a date in physical blocks of

132. Which command is used to terminate all processes in your own system except the login shell?

133. Which operator will be used with chmod command to assign absolute permission?

134. Which command is used to link the files?

135. Which of the following signs is used to back up over typing errors in vi?

136. Major expressions used with find command to select file is it has been accessed in more than 375 days, is

137. Which of are following internal commands is used in mail to forward mail to user in user-list?

138. Which of the following commands is used to display the filenames in multiple columns?

139. Which command is used with file named ‘note’ to remove the executable permission from the user and assign read permission to the group and others?

Previous ArticleNext Article

Leave a Reply

Your email address will not be published. Required fields are marked *