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 book, that defines an environment variable

I suggest appending the following line to /etc/profile:
alias mflash=mount -t msdos /dev/nftla1 /flash
Then backup etc.lrp

Cheers
Alex


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



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

2003-02-03 Thread John Mullan

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 use root so likely any script that
executes during boot will work.  But any helpful hints on the best (or
rule-of-thumb) file would be appreciated.

John
===
Work:   http://www.olgclotteries.com
[EMAIL PROTECTED]
888-345-7568 ext. 2205

Personal:   http://www.mullan.ca
[EMAIL PROTECTED]
MSN:[EMAIL PROTECTED]
===



   
 
  Alex Rhomberg  
 
  [EMAIL PROTECTED]   To:   LEAF-user 
[EMAIL PROTECTED] 
  Sent by:  cc:
 
  [EMAIL PROTECTED]Subject:  AW: [leaf-user] 
Custom commands??   
  ceforge.net  
 
   
 
   
 
  03-02-2003 04:32 AM  
 
   
 
   
 





  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 book, that defines an environment variable

I suggest appending the following line to /etc/profile:
alias mflash=mount -t msdos /dev/nftla1 /flash
Then backup etc.lrp

Cheers
Alex


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[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]
Business:   mailto:[EMAIL PROTECTED]
 



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html