View Single Post
Old 03-17-2014, 07:43 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by PeterT View Post
Rather than typing
Code:
/opt/Calibre
which will attempt to execute a file called Calibre in the /opt directory, I think you EITHER want to
Code:
cd /opt/Calibre
OR
Code:
ls /opt/Calibre
Not really, you should get this:
Code:
schwartze@ltsp22:~$ /opt/calibre
bash: /opt/calibre: Is a directory
It tests the location and attempts to execute it if it is a file.

Of course, its still a good idea to use a command on the directory, rather than just ask bash itself about it... you tend to get better failure messages...
eschwartz is offline   Reply With Quote