|
|
@ -5,7 +5,7 @@ |
|
|
|
Create the files and directories so that when you use the command `ls` below the output will look like this : |
|
|
|
Create the files and directories so that when you use the command `ls` below the output will look like this : |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
|
user@host:~/make-it-better$ TZ=utc ls -l --time-style='+%F %R' | sed 1d | awk '{print $1, $6, $7, $8, $9, $10}' |
|
|
|
$ TZ=utc ls -l --time-style='+%F %R' | sed 1d | awk '{print $1, $6, $7, $8, $9, $10}' |
|
|
|
dr-------x 1986-01-05 00:00 0 |
|
|
|
dr-------x 1986-01-05 00:00 0 |
|
|
|
-r------w- 1986-11-13 00:01 1 |
|
|
|
-r------w- 1986-11-13 00:01 1 |
|
|
|
-rw----r-- 1988-03-05 00:10 2 |
|
|
|
-rw----r-- 1988-03-05 00:10 2 |
|
|
@ -17,16 +17,16 @@ lrwxrwxrwx 1990-02-16 00:11 3 -> 0 |
|
|
|
-rw----r-- 1994-05-20 10:00 8 |
|
|
|
-rw----r-- 1994-05-20 10:00 8 |
|
|
|
-r------w- 1994-06-10 10:01 9 |
|
|
|
-r------w- 1994-06-10 10:01 9 |
|
|
|
dr-------x 1995-04-10 10:10 A |
|
|
|
dr-------x 1995-04-10 10:10 A |
|
|
|
user@host:~/make-it-better$ |
|
|
|
$ |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Once it's done, use the command below to create the file `done.tar` to be submitted. |
|
|
|
Once it's done, use the command below to create the file `done.tar` to be submitted. |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
|
user@host:~/make-it-better$ tar -cf done.tar * |
|
|
|
$ tar -cf done.tar * |
|
|
|
user@host:~/make-it-better$ ls |
|
|
|
$ ls |
|
|
|
0 1 2 3 4 5 6 7 8 9 A done.tar |
|
|
|
0 1 2 3 4 5 6 7 8 9 A done.tar |
|
|
|
user@host:~/make-it-better$ |
|
|
|
$ |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
**Only `done.tar` should be submitted.** |
|
|
|
**Only `done.tar` should be submitted.** |
|
|
|