Removing a non-empty directory
It’s fine to use rmdir [dir name] for empty directories. But if you’re looking to remove a non-empty directory, you need recursion: rm -rf [dir name] Use with caution — you will not be prompted to verify!
It’s fine to use rmdir [dir name] for empty directories. But if you’re looking to remove a non-empty directory, you need recursion: rm -rf [dir name] Use with caution — you will not be prompted to verify!
Here’s the syntax for CHanging permissions or MODe — also known as chmod — for files and directories: chmod [permissions] /path/to/file/or/directory The three possible users are: file owner group of authorized users everyone else (a.k.a. “the world”) The possible actions (and associated binary values) are: 4: read 2: write 1: execute Total the values for […]