Skip to main content
Contents Index
Search Book
Search Results:
No results.
Readability settings Prev Up Next
\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 14.6 Remove a File
The command
rm removes (deletes) a file.
CAUTION :
rm does not check whether you actually mean to remove a file... It’ll simply go ahead and do so.
Activity 14.7 .
In the Linux window
below , change into the directory
~/engs20 (from your home directory, type
cd engs20). Then, type
ls. Now, delete the file "toBeDeleted.txt" by typing
rm toBeDeleted.txt. Type
ls and observe that the file is now gone.
There must be a waste basket somewhere? Where is the trash folder? Where did the file "toBeDeleted.txt" go?