1 |
uname -a |
2 |
lsb_release -a |
3 |
clear |
4 |
cat /etc/SuSE-release |
5 |
man hier |
6 |
wall Привет |
7 |
date |
8 |
cal -3 |
9 |
uptime |
10 |
hostname |
11 |
whois linux.org |
12 |
export http_proxy=http://your.proxy:port |
13 |
wget --convert-links -r http://www.linux.org/ |
14 |
wget http://itshaman.ru/images/logo_white.png |
15 |
pppconfig |
16 |
pppoeconf |
17 |
history | tail -50 |
18 |
exit |
19 |
passwd |
20 |
shutdown -h now |
21 |
poweroff |
22 |
reboot |
23 |
last reboot |
24 |
winecfg |
25 |
host itshaman.ru |
26 |
pwd |
27 |
ls |
28 |
ls -laX |
29 |
cd |
30 |
cd /home |
31 |
touch /home/primer2 |
32 |
tail /var/log/messages |
33 |
cat /home/primer2 |
34 |
nano /home/primer2 |
35 |
gedit /home/primer2 |
36 |
sudo tee -a /home/primer2 |
37 |
cp /home/user1/primer.txt /home/primer.txt |
38 |
mkdir /home/user1/shaman |
39 |
rmdir /home/student/shaman |
40 |
rm -rf /home/Mut@nt/shaman |
41 |
ln -s /home/Mutant/primer.txt /home/primer |
42 |
cp -la /dir1 /dir2 |
43 |
mv /dir1 /dir2 |
44 |
du -sh /home/Muser/ |
45 |
locate primer |
46 |
chmod 0777 /home/ |
47 |
chown User:ITShaman /home/primer.txt |
48 |
chmod -R 0777 /home/ |
49 |
chown -R Mut@NT /home/ |
50 |
tar cf primer.tar /home/primer.txt |
51 |
tar cjf primer.tar.bz2 /home/primer.txt |
52 |
tar czf primer.tar.gz /home/primer.txt |
53 |
tar xf primer.tar |
54 |
tar xjf primer.tar.bz |
55 |
tar xzf primer.tar.gz |
56 |
rpm -qa |
57 |
dpkg -l |more |
58 |
apt-cache search имя пакета |
59 |
apt-cache showpkg имя пакета |
60 |
rpm -i pkgname.rpm |
61 |
dpkg -i *.rpm |
62 |
rpm -e pkgname |
63 |
apt-get update |
64 |
apt-get upgrade |
65 |
dpkg -i *.deb |
66 |
apt-get install pkgname |
67 |
apt-get remove pkgname |
68 |
top |
69 |
htop |
70 |
dmesg |
71 |
mpstat 1 |
72 |
iostat 2 |
73 |
vmstat 2 |
74 |
lsdev |
75 |
cat /proc/cpuinfo |
76 |
cat /proc/meminfo |
77 |
watch -n1 'cat /proc/interrupts' |
78 |
grep SwapTotal /proc/meminfo |
79 |
free -m |
80 |
lshal |
81 |
lspci -tv |
82 |
cat /proc/devices |
83 |
lsusb -tv |
84 |
dmidecode |
85 |
gtf 1024 |
86 |
fdisk -l |
87 |
smartctl -a /dev/sda1 |
88 |
hdparm -I /dev/sda |
89 |
blkid |
90 |
hdparm -tT /dev/sda |
91 |
mount | column -t |
92 |
cat /proc/partitions |
93 |
df |
94 |
mount /dev/sda1 /mnt |
95 |
mount -t auto /dev/cdrom /mnt/cdrom |
96 |
mount /dev/hdc -t iso9660 -r /cdrom |
97 |
mount /dev/scd0 -t iso9660 -r /cdrom |
98 |
mount -t ufs -o ufstype=ufs2,ro /dev/sda3 /mnt |
99 |
mount -t iso9660 -o loop /home/file.iso /home/iso |
100 |
mount -t smbfs -o username=vasja,password=pupkin //pup/Video |
101 |
mount /dev/sdb1 -t vfat -o rw /mnt |
102 |
umount /mnt |
103 |
ifconfig |
104 |
ifconfig eth0 |
105 |
ethtool eth0 |
106 |
ethtool -s eth0 speed 100 duplex full autoneg off |
107 |
ifconfig eth0 192.168.50.254 netmask 255.255.255.0 |
108 |
ip addr add 192.168.50.254/24 dev eth0 |
109 |
ifconfig eth0:0 192.168.51.254 netmask 255.255.255.0 |
110 |
ip addr add 10.75.30.20/24 dev eth0 label eth0:1 |
111 |
ifconfig eth0 up |
112 |
ifconfig eth0 down |
113 |
ifconfig eth0 hw ether 172.16.36.10 |
114 |
/etc/init.d/dhcpd restart |
115 |
ping 192.168.0.2 |
116 |
route -n |
117 |
netstat -rn |
118 |
lsof -i |
119 |
netstat -an | grep listen |
120 |
netstat -tup |
121 |
socklist |
122 |
netstat -anp --udp --tcp | grep listen |
123 |
iptables -P Input accept |
124 |
iptables -P Forward |
125 |
iptables -P Output |
126 |
iptables -L -n -v |
127 |
iptables -X |
128 |
iptables -t nat -A Prerouting -p tcp |
129 |
iptables -L -t nat |
130 |
dd if=/dev/hdc of=/tmp/mycd.iso bs=2048 conv=notrunc |
131 |
id |
132 |
finger user |
133 |
last |
134 |
who |
135 |
useradd Mut@NT |
136 |
groupadd Otus |
137 |
usermod -a -G Otus user |
138 |
groupmod -A Mut@NT Otus |
139 |
userdel user |
140 |
groupdel Otus |
141 |
ps axjf |
142 |
pgrep -l sshd |
143 |
fuser -va 22/tcp |
144 |
echo $$ |
145 |
fuser -va /home |
146 |
lsof /home |
147 |
killall 0 httpd |
148 |
kil 4712 |
149 |
killall Term 4711 |
150 |
killall HUP httpd |
151 |
fuser -k -TERM -m /home |
152 |
sysv-rc-conf |
153 |
chkconfig --list |
154 |
chkconfig --list udev |
155 |
update-rc.d udev defaults |
156 |
chkconfig udev off |
157 |
update-rc.d -f udev remove |
158 |
chkconfig udev --level 35 on |
159 |
update-rc.d udev start 20 2 3 4 5 |
160 |
uname -a |
161 |
lsmod |
162 |
modprobe isdn |
163 |
make |
164 |
make modules_install |
165 |
make modules |
166 |
make install |
167 |
chroot /mnt |
168 |
iconv -l |
169 |
convert name.pdf name-%03d.jpg |
170 |
convert *.jpeg name.pdf |
171 |
mencoder -o videoout.avi -oac mp3lame -ovc lavc |
172 |
cdparanoia -B |
173 |
oggenc in.wav -b 256 out.ogg |
174 |
export Printer=lbp2900 |
175 |
lprm - |
176 |
lpr #2 name.txt |
177 |
/etc/gshadow |
178 |
/usr/share/doc/ |
179 |
/usr/local/bin/maildebug |
180 |
/etc/nsswitch.conf |
181 |
/etc/color_ls.sh |
182 |
apt-get dist-upgrade |
183 |
apt-get update |
184 |
etc/apt/sources.list.d/alt.list |
185 |
apt-get install alterator-net-domain |
186 |
/var/lib/rpm |
187 |
mount -t ext4 -o relatime /dev/sda2 /home |
188 |
/etc/fstab |
189 |
cat /etc/hosts |
190 |
apt-get install bind-utils |
191 |
systemctl status dhcpd |
192 |
control su restricted |
193 |
control su public |
194 |
sudo timedatectl set-timezone Asia/Chita |
195 |
cd /usr/lib/cups/filter |
196 |
cd /etc/passwd |
197 |
cd /var/log/journal |
198 |
cd /var/log/cups |
199 |
cd /var/lib/rpm |
200 |
cd /sys/class/net |
201 |
cd /etc/tcb/user |
202 |
Xephyr -resizeable :1 & |
203 |
pkill icewm-session |
204 |
cat /lib/systemd/system/sshd.service |
205 |
systemctl cat ssdd |
206 |
systemctl set-default multi-user.target |
207 |
systemctl | grep 'pattern' |
208 |
systemctl enable sshd |
209 |
systemctl start sshd |
210 |
systemctl unmask sshd |
211 |
apt-repo list -a |
212 |
apt-repo rm sisyphus |
213 |
cat /proc/mdstat |
214 |
fdisk -l /dev/sda |
215 |
grub-install /dev/sda |
216 |
grub-mkconfig -o /boot/grub/grub.cfg |
217 |
ln -s /home/user/1 softlink |
218 |
apt-get update |
219 |
apt-get install connector |
220 |
systemctl enable xrdp xrdp-sesman |
221 |
apt-get install NetworkManager-tui |
222 |
apt-get install bind-utils |
223 |
cat /etc/pam.d/login |
224 |
vi /etc/apt/sources.list |
225 |
cd /etc/apt/sources.list.d/ |
226 |
vi /etc/default/grub |
227 |
vi /etc/fstab |
228 |
vi /etc/group |
229 |
vi /etc/hosts |
230 |
cd /etc/net/ifaces/ |
231 |
vi /etc/nsswitch.conf |
232 |
cd /etc/pam.d |
233 |
vi /etc/passwd |
234 |
vi /etc/resolv.conf |
235 |
vi /etc/syslog.conf |
236 |
vi /etc/tcb/user/shedow |
237 |
cd /usr/lib/cups/backend |
238 |
cd /usr/lib/cups/filter |
239 |
cd /usr/share/cups/model |
240 |
cd /usr/share/doc/ |
241 |
cd /usr/share/icons/ |
242 |
cd /var/lib/apt/lists |
243 |
cd /var/lib/rpm |
244 |
cat /var/log/cups/access_log |
245 |
cat /var/log/cups/error_log |
246 |
cat /etc/samba/smb.conf |
Комментарии