Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete all files in a folder in ubuntu

rm -rf *
Comment

ubuntu delete directory and all files

rm -rf ./test
Comment

ubuntu delete contents of folder

To remove all non-hidden files and sub-directories (along with all of their contents) in a 
directory use:
rm -r /path/to/directory/*
Comment

PREVIOUS NEXT
Code Example
Shell :: scp send file 
Shell :: navigate to drive d cmd 
Shell :: substring replacement 
Shell :: install exact version npm 
Shell :: kill linux port 
Shell :: sh declare variable 
Shell :: intall mondg brew 
Shell :: merge gif with mp4 using ffmpeg 
Shell :: start chrome linux 
Shell :: auto run command vim startup 
Shell :: grep windows 
Shell :: git reset file 
Shell :: _csv.Error: line contains NULL byte 
Shell :: how to install hashcat 
Shell :: how to install limma in r 
Shell :: clean remove npm with cache 
Shell :: fzf install 
Shell :: remove directory from git 
Shell :: Fetch all braches in git 
Shell :: linux command create folder if not exist 
Shell :: task manager linux 
Shell :: check if a port is working 
Shell :: git add submodule branch 
Shell :: install docker on windows using powershell 
Shell :: linux delete user password 
Shell :: ec2 download file 
Shell :: git username password config 
Shell :: bc sum command 
Shell :: apt install force 
Shell :: The current branch master has no upstream branch. 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =