共 53 条命令 · 点击右侧按钮复制命令
ping -c 4 8.8.8.8
traceroute 8.8.8.8
tcpdump -i eth0 port 80
netstat -tlnp
ss -tlnp
ip addr show
ip route show
uname -a
hostname
uptime
date
whoami
who
top
free -h
df -h
du -sh /home
ls -lah
cd /path/to
pwd
cp src dst
mv src dst
rm -rf dir
find / -name "*.log"
cat file.txt
less file.txt
head -n 10 file
tail -f /var/log/syslog
grep "text" file
sed -i "s/old/new/g" file
awk "{print $1}" file
sort file | uniq -c
ps aux | grep nginx
kill -9 PID
systemctl status nginx
systemctl restart nginx
systemctl stop nginx
systemctl enable nginx
journalctl -u nginx -f
curl https://example.com
wget URL
ssh user@host
scp file user@host:dst
rsync -avz src dst
chmod 755 file
chown user:group file
chmod +x script.sh
mount /dev/sdb1 /mnt
umount /mnt
apt update && apt upgrade -y
apt install nginx
yum update -y
yum install nginx