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
- 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.
- 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?
- What command would you use to display the contents of file samplescript?
- What does the head command do? The tail command?
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started