Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux delete all file in current directory

sudo rm -fr * .*
Comment

remove all files inside directory linux

# remove everything in a directory 
rm /path/to/dir/*
# remove all sub-directories and files
rm -r /path/to/dir/*
Comment

delete all files in linux

Deletes all files in current directory, including hidden

rm -rf {,.[!.],..?}*
Comment

remove all files in a directory linux

rm -rf .trash/*

//trash folder name
Comment

remove all files starting with linux

$ find . -type f -name filename* -exec rm {} ;
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu delete folder 
Shell :: open video linux terminal 
Shell :: linux make symlink 
Shell :: change or set password interactively prompt in linux 
Shell :: install bc command linux 
Shell :: stop linux service 
Shell :: repo from bitbucket to github 
Shell :: conemu git bash 
Shell :: bash get absolute path 
Shell :: test gatsby app on mobile 
Shell :: how to fork from github to bitbucket 
Shell :: python alias 
Shell :: cherry pick from another repository 
Shell :: untrack lfs file 
Shell :: expo uninstall package 
Shell :: install git linux 
Shell :: install tensorflow from source ubuntu 18.04 
Shell :: windows command cmd date 
Shell :: unity progrids git url 
Shell :: how delete wireless connection raspberry pi terminal 
Shell :: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. 
Shell :: git command 
Shell :: zsh mac vi 
Shell :: install node in nvm 
Shell :: install h5py in jetson nano 
Shell :: open jar file with command prompt 
Shell :: get tag list of image from hub using cli 
Shell :: list all files in a directory and subdirectory linux 
Shell :: Install SSSM Agent on Amazon Linux 2 
Shell :: set cmake variable commandline 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =