Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash delete file

# EXAMPLE
rm YourFileName.ext

# SYNTAX
# rm [option(s)-if-any] <your-file-name-with-extension>

# +---------+------------------------------------------------------------------+
# | 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

shell remove file

rm <file_name>
Comment

removing a file in linux

#use the command rm <file or foldername>
#for example removing a file called book
rm book
Comment

PREVIOUS NEXT
Code Example
Shell :: git take ours 
Shell :: magento installer 
Shell :: how to get out of branch git 
Shell :: git remember login 
Shell :: Cannot install windows-build-tools 
Shell :: how to use gitignore to ignore a folder 
Shell :: install gradle 
Shell :: install visual studio on ubuntu 
Shell :: git remove added file to commint 
Shell :: docker image add tag 
Shell :: reset resolv.conf 
Shell :: new branch from existing branch 
Shell :: rename local branch github 
Shell :: echo venv/ .gitignore 
Shell :: find mongodb process id 
Shell :: react-darkmode-toggler 
Shell :: run mongodb on docker linux 
Shell :: sourcetree permission denied (publickey) github mac 
Shell :: remove file history from git 
Shell :: Push First repository 
Shell :: dns benchmark arch linux 
Shell :: bash how to log in to remote server 
Shell :: how to mount device linux 
Shell :: bash switch 
Shell :: centos 7 ius-release.rpm 
Shell :: how to install image app in linux using terminal 
Shell :: replace tab sed 
Shell :: ubuntu find text in files 
Shell :: windows cmd opens and closes 
Shell :: check openvpn working 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =