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
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
> > 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
Sent by: cc:
[EMAIL PROTECTED]Subject: AW: [leaf-user]
"Custom" commands??
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
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