![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| In ksh shell command - Print "-ABC" is giving error | sagarjani | Shell Programming and Scripting | 2 | 10-08-2008 05:32 PM |
| Cron job giving error while running SSH command | visingha | Shell Programming and Scripting | 3 | 09-13-2008 09:07 PM |
| script giving error | Shahul | UNIX for Advanced & Expert Users | 2 | 08-29-2008 01:36 PM |
| mv command is giving error in shell script | gammit | Shell Programming and Scripting | 5 | 12-13-2007 03:56 AM |
| /dev/rStp0 giving error | workingstiff | UNIX for Dummies Questions & Answers | 1 | 10-29-2002 06:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
acroread command giving error
Hi,
When I run the command acroread it is giving error ERROR: Cannot find installation directory. When I look at /usr/local/Adobe/Acrobat7.0/bin/ an exicutable file named acroread is there. When i run ./acroread from that directory it is working . What can i do so that I can give acroread command from anywhere . Can aliases help? |
|
||||
|
Thanks for the quick reply.
On " which acroread " command the following is displayed. /sbin/acroread I checked /sbin/acroread file it was a shell script. Not an exicutable. Then I renamed that file to acroread1 and create a soft link to the exicutable I mentioned earlier in /sbin. ln -s /usr/local/Adobe/Acrobat7.0/bin/acroread /sbin/acroread Then I typed acroread command but the error returned was same. Can I use aliases. Some thing like alias acroread= .//usr/local/Adobe/Acrobat7.0/bin/acroread I am not sure about the syntax. But will this help? |
|
|||||
|
so, if you run the program from within its own directory it works fine? but run from anywhere else, it fails? That is probably why there is a shell script to start it, but why put it in /sbin/ which is normally only in root users path, not a normal user.
You could create a new shell script which switches to the acroread bin directory, then runs the binary fromn there |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|