rm

Updated: 04 June 2023

rm – remove files or directories.

Delete file, skip warning if file doesn’t exist

rm -f app.js

Empty a directory

rm -r /my/directory/*

Leave a comment