Unix questions with answers
97 multiple-choice questions. Open any question for its answer and explanation.
- Which command is used to display and create files?
- The second set of the three permissions (r-) indicates that
- Which column contains all details of the permissions of a file when you issue the ls -l command?
- Which of the following commands is used to display your working directory?
- While working with mail command, which command is used to save mail in a separate file?
- The command used to compare the files is known as
- Which command is used to terminate a process?
- The cp command uses
- Which of the following files contains information related to password aging?
- Which command will be used with vi editor to replace text from cursor to right?
- Which of the following commands is used to rename a file?
- 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?
- Which option is used with the chmod command recursively to all files and sub-directories in a directory?
- Which of the following is invalid filename?
- Which commands is used to assign executable permission to all of the files named "letter"?
- Which set option is used with vi editor to display line numbers on screen?
- Which command will be used with vi editor to replace single character under cursor with any number of characters?
- Which of the following set options is used with vi editor to ignore case while searching for patterns?
- Which command is used to list out all the hidden files along with the other files?
- 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?
- The chmod ugo+rw note command can be represented in octal notation as
- Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?
- Which command is used with vi editor to search a pattern in the forward direction?
- Which of the following commands is used to assign executable permission to the owner of the file named "note"?
- The command to count the number of files in the current directory by using pipes, is