简介 | 命令 | 命令详解 | 结果 |
软件 | apt-cache search ... | 搜索包 | |
软件 | apt-cache show | 搜索包的相关信息 | |
软件 | apt install ... | 安装软件 | |
软件 | apt-get install ... | 安装软件 | |
软件 | apt-get -f install | 修复安装 | |
软件 | apt-get --reinstall install | 重新安装 | |
软件 | apt-get remove ... | 卸载软件 | |
软件 | apt-get remove --purge ... | 卸载并清除配置 | |
软件 | apt-get update ... | 更新软件信息数据库 | |
软件 | apt-get upgrade ... | 进行系统升级 | |
软件 | apt-cache search ... | 搜索软件包 | |
软件 | dpkg -l ... | 查看软件信息 | |
软件 | dpkg -s ... | 产看软件详细信息 | |
vim/vi | set nu | 显示行号 | |
vim/vi | set mouse=a | 设置可使用鼠标 | |
文件 | cp 需要cp的文件名 cp后的命名 | 复制文件 | |
系统 | shutdown -r now | 系统重启 | |
ps -ef | grep php | |||
whereis robot | 查看robot应用的路径 | ||
文件操作 | rm *.xml *.html -f | 删除.xml和.html的文件 | |
共享文件夹 | mount -t vboxsf disk /mnt/shared/disk | ||
转载于:https://my.oschina.net/hibony/blog/686437