Question: Need help to answer those questions? 1. What command obtains information about the ps utility? 2. What command sorts the contents of all files in
Need help to answer those questions?
1. What command obtains information about the ps utility?
2. What command sorts the contents of all files in the current directory with names beginning with the letter f?
3. What command creates a new file called all consisting of the lines in the files file1, file2, and file3?
4. Explain what the following command lines accomplish (explain means explain the command.I am not looking for the output you get from eve when you attempt to execute the command):
a. $grep 'Linux is fun' *
b. $sort > file4
c. $grep $USER /etc/passwd
d. $echo \$PATH $PATH
e.$grep '1 2 3' f*
5. What will be the content of file1 after the following command? Explain why?
$echo $USER $HOME > file1
6. Explain what the following command is attempting to accomplish?
$grep sometext *
7. whatever directory you are presently in is know as
a. current working directory
b. home directory
c. the bin
d. child directory
e. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
