Computing.Net > Forums > Mac > Command line aliases

Command line aliases

Reply to Message Icon

Original Message
Name: jb60606
Date: July 20, 2008 at 12:37:50 Pacific
Subject: Command line aliases
OS: OSX 10.5.4
CPU/Ram: Octo 2.8Ghz Xeon
Model/Manufacturer: Apple Mac Pro
Comment:

Does anyone know where I can setup command line
aliases in Mac OS X? On my linux box, I put them in
~/.bashrc, but that file doesn't appear in my home
directory.

I'm using the bash shell.

Thanks


Report Offensive Message For Removal


Response Number 1
Name: jb60606
Date: July 20, 2008 at 13:03:19 Pacific
Reply: (edit)

for example;

if I want to shorten the command "ps -ef | grep -i"

to

"psg"

where can I put that?

thank in advance...


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Command line aliases

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge