0% found this document useful (0 votes)
11 views4 pages

Filter Commands in Linux

The document is a log of command-line operations executed in a Unix-like environment. It includes commands for navigating directories, managing files, checking system information, and editing configuration files. The user performs various tasks such as creating directories, copying files, and installing packages, while also utilizing commands for system monitoring and file searching.

Uploaded by

mawociy157
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Filter Commands in Linux

The document is a log of command-line operations executed in a Unix-like environment. It includes commands for navigating directories, managing files, checking system information, and editing configuration files. The user performs various tasks such as creating directories, copying files, and installing packages, while also utilizing commands for system monitoring and file searching.

Uploaded by

mawociy157
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

1 whoami

2 exit
3 clear
4 whoami
5 ls
6 pwd
7 ls
8 cd /
9 pwd
10 ls
11 cd
12 pwd
13 whoami
14 clear
15 cd /
16 pwd
17 ls
18 cd /bin
19 ls
20 clear
21 cd /sbin/
22 ls
23 clear
24 cd /etc/
25 ls
26 cd /tmp/
27 l
28 ls
29 cd /boot/
30 ls
31 cd ..
32 cd grub2/
33 cd /boot/
34 cd grub
35 ls
36 cd ..
37 clear
38 cd
39 cd /proc/
40 ls
41 uptime
42 free -m
43 whoami
44 exit
45 clear
46 pwd
47 ls
48 cat anaconda-ks.cfg
49 clear
50 ls
51 vim anaconda-ks.cfg
52 pwd
53 ls -l
54 mkdir devopsdir
55 ls -l
56 file anaconda-ks.cfg
57 cd /bin
58 ls -l
59 file yum
60 file /bin/pwd
61 cd
62 clear
63 ls -l
64 file devopsdir
65 cd /dev/
66 ls -l
67 cd
68 clear
69 pwd
70 ls
71 mkdir /opt/dev/ops/devops/test
72 mkdir -p /opt/dev/ops/devops/test
73 mkdir /opt/dev/ops/devops/test
74 vim /opt/dev/ops/devops/test/commands.txt
75 ln -s /opt/dev/ops/devops/test/commands.txt cmds
76 ls -l
77 cat cmds
78 mv /opt/dev/ops/devops/test/commands.txt /tmp/
79 ls -l
80 mv /tmp/commands.txt /opt/dev/ops/devops/test/commands.txt
81 ls -l
82 clear
83 ls -l
84 unlink cmds
85 ls -l
86 ln -s /opt/dev/ops/devops/test/commands.txt
87 ls -l
88 ls -lt
89 ls -ltr
90 ls -ltr /etc/
91 vim /etc/hostname
92 hostname centos7.devops.in
93 ls
94 clear
95 grep firewall anaconda-ks.cfg
96 grep Firewall anaconda-ks.cfg
97 grep i- Firewall anaconda-ks.cfg
98 grep -i Firewall anaconda-ks.cfg
99 vim anaconda-ks.cfg
100 grep -i Firewall anaconda-ks.cfg
101 grep -i Firewall < anaconda-ks.cfg
102 grep -i Firewall ls
103 ls
104 grep -i firewall *
105 clear
106 grep -iR firewall *
107 cp anaconda-ks.cfg
108 cp anaconda-ks.cfg devopsdir/mybootingfile.cfg
109 grep -iR firewall *
110 clear
111 grep -R SELINUX /etc/*
112 vim /etc/selinux/config
113 vim /etc/selinux/config
114 vim /etc/selinux/config
115 vim /etc/selinux/config
116 vim /etc/selinux/config
117 clear
118 grep -vi firewall anaconda-ks.cfg
119 clear
120 more anaconda-ks.cfg
121 clear
122 head -20 anaconda-ks.cfg
123 head -2 anaconda-ks.cfg
124 clear
125 tail -15 anaconda-ks.cfg
126 tail -f anaconda-ks.cfg
127 whoami
128 clear
129 cd var/log/
130 ls
131 cd /var/log/
132 ls
133 tail -f yum.logexitexit2RR0;10;1cvsual"visl"
134 :q
135 exit
136 OB
137 exit
138 ge
139 ls
140 exit
141 ls
142 clear
143 whoami
144 tail -f anaconda-ks.cfg
145 ls
146 grep Firewall anaconda-ks.cfg
147 clear
148 ls
149 clear
150 ls
151 uptime
152 cat /etc/passwd
153 clear
154 uptime > /tmp/sysinfo.txt
155 cat /tmp/sysinfo.txt
156 ls
157 ls > /tmp/sysinfo.txt
158 cat /tmp/sysinfo.txt
159 uptime >> /tmp/sysinfo.txt
160 cat /tmp/sysinfo.txt
161 clear
162 uptime
163 free -m
164 df -h
165 echo "Good Morning"
166 echo "##############################################" > /tmp/sysinfo.txt
167 date > /tmp/sysinfo.txt
168 echo "##################################" >> /tmp/sysinfo.txt
169 uptime >> /tmp/sysinfo.txt
170 echo "########################################" >> /tmp/sysinfo.txt
171 free -m >> /tmp/sysinfo.txt
172 echo "############################################" >> /tmp/sysinfo.txt
173 df -h >> /tmp/sysinfo.txt
174 echo "###############################################" /tmp/sysinfo.txt
175 cat /tmp/sysinfo.txt
176 clear
177 yum install vim -y > /dev/null
178 cat /dev/null
179 cat /tmp/sysinfo.txt
180 cat /dev/null > /tmp/sysinfo.txt
181 cat /tmp/sysinfo.txt
182 clear
183 free -m > /dev/null
184 freeee -m > /dev/null
185 freeee -m 2>> /tmp//error.log
186 cat /tmp/error.log
187 free -m 1>> /tmp//error.log
188 cat /tmp/error.log
189 free -m &>> /tmp//error.log
190 freesdsd -m &>> /tmp//error.log
191 cat /tmp/error.log
192 cd /var/log/
193 ls
194 clear
195 wc -l /etc/passwd
196 wc -l < /etc/passwd
197 clear
198 cd /etc/
199 ls
200 clear
201 ls | wc -1
202 ls | wc -1
203 ls | wc --1
204 wc --help
205 ls | wc -l
206 clear
207 ls | grep host
208 tail /var/log/messages | grep -i vagrant
209 tail -20 /var/log/messages | grep -i vagrant
210 free -m
211 free -m | grep Mem
212 ls -l |tail
213 ls -l |head
214 clear
215 cd
216 find /etc -name host*
217 find / -name host*
218 locate
219 yum install mlocate -y
220 clear
221 yum install mlocate -y
222 clear
223 updatedb
224 locate host
225 clear
226 history

You might also like