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.
What is Wally searching for in this file?
Wally is logged into a system and is searching in a file using the following command.
$ grep -i "$LOGNAME" weekly-reports.txt
What is Wally searching for in this file?
Choose the answer that describes a process that runs in the background and provides a service.
Choose the answer that describes a process that runs in the background and provides a service.