![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小技巧
AdaWong_Corner
another blog address: http://www.cnblogs.com/adawong/
展开
-
Fatal error: cannot create 'R_TempDir'
[user@mgmt dir]$ RFatal error: cannot create 'R_TempDir'[user@mgmt dir]$ ll -ad /tmpdrwxrwxrwt. 2 root root 135168 Jun 20 19:12 /tmp[user@mgmt dir]$ df -lh /tmpFilesystem Size Used Avail Use%原创 2017-06-20 20:28:46 · 6600 阅读 · 1 评论 -
Linux 使用技巧——0001
来源:https://mp.weixin.qq.com/s/DmfpDfWpWRV3EDItDdYgXQ#配置vim#http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.html#查看当前系统版本rpm -qi centos-releaselsb_release -a#查看系统磁盘dflsblk#快速跳转命令 --- z#z 的源转载 2017-06-19 10:30:23 · 260 阅读 · 0 评论 -
linux 进阶命令___0001
查看指定目录下最大的文件#查看/var目录下前10个最大的文件#Find top 10 largest files in /var directory (subdirectories and hidden files included )tree -isafF /var | grep -v "/$" | tr '[]' ' ' | sort -k1nr | head #先不以阶梯状列出所有文件翻译 2017-09-01 16:55:53 · 309 阅读 · 0 评论 -
python2.x 与python3.x之d.keys()返回类型的区别
问题:python2.x 与python3.x之d.keys()返回类型的区别 TypeError: ‘dict_keys’ object does not support indexingtype(myTree)#dict#python2.x when d.keys() 返回list类型,可直接使用索引获取其元素myTree.keys()[0]#python3.x dict.keys() 返原创 2017-09-21 19:55:08 · 5161 阅读 · 0 评论 -
python3.x 异常之TypeError & UnicodeDecodeError
TypeError: only length-1 arrays can be converted to Python scalars while trying to exponentially fit data 问题代码:p1Vect = math.log(p1Num/p1Denom)#TypeError: only length-1 arrays can be converted to Pyt原创 2017-09-29 20:49:15 · 827 阅读 · 0 评论 -
markdown编辑器
markdown编辑器之快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl + Q插入链接 Ctrl + L插入代码 Ctrl + K插入图片 Ctrl + G提升标题 Ctrl + H有序列表 Ctrl + O无序列表 Ctrl + U横线 Ctrl + R撤销 Ctrl + Z重做原创 2017-11-01 13:18:16 · 203 阅读 · 0 评论 -
linux 基本命令___0002
参考公众号:生信媛 参考链接:每天一个linux命令(61):wget命令 参考链接:《sort帮你排序》-linux命令五分钟系列之二十六 参考链接:每天一个linux命令(34):du 命令 参考链接:shell后台进程 fg bg wait等用法 参考链接:Shell脚本之:EVAL and EXEC command文件下载: wget or curl#wget [OP原创 2017-03-23 19:26:03 · 397 阅读 · 0 评论 -
linux 进阶命令___0002
#列出重复文件,首先检查文件大小,再检查md5sumfind -not -empty -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate#翻译 2017-09-05 19:18:27 · 273 阅读 · 0 评论