Difference between revisions of "Shell/Deleting a File"

From Coder Merlin
imported>Anton-krom
 
Line 1: Line 1:
== Deleting a File ==
We can delete a file with the '''rm''' (remove) command. Let's try it:
We can delete a file with the '''rm''' (remove) command. Let's try it:



Latest revision as of 16:20, 12 December 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

We can delete a file with the rm (remove) command. Let's try it:

john-williams@codermerlin:~$  echo "Hello" > hello.txt

john-williams@codermerlin:~$  ls

john-williams@codermerlin:~$  rm hello.txt

john-williams@codermerlin:~$  ls