原创 0728linux基礎內容小記

~-  上一個工作目錄~+  當前工作目錄touch f{1..100} 創建名爲f1~f100的文件touch f{a..z}  創建名爲fa~fz的文件[:lower:] 任意小寫字母[:upper:] 任意大寫字母[:digit:]

原创 0722linux基礎內容小記

執行原始命令,而非別名,三種方式,例如:’ls'\ls/usr/bin/lsyum install bash-completioncp /usr/share/bash-completion/bash_completion /etc    

原创 0801linux基礎內容小記

cat > f1 << EOF  多行提交mail -s test user1 << end> nice to meet u> let's go> endll /etc/ | less 翻頁顯示ls /tmp | tee /tmp/a.lo

原创 0726linux基礎內容小記

shutdown命令-h time,在某時間關機shutdown -h 10:30 "it will be halt" &-c,cancelshutdown -c &-r,rebootshutdown -recho $[$RANDOM%80

原创 08月01日作業

練習1.創建用戶gentoo,附加組爲bin和root,默認shell爲/bin/csh ,註釋信息爲"Gentoo  Distribution"2.創建下面的用戶、組和組成員關係 名字爲 爲admins 的組 用戶natasha,使用ad