介绍一些项目中常用的linux命令,灵活运用能够提高工作效率
目录
复制命令
vnc和主机共享粘贴板
cp命令常用指南
cp -R是什么意思?
On Linux, in the GNU and BusyBox implementations of
cp
,-r
and-R
are equivalent.结论就是在linux的cp指令 -r 和-R 是相同的
cp: omitting directory错误
这是因为要复制的目录下面有子目录,需要使用 -r 选项对子目录进行递归复制
压缩和解压缩
查看是否有相关程序/指令
which
怎么快速知道指令的参数