Linux常用命令大全,常用命令总结

转载自joshua317博客 https://www.joshua317.com/article/14

本文只是对一些常用的命令进行汇总,具体使用方法,自行查询

1.文件及目录操作命令

touch
mkdir
rmdir
rm
vim/vi
tree
cat
tail
head
more
less
find
mv
cp
scp
cd
ls
pwd
grep
ln

2.磁盘

df
du
fdisk
mkfs
fsck
mount
umount

3.内存+cpu+I/O+进程+负载

top
vmstat
mpstat 
iostat
chkconfig
sar
free
ps
kill
killall

4.网络相关命令

ifconfig
ping
telnet
netstat
traceroute
dig
nslookup
host
hostname
route
arp
ethtool
mii-tool
service
ftp
tcpdump 
udpmt
ssh
iptables
ipfstat
wget
curl

5.系统常用命令

which
who
whoami
whereis
locate
uname
man
echo
printf
watch
alias
unalias
date
clear
history
time
nohup
xargs
exec
export
unset
type
wc
shutdown
halt
init

6.系统安全

useradd
usermod 
userdel 
groupadd
groupdel
groups
chmod
chown
chgrp
chage
passwd
su
sudo
umask
chattr

7.安装及解压缩

yum
rpm
apt-get
tar
gzip
gunzip
zip
unzip
bzip2
bunzip2
compress
uncompress 
posted @ 2021-05-12 16:37  joshua317  阅读(154)  评论(0编辑  收藏  举报