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 :: how to update forked repo in github 
Shell :: portainer ce install 
Shell :: upgrade python using choco (win 10) 
Shell :: npm install in dev mode 
Shell :: nvm remove node version 
Shell :: install scrollmagic npm 
Shell :: curl head request 
Shell :: git remote using ssh 
Shell :: windows 10 path to wsl 
Shell :: Uninstall Applications in ubuntu through the Command Line 
Shell :: change current branch git 
Shell :: list groups of an user linux 
Shell :: git squash last 2 commits 
Shell :: postgresql cli first time 
Shell :: lib cairo win64 installation 
Shell :: debian search entire system for file 
Shell :: installing snap store 
Shell :: install brew max 
Shell :: git set editor 
Shell :: install brave browser in ubuntu 
Shell :: remove commit not pushed 
Shell :: unix cp all files and folders at once 
Shell :: xampp ubuntu 
Shell :: get additional parameters linux scripting 
Shell :: uninstall all nuget packages 
Shell :: sudo rm rf command 
Shell :: how to add proxy to your command line linux 
Shell :: leiningen install windows 
Shell :: command to create or change a password for a user 
Shell :: bash print output to one line 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =