![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create a file from within a script | lamano | Shell Programming and Scripting | 2 | 03-04-2009 04:31 PM |
| Create file in script | paparazi | Shell Programming and Scripting | 3 | 02-26-2008 03:16 AM |
| Modifying simple commands to create a script | rocinante | Shell Programming and Scripting | 8 | 06-03-2007 09:35 PM |
| create a text file in a script | n8575 | UNIX for Dummies Questions & Answers | 2 | 02-07-2006 12:38 PM |
| script to create tar file | ajrandrup | UNIX for Dummies Questions & Answers | 2 | 12-03-2003 01:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I don't think it can be done, unless there is some system call to achieve that function. But You could try something like this
Code:
search='apt*'
find $(echo $PATH|tr ":" " ") -type f -name $search -perm -o+x -exec basename {} \; > searchresult.lis
/Lakris PS This won't find aliases |
| Sponsored Links | ||
|
|