美文网首页
Linux command

Linux command

作者: Latupa_天空之城 | 来源:发表于2019-10-13 20:28 被阅读0次

电脑IP地址:ifconfig -a
检查文件完整性:md5sum *gz
各个文件大小:du -sh *
剩余内存:df -h /pnas/liujiang_group
每个用户使用内存:du -sh /pnas/liujiang_group
批量移动文件:mv *\/*html html
批量删除文件:find path -name "*filename" -exec rm {} \;
重新命名:find path -name "*filename" -exec rename {} "s/sam/bam/g" \;
安装deb安装包:sudo dpkg -i softwarename.deb
查看大型机CPU的使用情况:top
查看自己任务的运行情况:qstat -u wushsh
查看自己任务的运行情况:mstat -u wushsh
删除任务:qdel 1100917.clustera(Job ID)
查看文件:cat *.txt
查看文件前十行:head *.txt
查看文件前n行:head -n *.txt
查看文件后十行:tail *.txt
查看文件后n行:tail -n *.txt

相关文章

网友评论

      本文标题:Linux command

      本文链接:https://www.haomeiwen.com/subject/mpukmctx.html