Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove directory in linux

# REMOVE ALL FILES IN LINUX ON CURRENT PATH
find . -type f -delete

# REMOVE DIRECTORY IN LINUX ON CURRENT PATH
find . -type d -delete

# REMOVE EVERTHING IN EXISTING PATH
find . -delete
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #remove #directory #linux
ADD COMMENT
Topic
Name
5+3 =