0
点赞
收藏
分享

微信扫一扫

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

他说Python 2022-04-06 阅读 214


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

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



举报

相关推荐

0 条评论