Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux remove folder and all his content

rm -rf /path/to/directory
Comment

linux remove folder and all his content

rm -rf /path/to/directory/*
Comment

linux remove folder and all his content

rm -rf /path/to/directory/{*,.*}
Comment

linux delete content of folder

//Deletes the folder including all its content
rm -r /path/to/directory/*
Comment

PREVIOUS NEXT
Code Example
Shell :: check packages in macos 
Shell :: git sync branches 
Shell :: RHEL check the firewall status 
Shell :: stop npm server cmd 
Shell :: linux list environment variables 
Shell :: bash for loop string array 
Shell :: how to delete particular type file recursively in linux 
Shell :: git last commit change author 
Shell :: how to run makefile in windows 
Shell :: tmux kill-session by name 
Shell :: linux count number of times word appears in file 
Shell :: vscode kali linux 
Shell :: google translate for linux 
Shell :: while loop shell script 
Shell :: wine install ubuntu 
Shell :: grep search text in folder 
Shell :: linux blackeye 
Shell :: ssh agent remember passphrase 
Shell :: how to make a .sh file executable 
Shell :: uploading a folder to github 
Shell :: vscode showing deleted branches 
Shell :: push to specific remote branch 
Shell :: ubuntu search package 
Shell :: bash split string into variables 
Shell :: how to install powerline for ubuntu 
Shell :: list only directories in linux 
Shell :: ssh without password 
Shell :: No package mongodb-org available. 
Shell :: scp with ssh key 
Shell :: git github private fatal repository not found 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =