I'm trying to make an bash alias do what I want an things are not working as expected.
[root@server1 samba]# alias ta='echo /var/log/samba/log.${1:-smbd}' [root@server1 samba]# ta /var/log/samba/log.smbd [root@server1 samba]# ta server2 /var/log/samba/log.smbd server2 I would think the second invocation of ta to produce: /var/log/samba/log.server2 but it doesn't. Is there something I don't understand? Thanks in advance, Bill Shirley
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com