The command echo $! will produce what output?
A. the process id of last background command
B. the exit status of the last command
C. the exit status of the last background command
D. the process id of the current shell
E. the name of the command being executed
Given the following output:
Prompt > myapp
+ Stopped myapp prompt>
Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?
A. bg myapp
B. continue myapp
C. exec myapp
D. fg myapp
E. myapp &
What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?
A. cut -d: -fl,3 /etc/passwd
B. chop -c l,3 /etc/passwd
C. tac l-3 /etc/passwd
D. fmt -u /etc/passwd
QUESTION 164 CORRECT TEXT
What command can put suspended jobs into the background?
In order to append the output of ls to a file called bazz, which of the following command lines would you use?
A. ls > bazz
B. ls > & bazz
C. ls &> bazz
D. ls >> bazz
Which shell built-in command can be used to create a shortcut or pseudonym for a longer command? Assume a modern bourne-like shell, such as bash.
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
A. sed ‘s/foo/foobar/g’ file1.txt
B. sed ‘s/foo/foobar/g’ file1.txt > file1.txt
C. sed ‘s/foo/foobar/g’ file1.txt | file1.txt
D. sed -i ‘s/foo/foobar/g’ file1.txt
E. sed -i ‘s/foo/foobar/g’ file1.txt > file1.txt
When reading man pages, a lot of extra characters are shown on screen. Which of the following commands can help to deal with this problem?
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.1og?
A. cat < myapp | cat > file1.1og
B. myapp 0>&1 | cat > file1.1og
C. myapp | cat > file1.1og
D. myapp| tee file1.1og
E. tee myapp file1.1og
Which of the following commands is run last during boot on a system with quotas enabled?
Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.