Deleting Files

Question

What is the terminal command for deleting files / folders ?

Answer

In the Terminal, first go to parent folder containing the file / folder that you want to delete. Then, type the following command in the terminal :

rm -r name_of_file

Here, you replace the name_of_file with the name of the file / folder that you want to delete.

Advertisements
Published in: on April 12, 2008 at 1:41 am  Leave a Comment  

The URI to TrackBack this entry is: https://ubuntuissues.wordpress.com/2008/04/12/deleting-files/trackback/

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: