Which grep program is used to search for literal strings and does not interrupt regular expressions?
Which grep program is used to search for literal strings and does not interrupt regular expressions?
Which grep command will you use?
You have a parts list, and you need to search it for all parts that contain the string V1 or the string R3. You decide to use a grep utility to search the file. Which grep command will you use?
Which signal does this command send to the process?
Jane is writing a shell script. While testing the script, she finds that the script is in a infinite loop. She issues the following command:
$ kill `pgrep affiliate.sh`
Which signal does this command send to the process?
He uses the following command:
Wally is searching for the PID of the syslog process on his system. He uses the following command:
$ pgrep syslogd
Choose the answer that describes the outcome of this command.
Which command will correctly create this archive?
Frank is going to add four files to a tar archive. The files are called data1, data2, etc. These files will be stored in a new archive called data-1-4.tar Which command will correctly create this archive?
Which command will restore the contents of the archive to disk?
Frank has a archive named data-1-4.tar and he needs to recover the contents of the archive. Which command will restore the contents of the archive to disk?
What will be the result of running this sequence of commands?
A user is creating an archive using the zip utility. The user executes the following sequence of commands.
$ zip -rm archive.zip /data/dir1
$ zip -rm archive.zip /product/dir1
$ zip -rm archive.zip /data/dir2
What will be the result of running this sequence of commands?
Which answer is correct concerning this command line?
Val has invoked the following command, to gather information about the data stored in her home directory.
$ du -sk * | sort -n | tail > file2
Which answer is correct concerning this command line?
You are using the Korn shell, and would like to change the number of commands displayed by the history command
You are using the Korn shell, and would like to change the number of commands displayed by the history command. Choose which variable you will need to set.
Which method can be used to configure this access?
You own a file that is part of a web development project. This file is shared by the group permission among the members of the web development group called webdev. The world permissions for
the file are set to read only for security reasons. You wish to deny write access to the file for two members of the webdev group, but allow write access for the rest of the webdev group. You do not have root access. Which method can be used to configure this access?