【文件属性】:
文件名称:bash命令
文件大小:1KB
文件格式:ZIP
更新时间:2021-03-02 03:50:10
bash命令
rsync:
rsync -a --stats --progress user@remote-location.edu:/map/to/dir /Local/dir/branch
vim:
退出vim: Esc , : , q
退出并保存更改: Esc : w q
仅将r / w / x权限更改为目录中的文件夹/子文件夹,不包括文件:
sudo find /path/to/dir -type d -exec chmod 755 {} \;
grep:
grep -r 'stringToSearch' * 。 在目录中的所有文件/文件夹中搜索字符串pattern : grep -rnw '/path/to/somewhere/' -e 'pattern' 。 搜索某些命令的输出: ls -halt | grep "pattern"
virtualenv:选择py
【文件预览】:
bash-commands-master
----README.md(1KB)