- 获取你的外部 IP 地址
curl ifconfig.me
- 快速调用一个编辑器来编写一个命令
ctrl-x e
- 切换到上一次访问的目录
cd -
- 利用 Python 搭建一个简单的 Web 服务器,可通过http://$HOSTNAME:8000访问
python -m SimpleHTTPServer
- 以 root 帐户执行上一条命令
sudo !!
- 调出上次命令使用的参数
'ALT+.' or ' .'
curl ifconfig.me
ctrl-x e
cd -
python -m SimpleHTTPServer
sudo !!
'ALT+.' or ' .'
本文标题:一些特别的linux命令
本文链接:https://www.haomeiwen.com/subject/nvertttx.html
网友评论