![]() |
|
|
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 |
| command line args 2 | skooly5 | UNIX for Dummies Questions & Answers | 2 | 04-06-2008 10:36 PM |
| command line args | skooly5 | UNIX for Dummies Questions & Answers | 2 | 04-06-2008 08:46 PM |
| Command line args | enuenu | High Level Programming | 2 | 05-29-2007 01:19 AM |
| Solaris 'format' output without args...? | SunDude | SUN Solaris | 3 | 05-24-2007 05:09 PM |
| Args to Array | Shaz | Shell Programming and Scripting | 2 | 06-30-2003 05:11 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
alias with args how to ...
Hello ( sorry newbie question )
I don’t understand something im trying to make simple alias that takes 1 arg but it don’t gives me the desire result here is what I have : stlist | awk '{print "ls -l "$2}' now I want to translate it to alias that takes instead of the $2 one arg so I did : alias stlistdir "stlist | awk '{print "ls -l "\!*}'" also tried: alias stlistdir "stlist | awk '{print "ls-l $"\!*}'" but didn’t get the desire results, im getting only the print of the second column when I type : stylistic 2 stlistdir without the ls –l , why ? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|