rm - remove

rm - remove

  • -r, which removes directories, removing the contents recursively beforehand (so as not to leave files without a directory to reside in) (“recursive”) - 不會出現警告信息
  • -i, which asks for every deletion to be confirmed (“interactive”) - 在刪除前會詢問用戶是否操作
  • -f, which ignores non-existent files and overrides any confirmation prompts (“force”), although it will not remove files from a directory if the directory is write-protected. - 遞歸刪除
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章