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?
Which command line can Wally use to display the data?
Wally has two files with data about dark and light coffee beans. The data is stored in the files named dark_beans and light_beans. The files are in the coffee directory of Wally’s home directory. Wally would like to display a sorted list of all of the words from both lists that start with the letter "g" or "G". The files contain mixed case names. Which command line can Wally use to display the data?
Which method describes how you can grant write permissions to the contractor’s user ID?
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 give write access on the file for a contractor not in the webdev group. You do not have root access. Which method describes how you can grant write permissions to the contractor’s user ID?