天天看點

晚自習練習題

1.在root目錄下實作  切換cd~   然後輸入指令ll 顯示目前檔案中的詳細資訊  檔案按照時間排序最新輸入時 ll -t  最後輸出到檔案中 ll -t test.txt

2.在root目錄檔案中建立檔案   touch abc.txt    建立使用者abc  useradd abc 為建立使用者

3.将檔案的擁有者改為abc  chown abc abc txt    檔案權限為chmod 744 abc txt

4.在root檔案中寫出ls -l并過濾出abc.txt   ls -l | grep abc.txt  每一個屬性的意義分别為 ls -l權限   |硬連結   abc為這個檔案的擁有者  root 組   時間........

繼續閱讀