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
On Thu, 2002-12-12 at 06:26, Bill Shirley wrote:
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
On Thu, 12 Dec 2002, Bill Shirley wrote:
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