Skip to content

Latest commit

 

History

History
490 lines (416 loc) · 6.38 KB

COMMANDS.md

File metadata and controls

490 lines (416 loc) · 6.38 KB

Некоторые команды и ключи разбираются в разных темах.

ls
ls -i
ls --help
man
man -k
info
history
!!
pwd
cd
mkdir
mkdir -p
rmdir
rm -r
ls -R
touch
ls -a
cp
cp -v
cp -i
cp -n
cp -u
cp -l
cp -r
cp -a
mv
mv -v
rm
rm -v
rm -r
rm -f
ln
ln -s
ln -v
ls -l
cat
cat -n
tac
less
head
head -
tail
tail -
tail -n
tail -f
grep
grep -n
grep -r
grep -l
grep -v
nano
vi
vim
>
>>
2>
&>
|
tee

12. bash №1: bash-completion, alias, type

alias
ls -d
type
type -a

13. bash №2: переменные

echo
env
export
$()

14. Процессы №1: Информация о процессах №1

ps
ps -e
ps -f
less -S
watch

15. Процессы №2: Информация о процессах №2

top
w
ulimit
ulimit -u
ulimit -v
nice
nice -n
renice
renice -n
htop

16. Процессы №3: Работа с процессами

kill
kill -l
kill -9
kill -SIGKILL
pkill
pkill -19
pkill -18
wc -l
exit
su
su -
su -c
sudo
sudo -s
sudoedit
visudo
visudo -f
hostname
groups
which
id
newgrp
chage
chage -l
useradd
useradd -D
useradd -b
useradd -d
useradd -c
useradd -g
useradd -G
useradd -u
passwd
usermod
usermod -m
usermod -aG
userdel
userdel -r
groupadd
groupmod
groupdel
gpasswd
gpasswd -A
gpasswd -M
gpasswd -a
gpasswd -d
lid
lid -g
stat
ls -l
chown
chown -R
chown -v
chgrp
chmod
chmod -v
chmod -R
chmod [+-=][rwxts]
umask
umask -S
getfacl
setfacl
setfacl -m
setfacl -b
uname
uname -r
du
du -h
modinfo
lscpu
lspci
lsusb
lshw
hardinfo
dmesg
dmesg -w
dmesg -H
modprobe
modprobe -r
lsmod
lsscsi
lsscsi -s
fdisk
fdisk -l
cfdisk
lsblk
iostat
mkfs
mkfs.ext4
tune2fs
tune2fs -l
lsof
lsof +D
mount
df
df -h
blkid
cut
reboot
fsck
pvcreate
pvs
pvsdisplay
vgcreate
vgs
vgdisplay
lvcreate
lvs
lvdisplay
lsblk -f
wipefs
wipefs -a
vgextend
lvextend
lvextend -r
resize2fs
lvremove
vgremove
pvremove
lvcreate -s
lvconvert
lvconvert --merge
mdadm
mdadm -D
read
read -p
if
[]
test
id -u
exit 1
&&
||
[ -o ]
[ -z ]
[ -f ]
for
select
case
tr
grep -w
while
++
--
sleep
until
grep -e
grub2-mkconfig
grub2-mkconfig -o
lsinitrd
dracut -f
systemctl
systemctl get-default
systemctl list-dependencies
systemctl set-default
systemctl cat
systemctl isolate
systemctl enable
systemctl disable
systemctl is-enabled
systemctl stop
systemctl start
systemctl restart
systemctl reload
systemctl mask
systemctl unmask
systemctl status
systemctl --all
systemctl show
journalctl
journalctl -e
journalctl -u
journalctl -f
journalctl -b
logger
logger -p
at
atq
at -l
at -c
at -f
at -r
atrm
crontab -e
crontab -l
systemd-run
du -s
sort
ls -h
ls -S
find
find -type
find -name
find -user
find -perm
find -exec
find -ls
find -ok
find -mtime
find -delete
tar
tar -c
tar -f
tar -t
tar -x
tar -C
tar -u
tar -z
tar -v
gzip
gzip -k
bzip2
bzip2 -k
date
touch -t
tar -g
tar -vv
vdo
vdo create
vdo status
vdostats
systemctl daemon-reload