Question: Unix Op System I After issuing the command ls l you see the following: rbass@Titan:~$ ls -l total 12 -rw-rw-rw- 1 rbass rbass 25 Jan

Unix Op System I

  1. After issuing the command ls l you see the following:

rbass@Titan:~$ ls -l

total 12

-rw-rw-rw- 1 rbass rbass 25 Jan 31 2019 callmenu.py

-rw-rw-rw- 1 rbass rbass 307 Jun 16 04:43 echoout

lrwxrwxrwx 1 rbass rbass 5 Aug 9 03:18 jlink -> junk6

-rw-rw-rw- 2 rbass rbass 797 Aug 3 08:12 junk6

-rwxrw-rw- 1 rbass rbass 497 Jan 31 2019 samplescript

drwxrwxrwx 1 rbass rbass 4096 Jun 20 13:57 two

  • Identify the file type for each line shown above.

  1. After issuing the command ls al you see the following:

rbass@Titan:~$ ls -al

total 28

drwxr-xr-x 1 rbass rbass 4096 Aug 9 03:18 .

drwxr-xr-x 1 root root 4096 Jan 31 2019 ..

-rw------- 1 rbass rbass 1761 Aug 14 05:09 .bash_history

-rw-r--r-- 1 rbass rbass 220 Jan 31 2019 .bash_logout

-rw-r--r-- 1 rbass rbass 3771 Jan 31 2019 .bashrc

drwxrwxrwx 1 rbass rbass 4096 Jan 31 2019 .local

-rw-r--r-- 1 rbass rbass 810 Jan 31 2019 .profile

-rw-r--r-- 1 rbass rbass 0 Jan 31 2019 .sudo_as_admin_successful

-rw------- 1 rbass rbass 874 Jan 31 2019 .viminfo

-rw-rw-rw- 1 rbass rbass 25 Jan 31 2019 callmenu.py

-rw-rw-rw- 1 rbass rbass 307 Jun 16 04:43 echoout

lrwxrwxrwx 1 rbass rbass 5 Aug 9 03:18 jlink -> junk6

-rw-rw-rw- 2 rbass rbass 797 Aug 3 08:12 junk6

-rwxrw-rw- 1 rbass rbass 497 Jan 31 2019 samplescript

drwxrwxrwx 1 rbass rbass 4096 Jun 20 13:57 two

  • What types of files are shown in addition to what was shown in question 1?

  1. What command would you use to display the contents of file samplescript?

  1. What does the head command do? The tail command?

  1. What is meant by the expression less is more when applied to the use of the Linux commands more and less.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!