The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-28-2005
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
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
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0