Question: Need Help with Linux!! 5.1) a) Please fill the blan k below so that ls command, with proper options, will display the files under the
Need Help with Linux!!
5.1) a) Please fill the blank below so that ls command, with proper options, will display the files under the root directory, /, without the group and owner information. The last two lines of the output should be the same as the ones provided below. (hint: you need to use man ls to find the proper options for ls commander)
$ ls -l / | tail -2
drwxr-xr-x 10 root root 4096 2014-08-14 usr
drwxr-xr-x 14 root root 4096 2015-01-08 var
$
$ ls _________________________ / | tail -2
drwxr-xr-x 10 4096 2014-08-14 usr
drwxr-xr-x 14 4096 2015-01-08 var
$
5.1) b) Please provide the screenshot of the command you used and the output below
5.2) a) Please fill the blank below so that find command, with proper options, will display all the html files that have been updated in last 30 days under your home directory. The command should display at least one index.html document.
$ find _________________________________________________
5.2) b) Please provide the screenshot of the command you used and the output below
5.3) a) Please fill the blank below so that last command, with proper options, will display the full login IDs and clean IP addresses as shown below:
$ last | grep "Apr 12" | head -2
cfs264sp pts/4 174-20-134-178.m Thu Apr 12 23:28 - 04:40 (05:11)
cfs264sp pts/3 c-68-46-14-55.hs Thu Apr 12 22:41 - 00:52 (02:11)
$
$ last ________________________________ | grep Apr 12 | head -2
cfs264sp1827 pts/4 174.20.134.178 Thu Apr 12 23:28 - 04:40 (05:11)
cfs264sp1826 pts/3 68.46.14.55 Thu Apr 12 22:41 - 00:52 (02:11)
$
5.3) b) Please provide the screenshot of the command you used and the output below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
