Курс
Команды
Некоторые команды и ключи разбираются в разных темах.
1
ls
2
ls -i
3
ls --help
4
man
5
man -k
6
info
7
history
8
!!
Copied!
1
pwd
2
cd
3
mkdir
4
mkdir -p
5
rmdir
6
rm -r
7
ls -R
Copied!
1
touch
2
ls -a
3
cp
4
cp -v
5
cp -i
6
cp -n
7
cp -u
8
cp -l
9
cp -r
10
cp -a
Copied!
1
mv
2
mv -v
3
rm
4
rm -v
5
rm -r
6
rm -f
7
ln
8
ln -s
9
ln -v
10
ls -l
Copied!
1
cat
2
cat -n
3
tac
4
less
5
head
6
head -
7
tail
8
tail -
9
tail -n
10
tail -f
11
grep
12
grep -n
13
grep -r
14
grep -l
15
grep -v
Copied!
1
nano
2
vi
3
vim
Copied!
1
>
2
>>
3
2>
4
&>
5
|
6
tee
Copied!
1
alias
2
ls -d
3
type
4
type -a
Copied!
1
echo
2
env
3
export
4
$()
Copied!
1
ps
2
ps -e
3
ps -f
4
less -S
5
watch
Copied!
1
top
2
w
3
ulimit
4
ulimit -u
5
ulimit -v
6
nice
7
nice -n
8
renice
9
renice -n
10
htop
Copied!
1
kill
2
kill -l
3
kill -9
4
kill -SIGKILL
5
pkill
6
pkill -19
7
pkill -18
Copied!
17. su
1
wc -l
2
exit
3
su
4
su -
5
su -c
Copied!
18. sudo
1
sudo
2
sudo -s
3
sudoedit
4
visudo
5
visudo -f
6
hostname
7
groups
8
which
Copied!
1
id
2
newgrp
3
chage
4
chage -l
5
useradd
6
useradd -D
7
useradd -b
8
useradd -d
9
useradd -c
10
useradd -g
11
useradd -G
12
useradd -u
13
passwd
14
usermod
15
usermod -m
16
usermod -aG
17
userdel
18
userdel -r
19
groupadd
20
groupmod
21
groupdel
22
gpasswd
23
gpasswd -A
24
gpasswd -M
25
gpasswd -a
26
gpasswd -d
27
lid
28
lid -g
Copied!
1
stat
2
ls -l
3
chown
4
chown -R
5
chown -v
6
chgrp
7
chmod
8
chmod -v
9
chmod -R
10
chmod [+-=][rwxts]
11
umask
12
umask -S
13
getfacl
14
setfacl
15
setfacl -m
16
setfacl -b
Copied!
1
uname
2
uname -r
3
du
4
du -h
5
modinfo
6
lscpu
7
lspci
8
lsusb
9
lshw
10
hardinfo
11
dmesg
12
dmesg -w
13
dmesg -H
14
modprobe
15
modprobe -r
16
lsmod
Copied!
1
lsscsi
2
lsscsi -s
3
fdisk
4
fdisk -l
5
cfdisk
6
lsblk
Copied!
1
iostat
Copied!
1
mkfs
2
mkfs.ext4
3
tune2fs
4
tune2fs -l
5
lsof
6
lsof +D
7
mount
8
df
9
df -h
10
blkid
11
cut
12
reboot
13
fsck
Copied!
1
pvcreate
2
pvs
3
pvsdisplay
4
vgcreate
5
vgs
6
vgdisplay
7
lvcreate
8
lvs
9
lvdisplay
10
lsblk -f
11
wipefs
12
wipefs -a
13
vgextend
14
lvextend
15
lvextend -r
16
resize2fs
17
lvremove
18
vgremove
19
pvremove
20
lvcreate -s
21
lvconvert
22
lvconvert --merge
Copied!
1
mdadm
2
mdadm -D
Copied!
1
read
2
read -p
Copied!
1
if
2
[]
3
test
Copied!
1
id -u
2
exit 1
3
&&
4
||
5
[ -o ]
6
[ -z ]
7
[ -f ]
Copied!
1
for
2
select
3
case
Copied!
1
tr
2
grep -w
Copied!
1
while
2
++
3
--
4
sleep
5
until
Copied!
1
grep -e
2
grub2-mkconfig
3
grub2-mkconfig -o
4
lsinitrd
5
dracut -f
Copied!
1
systemctl
2
systemctl get-default
3
systemctl list-dependencies
4
systemctl set-default
5
systemctl cat
6
systemctl isolate
7
systemctl enable
8
systemctl disable
9
systemctl is-enabled
Copied!
1
systemctl stop
2
systemctl start
3
systemctl restart
4
systemctl reload
5
systemctl mask
6
systemctl unmask
7
systemctl status
8
systemctl --all
9
systemctl show
Copied!
1
journalctl
2
journalctl -e
3
journalctl -u
4
journalctl -f
5
journalctl -b
6
logger
7
logger -p
Copied!
1
at
2
atq
3
at -l
4
at -c
5
at -f
6
at -r
7
atrm
8
crontab -e
9
crontab -l
10
systemd-run
Copied!
1
du -s
2
sort
3
ls -h
4
ls -S
5
find
6
find -type
7
find -name
8
find -user
9
find -perm
10
find -exec
11
find -ls
12
find -ok
13
find -mtime
14
find -delete
15
tar
16
tar -c
17
tar -f
18
tar -t
19
tar -x
20
tar -C
21
tar -u
22
tar -z
23
tar -v
24
gzip
25
gzip -k
26
bzip2
27
bzip2 -k
28
date
29
touch -t
Copied!
1
tar -g
2
tar -vv
Copied!
1
vdo
2
vdo create
3
vdo status
4
vdostats
Copied!
Last modified 8d ago
Export as PDF
Copy link