linux - how to delete a specific file from specific folder in Ubuntu 16.04 using Terminal -
i want delete zip file using terminal dont know command purpose in ubuntu.
filename: android-studio-ide-162.3871768-linux.zip
location: /home/raza/downloads
this file want delete form location mention above.
two possibilities:
$ rm /home/raza/downloads/android-studio-ide-162.3871768-linux.zip
or:
$ unlink /home/raza/downloads/android-studio-ide-162.3871768-linux.zip
in bash
, similar shells can used ~raza
denote /home/raza
be:
$ rm ~raza/downloads/android-studio-ide-162.3871768-linux.zip
or:
$ unlink ~raza/downloads/android-studio-ide-162.3871768-linux.zip
or if logged in user raza
can use ~
alone:
$ rm ~/downloads/android-studio-ide-162.3871768-linux.zip
or:
$ unlink ~/downloads/android-studio-ide-162.3871768-linux.zip
Comments
Post a Comment