Answers for "how to delete a file in command line linux"

5

delete non empty directory cmd

rm -rf directoryname
Posted by: Guest on April-14-2020
4

remove directory from linux

rm -r filename

rm -rf filename

this command remove the directory and subdirectory forecefully
Posted by: Guest on October-04-2020
12

how to delete files in linux

rm <file> .. rm -r <file> .. r stands for recursive
Posted by: Guest on November-14-2019
0

removing a file in linux

#use the command rm <file or foldername>
#for example removing a file called book
rm book
Posted by: Guest on May-05-2021

Code answers related to "how to delete a file in command line linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language