Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux remove all from current directory

rm *
# to also delete directories
rm -r *
Comment

delete all folders except one linux

find * -maxdepth 0 -name 'b' -prune -o -exec rm -rf '{}' ';'
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell foreach 
Shell :: linux adb 
Shell :: sudo apt uninstall 
Shell :: curl ssl verify false c 
Shell :: check ram arch linux 
Shell :: set zsh as default shell 
Shell :: sudo remove folder 
Shell :: how to go to a folder in git bash 
Shell :: heroku rebuild without commit 
Shell :: npm install dev dependencies only 
Shell :: how to mount a hard drive in ubuntu 
Shell :: error: cannot run ssh: No such file or directory 
Shell :: create package in ros2 
Shell :: brew install golang-migrate 
Shell :: rails no migration with version number 
Shell :: find command in unix 
Shell :: 7zip cmd 
Shell :: linux get user id 
Shell :: add your SSH key to the ssh-agent. 
Shell :: intsall ifconfig mac os 
Shell :: linux ogg to wav 
Shell :: tar compress 
Shell :: show internet password 
Shell :: install node on ubuntu 
Shell :: bash delete files with names from subfolder 
Shell :: run shell script in dockerfile 
Shell :: ls all files including hidden powershell 
Shell :: how to pull from original repository upstream 
Shell :: chocolatey installation 
Shell :: volume buttons not working ubuntu 18.04 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =