| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
|
Guest
Posts: n/a
|
hi, i was ust wondering where i should start when i want to write out something simple like :
i want the ls command to always execute "ls -F" which file would i open and edit to make that permanent, im trying to find out where i can write other commands as well. for example i wanna make a script or alias or whatever so that i do not ahve to type out : (ifconfig | grep 'inet ' | grep -v 127.0.0.1 | cut -d\ -f2) every time i want to see the ip address. |
| QUOTE Thanks | |
![]() Member Since: Feb 14, 2004
Location: South-East Texas
Posts: 1,803
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 21in Dual core 3 ghz iMac, 13in Macbook - Mountain Lion on both
|
Put this in your .bashrc file (if you don't have one, make one):
alias ls='ls -f' Should be able to do something similar for that ifconfig command. Craig in Texas ---You did WHAT!? Close the Terminal and step away slowly. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Simple Pie Chart Creation? | Toahine | OS X - Apps and Games | 3 | 06-07-2006 06:00 AM |
| simple linksys router question | PowerBookG4 | Internet, Networking, and Wireless | 2 | 04-30-2006 08:24 AM |
| Simple AppleScript request... | 570thusaag | Running Windows (or anything else) on your Mac | 0 | 02-02-2006 12:33 PM |
| Any simple Windows Paint-like program out there? | CharlesP2001 | OS X - Apps and Games | 2 | 10-19-2005 06:47 AM |
| Simple finder hacking | trip | OS X - Operating System | 0 | 03-07-2004 10:16 AM |
All times are GMT -4. The time now is 07:39 PM.
Powered by vBulletin