Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash remove directory

rm -rf directory-name
Comment

bash remove directory

# EXAMPLE
rm -r YourFolderName

# SYNTAX
# rm [option(s)-if-any] <folder(s)-to-remove-including-contents>

# +---------+------------------------------------------------------------------+
# | OPTIONS |  DESCRIPTION                                                     |
# +---------+------------------------------------------------------------------+
# |   -f    |  Force: ignore nonexistent files, never prompt                   |
# |   -i    |  Interactive: prompt before every removal                        |
# |   -I    |  Interactive: only prompt before removing more than three files  |
# |   -r    |  Recursive: remove directories and their contents recursively    |
# |   -v    |  Verbose:  explain what is being done                            |
# +---------+------------------------------------------------------------------+
Comment

delete a directory bash script

rmdir dirname
Comment

PREVIOUS NEXT
Code Example
Shell :: install haskell stack 
Shell :: adb shell proxy 
Shell :: fetch all tags git 
Shell :: bash create symlinks 
Shell :: stop minecraft server command line 
Shell :: youtube dl download playlist by index 
Shell :: how to transfer a folder from ubuntu to ubuntu 
Shell :: Créer un installateur Windows 
Shell :: git tls certificate verification has been disabled 
Shell :: how to unstash git stash 
Shell :: git check staged changes 
Shell :: how to add an existing project to github 
Shell :: adonis js make seeder 
Shell :: linux check ip address command 
Shell :: ubuntu rename user login 
Shell :: how to copy file using ssh from computer to server 
Shell :: connect emulator to localhost 
Shell :: kill all process at port 
Shell :: install samba on raspberry pi 
Shell :: get branch from origin 
Shell :: * branch master - FETCH_HEAD 
Shell :: how to do change permissions partition in linux 
Shell :: renew ssl certbot nginx 
Shell :: tcpdump get dhcp packets 
Shell :: react native run android shows deprecated items 
Shell :: allow localhose wsl2 
Shell :: Error: .ini file does not include supervisorctl section 
Shell :: git blame before specific commit 
Shell :: linux sort by file size 
Shell :: pinterest clone github 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =