![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| alias in CSH | tpltp | Shell Programming and Scripting | 3 | 10-11-2008 11:24 PM |
| awk alias | papa1980 | Shell Programming and Scripting | 1 | 06-23-2008 07:04 PM |
| How to get the alias,when we have the IP. | preethgideon | UNIX for Dummies Questions & Answers | 2 | 07-24-2007 03:53 PM |
| alias | klannon | Filesystems, Disks and Memory | 6 | 04-27-2006 09:36 AM |
| Alias | klannon | UNIX for Dummies Questions & Answers | 2 | 03-10-2002 05:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
I have created a shortcut for the file kill_process.sh as shown below.
alias kill_process="sh /root/kill_process.sh" It is working as per my expectations. But I have 2 questions. 1) Is there any better way? 2) How do I check what does kill_process link to? |
|
||||
|
hi,
You don't really need an alias do You? Name the program file kill_process, make it executable (chmod +x kill_process) and place it somewhere in Your PATH, in /usr/local/sbin for example. To show Your aliases, use the command alias without arguments. /Lakris |
![]() |
| Bookmarks |
| Tags |
| alias |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|