Quote:
Originally Posted by PeterT
Rather than typing which will attempt to execute a file called Calibre in the /opt directory, I think you EITHER want to OR
|
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...