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

how to delete file using bash

rm <filename>
rm something.html
rm ./dist/something.html
Comment

PREVIOUS NEXT
Code Example
Shell :: ailure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] 
Shell :: un add file in git 
Shell :: how to install homebrew on mac 
Shell :: wordpress update core and plugins cli 
Shell :: linux whereis command 
Shell :: how to open .bin file in linux 
Shell :: ignore line format in git 
Shell :: how to install apache2 on ubuntu 20.04 
Shell :: git change master branch 
Shell :: tail -f linux last 100 lines 
Shell :: how to give permission to a user in linux on a folder 
Shell :: Recover accidentally deleted files by git reset hard 
Shell :: brew services start mongodb-community@4.4 
Shell :: gitlab ci yml example 
Shell :: ubuntu edit sources.list 
Shell :: merge child branch to parent git 
Shell :: iptables remove docker rules 
Shell :: Id field in Model Django 
Shell :: docker wget not found 
Shell :: until loop bash 
Shell :: git pull from commit 
Shell :: vlc ubuntu 
Shell :: docker compose latest version install ubuntu 
Shell :: find files size greater than 100mb in linux 
Shell :: encrypt files in linux 
Shell :: install radeon drivers ubuntu 
Shell :: bash number of elements in variable 
Shell :: bat cd to directory 
Shell :: install latex 
Shell :: Failed to bind to address http://localhost:5110 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =