Working with Linux Directories

Subscribers:
1,230
Published on ● Video Link: https://www.youtube.com/watch?v=Lk0XyAMGFY8



Duration: 15:47
28 views
1


Playing with even more commands. Here is what we do in this video.

[ec2-user@ip-172-31-87-81 ~]$ history
1 clear
2 pwd
3 cd /
4 pwd
5 ls -l
6 which ls
7 which which
8 which cd
9 which pwd
10 whoami
11 ls
12 cd ~
13 pwd
14 touch this
15 ls
16 cd /
17 pwd
18 touch that
19 sudo touch that
20 ls
21 rm that
22 sudo rm that
23 ls
24 man mkdir
25 man rmdir
26 man mv
27 man cp
28 man rm
29 man tree
30 tree
31 yum -y install tree
32 sudo yum -y install tree
33 man tree
34 pwd
35 cd ~
36 pwd
37 tree /usr/local
38 ls
39 pwd
40 tree
41 tree .
42 mkdir userlocal
43 ls
44 pwd
45 cp -pr /usr/local/* userlocal/.
46 ls
47 ls userlocal/
48 tree userlocal/
49 ls
50 mv userlocal junk
51 ls
52 tree junk
53 rm junk
54 rmdir junk
55 rm -rf junk
56 ls -ltrah
57 rm this
58 mkdir testing
59 pwd
60 ls
61 cd testing
62 cd ..
63 pwd
64 cd testing
65 pwd
66 mkdir -p this/is/a/test
67 ls
68 tree
69 mkdir {a,b,c,d,e,f}
70 ls
71 mkdir {1..500}
72 ls
73 cd ..
74 tree testing/
75 rm -rf testing/
76 tree
77 ls -ltrah
78 history