Unix Test
The command ls | more displays a list of :
A single command which lists all files in a directory, distinguishing between a directory, executable and symbolic link files is:
By which command a user can add a password for his login name?
By which screen manipulation command can you specify the coordinates for the cursor position ?
Consider the following command cat re* Which of the following files will not be displayed by this command ?
Consider the following file listing of file abc1 for a user abc -rw------- 1 abc student 10 jan 10:39 abc1 What inference would you make r...
Highlight the incorrect statement regarding the uniq command :
How can a root user find the password of a user who has forgotten his password?
In UNIX , shell is a program which :
In which of the following high level languages most of the UNIX is written?
Mounting a file system means :
Pipes is/are :
Point out the incorrect statement regarding standard input , output and error :
Study the following statements and select the incorrect one :
Suppose you have a file named trans and you want to display fields two to four. Which of the following commands will you use ?
The chmod command :
The command rm -r project
The command rmdir c-prog will not work if :
The executable file name for the Bourne shell is :
The file oldies-goldies has the details of the sale of books.The records are sorted on the names of the authors and are as follows Alexandre Dumas Alexandre Dumas Alexandre...
The find command :
The main objective of a time-sharing operating System like UNIX is to :
The mv command :
The number of arguments can be known by which variable ?
The shell variable that defines internal field separator is.
The user passwords are kept in which file on most Unix systems?
The wc filter :
UNIX is an example of :
UNIX offers the following benefits :
Using which command can you move to a different directory?
What communication command allows a user to communicate with another user logged on by splitting the screen and providing two way communication ?
What control character signals the end of the file ?
What information does the who am i command display?
What is the command that can print lines of 1st file matching with 2nd file ?
What is the correct command to delete all files with two character file-names from the directory /user/group2 ?
What is the default standard error file ?
What is the default UNIX prompt?
What is the exit code of a successful command ?
What is the file descriptor for the standard error file ?
What is the file descriptor for the standard output file ?
What is the number of standard file pointers in UNIX?
What is the user id of a root user?
What will be the result of command '' rm -r directory/* ''?
What would be displayed on the screen if the pwd command is entered when the user is in /usr directory?
Which character of the grep filter specifies that the pattern preceding it must occur at the end of each line ?
Which character would be used in the grep filter to specify a pattern which consists of any one of a set of characters?
Which command compresses a file?
Which command gives all differences between two files ?
Which command gives information about space being used by files and directories ?
Which command identifies the current working directory ?
Which command invokes a text editor ?
Which command is used by a user to define a printer for their session?
Which command is used for splitting a file horizontally?
Which command is used to run a command at a specified time ?
Which command will delete a directory only if it is empty ?
Which command will symbolically link two files in a directory?
Which command will you use to count the number of words in a file?
Which command will you use to see the available routes and their status?
Which command will you use to see your current group?
Which command would make the scope of a shell variable global to the subshells ?
Which command would you use if you want to display selective fields from a file ?
Which error will you see when an NFS client can no longer access mounted file system?
Which file contains the commands run by all users at login?
Which file contains the commands that the system executes when a user logs in?
Which filter is used to copy the standard input to the standard output and also to a disk file ?
Which filter will you use to translate a set of charaters to another ?
Which keystroke combination sends or signals an interrupt request to a process ?
Which of the following characters can be used to run multiple commands on a single line?
Which of the following commands can be used to add the read and write permissions to the user and group classes of a file named abc?
Which of the following commands can be used to change group ownership of a file/directory?
Which of the following commands can be used to communicate directly with other users by sending messages?
Which of the following commands can be used to view the calendar of April 2007?
Which of the following files is configured for login name, login directory and login shell variables?
Which of the following is a responsibility of the system administrator?
Which of the following is incorrect about the restrictions imposed by the restricted shell ?
Which of the following is not a filter ?
Which of the following is not a valid file command ?
Which of the following is the only filter?
Which of the following locations store the information about the currently installed Software on a local system?
Which of the following shells is typically used for guest logins and in secure systems ?
Which of the following statements is incorrect ?
Which of the following statements is incorrect regarding positional parameters ?
Which of the following statements is incorrect regarding the UNIX environment?
Which of the following statements is incorrect regarding variables?
Which of the following statements is not true regarding the grep filter?
Which of the following statements regarding file naming is incorrect? File names :
Which option of the grep filter prints out all those lines that do not match the pattern specified by the regular expression ?
Which option of the sort filter changes the output to reverse order ?
Which option of the sort filter folds lower case characters to upper case ?
Which option of the sort filter performs a numeric sort ?
Which option of the uniq command would you use to display lines with only one occurence?
Which option of the uniq command would you use to display only those lines which have a multiple occurrence ?
Which option used along with find prompts the user for confirmation before any operation is performed on a file ?
Which option used along with the find command allows one to perform operations on the files that are located by the find command ?
Which screen manipulation command sets the screen back to normal?
Which screen manipulation command sets the screen to reverse video?
Which special variable will display the exit status of the last executed command in Bourne or Korn shell?
Which type of users can be associated with each file in UNIX ?
Which UNIX command provides the type of information contained in a particular file ?
Which variable contains the system prompt ?
Which variable will display the list of the positional parameters?
Which wild-card matches one character ?
Who can change the password of a user account?
With regard to UNIX, a process is :
You are writing a shell script.For a given condition, you want to terminate a loop. Which command will you use ?
You have two variables, v1 and v2. You want to assign the value of v2 to v1.Which of the following declarations is correct ?
You want to declare a variable vs with the value hello. Which of the following declarations is correct ?
You want to make a new directory.What command will you use ?
You want to read through the reference manual.What command will you use ?
You want to search for the pattern "Newa" or "Newb" or "Newc". Which regular expression will you use with the grep command ?
You want to specifically search for the character [ . What character(s) would you use in the expression to achieve this ?