Deleting files
■ rm
• Warning: will delete files permanently.
• rm a
• rm a b c
• rm dir/a dir/b
• rm *
• rmdir
• Invocation like rm
• Will remove empty directories only
• rm -r
• Will recursively remove a directory and everything in it
Deleting files – rm
feel free to call us +800.241.0630 russ@russellcoder.com
Related Articles
-
-
How to Remove Directories (Folders) – Centos 7
russellc, , BASH, command line, Linux OS, terminal, 0
How to Remove Directories (Folders) To remove an empty directory use the -d option. rm -d dirname Copy To remove non-empty...
-
Relative Paths
russellc, , BASH, 0 -
-
Opening other files on Linux with Bash
russellc, , BASH, 0
Opening other files on Linux You need to have a graphical window utility installed. Linux does not offer a...
-
How do you go up one level in a directory? cd ..
russellc, , BASH, 0
type cd .. or cd by itself takes you to the users home directory.
-
Opening other files on Mac OS with Bash
russellc, , BASH, 0
Opening other files on Mac OS How to open non-text files? Mac OS: "open" • Opens the program associated...
-