how to delete files downloaded in command terminal?

8,609

I'm assuming you downloaded with your browser so Chrome and Firefox are set to download to Downloads/ by default f.e. /home/Downloads
If you downloaded with wget than either you specified location or downloaded to your current location (which you can check with pwd)

You can always use

locate <filename>

to find it's location, for example:

locate imeni
/home/<your username>/skripte/imenik
/home/<your username>/skripte/imenik/imenik

than just delete it with:

rm -f /home/<your username>/skripte/imenik/imenik
Share:
8,609
Nd Prasad
Author by

Nd Prasad

student of JNTUK 2nd B.Tech

Updated on September 18, 2022

Comments

  • Nd Prasad
    Nd Prasad over 1 year

    I downloaded some files like adobe reader,etc by using commands but these files are not compatible to my Ubuntu version.My question is where the downloaded file exists..... please answer this question.

    • saji89
      saji89 almost 11 years
      Please post the commands you used.
  • Nd Prasad
    Nd Prasad almost 11 years
    yeah i downloaded it with Firefox.