Also, don't forget to chmod the file you've created to make it executable.
-Paul R
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Rodríguez
Sent: Saturday, March 31, 2001 1:21 AM
To: [EMAIL PROTECTED]
Subject: RE: [newbie] Custom Konsole Commands
Sure is. The easiest and probably most convenient way to add a custom
command is to place it in your /home/user/bin folder. The Linux console
looks for programs in a series of folder in decreasing order of priority.
These folders are called the path. To see what folders are included in your
path type "echo $PATH" in a console window. Anything script or program you
put in /home/user/bin (even if the folder didn't previously exist) will be
automatically opened when you type it's name in a console window. Unless of
course there is another program already in your path by the same name, since
/home/user/bin is last in your path list, having least priorty, probably a
good thing. To write your own script, just open a new text document in your
favorite editor, type in the list of commands you would like to perform,
seperated by a ";"and save the text file into your /home/user/bin folder (or
any other folder in your path) then type the name of that file. For
instructions on slightly more complicated scripts (with if/then and while
statements etc.) check out
http://www.freeos.com/guides/lsst/index.htm
http://www.oase-shareware.org/shell/
http://www.whereisit.com/shellscript/index2.html
http://www.ocean.odu.edu/ug/shell_help.html
http://www.cs.mu.oz.au/~bakal/shell/shell1.html
http://steve-parker.org/sh/sh.shtml
or search for some other pages on shell scripting (I'm interested in hearing
from people on other pages they might know of).
Hope this helps.
-Paul R
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ammon Cooke
Sent: Friday, March 30, 2001 12:37 PM
To: [EMAIL PROTECTED]
Subject: [newbie] Custom Konsole Commands
Hi,
Is there a way to add a command to the Konsole?? If not is there a way to
create a sort of batch file??
Thanks
Ammon
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com