Linux delete file
Step by step how to delete file on Linux.
How to delete file on Linux system? The step by step article on Linux delete file below show an example how to delete Linux file or delete file on Linux system using the rm command..
Linux delete file example:
To start delete file on Linux system you must know the filename need to delete. The example below start from list files in current directory command and from there... we issue rm command to delete file inside the current directory.

[linux@fedora11 ~]$ ls
delete_linux.txt learn-create-directory Templates
Desktop Music Videos
Documents Pictures
Download Public
[linux@fedora11 ~]$
Now to make Linux delete file... just issue rm command and then put the filename that need to delete and hit 'Enter' key... as show on example below.

[linux@fedora11 ~]$ rm delete_linux.txt
rm: remove regular empty file `delete_linux.txt'? y
[linux@fedora11 ~]$
Note: On Linux Fedora the rm command is alias to rm='rm -i' so that the rm command prompt every time you issue the rm command to delete file.
Keywords: linux delete file, delete file command, delete file linux, delete file, delete linux file, delete file example, delete file on linux
- Add new comment
- 562 reads
- Tell your friends

Recent comments
16 weeks 5 days ago
21 weeks 10 hours ago
21 weeks 12 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
29 weeks 5 days ago
29 weeks 6 days ago
29 weeks 6 days ago