[leaf-user] "Custom" commands??

2003-02-02 Thread John Mullan
I knew this once before, but forgot :-( How do I implement my own command line "commands"?? Ie; use "mflash" to perform "mount -t msdos /dev/nftla1 /flash" Thanks. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* John Mullan http://www.mullan.ca/ Personal: mailto:[EMAIL PROTECTED] Busines

Re: [leaf-user] "Custom" commands??

2003-02-02 Thread Lynn Avants
On Sunday 02 February 2003 08:33 pm, John Mullan wrote: > I knew this once before, but forgot :-( > > How do I implement my own command line "commands"?? > > Ie; use "mflash" to perform "mount -t msdos /dev/nftla1 /flash" export mflash = 'mount -t msdos /dev/nftla1 /flash' I believe this can also

AW: [leaf-user] "Custom" commands??

2003-02-03 Thread Alex Rhomberg
> > I knew this once before, but forgot :-( > > > > How do I implement my own command line "commands"?? > > > > Ie; use "mflash" to perform "mount -t msdos /dev/nftla1 /flash" > > export mflash = 'mount -t msdos /dev/nftla1 /flash' > > I believe this can also be saved in .profile as well. In my

Re: AW: [leaf-user] "Custom" commands??

2003-02-03 Thread John Mullan
Sent by: cc: [EMAIL PROTECTED]Subject: AW: [leaf-user] "Custom" commands??

Re: AW: [leaf-user] "Custom" commands??

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 07:14 am, John Mullan wrote: > Thanks folks. With this reminder I now remember that I previously used the > 'alias' command inside one of the booting scripts to set up some permanent > commands. Never heard of the 'export' one. > > I never create any other users, only u

Re: AW: [leaf-user] "Custom" commands??

2003-02-03 Thread Matt Schalit
I suggest appending the following line to /etc/profile: alias mflash="mount -t msdos /dev/nftla1 /flash" Then backup etc.lrp Here are some of the aliases I use in my /etc/profile. alias cls="clear" alias ll="ls -al | more" alias msl="more /var/log/syslog" alias tsl="tail /var/log/syslog" al