Linux-shell备忘录=>LTS
2015-12-05 20:41
567 查看
1.1 time测程序运行时间
time ./myprogram time python mypythonscript.py
1.2 软件卸载
apt-get 工具apt-get install//安装 apt-get remove //卸载步骤1 apt-get autoremove //卸载步骤2
find rm 组合暴力但有效的删除
#先看一看所在的位置 sudo find / -name "xxx" # 然后按目录删除 /home下的文档可以保留("\;"不知道是什么格式,但不能缺少) #spec_dir:/var /etc /bin 诸如此类目录 sudo find spec_dir -name "xxx" -exec rm -r {} \;
关于find 更多详情参考> http://man.linuxde.net/find
相关文章推荐
- /etc/profile、/etc/bashrc、.bash_profile和.bashrc的区别
- Linux Shell脚本编程--Linux特殊符号大全
- Linux_shell_ 进阶
- Linux_shell_ grep && awk && sed
- shell的字符串以及字符串的处理
- 1.3Xshell生成密钥方式认证连接linux服务器
- Linux_shell_正则表达式
- Curl 工具的妙用:shell中用curl实现业务监控和故障自动处理
- Ubuntu 64位下解决“bash ./没有那个文件或目录”的问题
- Linux下shell脚本启动jar包
- Linux简单的shell脚本
- Shell脚本
- Xshell 配色方案
- Linux_shell_基础
- 多重bash登入的history写入问题
- dot(.) is a synonym of `source`
- shell编程高级之正则表达式
- shell编程高级之gawk程序
- shell编程高级之sed编辑器
- shell编程高级之函数