latest
Contents:
1. 介绍
2. 安全
3. 常用系统命令
字符串处理
进程管理
文件管理
网络和端口管理
内存管理
磁盘管理
用户管理
模块管理
其他查看系统信息的命令
网络资源访问
mail
journalctl
alias
dmesg
jar
git
random
xargs
4. 常用系统服务
5. 常用系统优化
6. 软件管理
7. 网络
8. 数据库
9. 存储
10. 监控
11. 脚本&开发
12. python
13. 云计算&虚拟化
14. kubernetes
15. 高可用&负载均衡
16. web
17. 自动化运维
18. 其他开源工具
19. 其他
20. RHCE
21. RHCA
22. alv.pub network(alvin的内网)
Poppy
Docs
»
3. 常用系统命令
Edit on GitHub
3. 常用系统命令
¶
字符串处理
awk
sed
sort
uniq
grep
cut
tail
head
wc
less
正则表达式
echo
read
seq
vim
进程管理
ps
pgrep
top
kill
pkill
strace
文件管理
ls
cp
find
which
tar
zip
unzip
img文件管理
gzip
网络和端口管理
lsof
netstst
telnet
nmap
iftop
sar
nethogs
ss
nc
内存管理
free
vmstat
磁盘管理
lsblk
fdisk
parted
df
fsck
dd
mount
umount
sync
mkswap
swapon
swapoff
iostat
du
dstat
fuser
iotop
用户管理
useradd
passwd
userdel
id
usermod
su
w
who
finger
管理系统用户(综合篇)
模块管理
lsmod
modprobe
modinfo
rmmod
其他查看系统信息的命令
uptime
date
uname
查看系统内核版本
lspci
网络资源访问
curl
wget
dig
nslookup
查看alv.pub的A记录解析
ab
host
sftp
mail
选项
查看当前系统下指定用户的邮件
安装mailx
配置mailx
发送邮件
journalctl
参数解释
Example
alias
通过alias配置一个自定义命令
dmesg
语法
实例
jar
安装软件
解压war包
打包war包。
验证修改的文件已打包到文件内容
git
将本地修改过的代码重置为上次从git上拉取的代码。
random
xargs
直接使用xargs
使用-i参数,将标准输出的内容替换为{}
使用-I参数,将前面标准输出的内容替换为我们指定的内容
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.