If you want to open any file from terminal, you should issue command like
gnome-open ~/Downloads/photo.rar
Here, photos.rar is file I want to open in the directory ~/Downloads/.
BTW, ~is used for user's home directory. ~/Downloads/photo.rar will be interpreted like /home/USER_NAME/Downloads/photo.rar.
if you are trying to install .deb file, you should issue
sudo dpkg -i /home/ravi/avast4workstation_1.3.0-2_i386.deb
also, this can be done like this,
cd /home/ravi/
sudo dpkg -i avast4workstation_1.3.0-2_i386.deb
remember you can use cd ~ instead cd /home/ravi/.
Here FILE_NAME.sh can be any executable file.
Note: if path contains special characters like, spaces you should put it between single quote like '/home/ravi/avast4workstation 1.3.0-2 i386.deb' or you should escape special characters like /home/ravi/avast4workstation\ 1.3.0-2\ i386.deb
Hope I haven't confused you.
gnome-open FILE(replacingFILEwith the file you want to open). – MiJyn Jul 19 '12 at 2:30sudo dpkg -i avast4workstation_1.3.0-2_i386.debgo to dash and typeavastclick the link saying "Click here to obtain license key" and follow the rest of the on screen prompts – damien Jul 19 '12 at 4:54