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?
Which octal mode with the chmod command will set those permissions?
Val wants to change the permissions on a file to remove access for all user that are not in the file’s group. She also wants the group permissions to allow the file to have read and write access. Val can currently read and write the file. Which octal mode with the chmod command will set those permissions?
Which two commands will open the file in the vi editor as read only?
You have a file named customer1 and you need to examine the file in read only mode using the vi editor. Which two commands will open the file in the vi editor as read only? (Choose two.)
Jim wants to alias the grep command to the string search. Choose the command that Jim should add to his .kshrc
Jim wants to alias the grep command to the string search. Choose the command that Jim should add to his .kshrc file to accomplish this alias.
Wally created the following aliases.printall=’pr * | lpr’pa=printallChoose the answer that best de
Wally created the following aliases.
printall=’pr * | lpr’
pa=printall
Choose the answer that best describes what the result will be when Wally uses the pa alias.
Which positional parameter holds the value of the number of positional parameters?
Which positional parameter holds the value of the number of positional parameters?
which shell variable?
Jane executes the following command:
$ alais search=’grep -i
>The
> is defined by setting which shell variable?
How does he indicate the beginning and end of a block of statements in a while loop?
Frank is writing a ksh script. How does he indicate the beginning and end of a block of statements in a while loop?
Choose the command that will display a list of process signals.
Choose the command that will display a list of process signals.