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 save file in linux 
Shell :: kill port 8080 windows cmd command 
Shell :: what is shell in linux 
Shell :: github actions run shell script 
Shell :: how can I use eog command in windows subsystem linux? 
Shell :: find next greater number with same digits 
Shell :: gparted 
Shell :: ubuntu xampp apache web server running 
Shell :: run artisan queue --once loop 
Shell :: git cache credentials 
Shell :: sleep until time bash 
Shell :: self documenting makefile 
Shell :: jenkins local 
Shell :: ssh secure shell client 
Shell :: yay see package files 
Shell :: view lubuntu-desktop from another computer 
Shell :: untar 
Shell :: run level to boot in gui centos 
Php :: drupal 8 show php errors settings.php 
Php :: clear composer cache 
Php :: laravel get project root 
Php :: explode comma php 
Php :: display wp shortcode by php 
Php :: remove html tags from string php 
Php :: Get the content of a specific page (by ID) 
Php :: how to check if php is connected to database 
Php :: get the string after a character in php 
Php :: php foreach reverse 
Php :: laravel check if array is empty 
Php :: php remove non numeric 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =