LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a faster way of starting amsn? (https://www.linuxquestions.org/questions/linux-newbie-8/a-faster-way-of-starting-amsn-149150/)

santasballz 02-22-2004 11:06 AM

a faster way of starting amsn?
 
cause right now, i have to cd into the folder and have to type
wish amsn

to start the freaking program, is there a faster way of doing it? like shortcut or something?

melinda_sayang 02-22-2004 11:25 AM

make a file called amsn.

#!/bin/bash
cd /path/to/your/program
wish amsn

That is your file. Saved it then give permission to your file so you can execute it.
$ chmod +x amsn

Put the file in $PATH so your system can find it. Mine is /home/myname/bin. Make the shortcut. The command is amsn.

XavierP 02-22-2004 11:29 AM

Or even, right click the desktop. Select create new link to application. In the dialogue box, type in /the/path/to/.amsn. Save it and use it.

santasballz 02-22-2004 12:29 PM

thx, it works

lozz1978 02-22-2004 12:47 PM

or another idea,
create a sym link in your /usr/bin to your amsn directory, this way you ca start amsn just by typing amsn at the command line :)


All times are GMT -5. The time now is 06:23 PM.