随笔分类 - linux基础四
摘要:#!/bin/bash # #********************************************** #Author: lanfeng #QQ: 447320311 #Date: 2020-07-12 #FileName: createuser.sh #Version: 1.1
阅读全文
摘要:autocmd BufNewFile *.sh exec ":call SetTitle()" func SetTitle() if expand("%:e") == 'sh' call setline(1,"#!/bin/bash") call setline(2,"#") call setlin
阅读全文
摘要:w -h|tr -s " "|cut -d " " -f3|sort|uniq -c|sort -nr
阅读全文
摘要:[root@centos7 data]#grep -v "/sbin/nologin" /etc/passwd root:x:0:0:root:/root:/bin/bash sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:
阅读全文
摘要:cut -d: -f1,3,7 /etc/passwd |sort -t: -k2 -n | tail -1
阅读全文

浙公网安备 33010602011771号