So tonight I got to really playing with Mac OS X's Terminal app, and I found a huge time saver.
First, you may have noticed that you can "save" a Terminal, but if you're like me, you probably assumed that that command would save the contents of the Terminal window. Oh no. Saving a terminal actually saves the Terminal settings, so you can save the size and position of a single window, for example, or you could save all the windows you want to start up when you launch Terminal.
Okay, that's fine and dandy, but let's make this more useful. Open /Users/name/Library/Application Support/ and make a new folder named Terminal . Now, back in Terminal, save your term's into that folder. Now, see that "Library" item in Terminal's file menu? Hey, look at that, the contents of /Users/name/Library/Application Support/Terminal/ are in that menu item! Hoo ha!
But oh, that only opens the window with that configuration... I want a given window to ssh directly to my favorite server! Well, that's more than doable! Just edit the saved terminal configuration in your favorite text editor, find the key "ExecutionString", and set the string to be whatever command you want to execute when you start load that saved configuration. You can also edit the CustomTitle of that window while you're at it, so all of your favorite windows have useful names.
And last but not least, open the Terminal preferences, and on the Statup pane, set it to open one of your saved configurations with lots of windows instead of just making a new shell! Alternatively, toss your Application Support/Terminal folder into the Dock, and then you can open any of your saved configurations from any program you're in.
Wow, this stuff will probably save me five to ten minutes a day that I used to spend setting up my Terminals.
Later: A few other terminal tips:
- `open application.app` - Use the open command to open Mac OS X apps from the Terminal. `open /Applications/Utilities/Terminal.app`, for example, would be pointless, because you've already got the terminal open... But you get the idea.
- `open file` - Works just like double clicking file, opening the appropriate application and everything. `open paloalto.mov`, for example, would launch Quicktime.
- Dragging files and folders from the finder into a Terminal window will print the path to that file or folder for you to use in your unix schemes.
hi this is an excellent stuff, it really solves my purpose in crucial times, thanks
Awesome! I’ve got a thing for those 1980s-style terminals. You know, the ‘Green on Dark Green’ terminals that you always see in ’80s movies whenever anyone is using a computer. I’ve used the cmd-I ‘Inspector’ to change the text color to green, and the background to a slightly transparent (’cause it’s cool) dark green, and I’ve saved it in the ‘Library’ folder as mentioned above.
It’s like I’m back in the 1980s, except without the bad hair!
‘open .’ or ‘open “path to folder”‘
Will open the current folder or pathed folder respectively in the finder.
Also try: open -a application file (e.g. open -a safari somethin.html)
Maybe that wacky “Save” Terminal settings is what’s causing this totally bizarre problem I’m having! Whenever I try to make a New Shell in Terminal (or whenever I Run a command), a COMPLETELY MINIMIZED shell pops up — and it won’t ‘Return to Default Size’! So I can’t see anything in the shell! So I CAN’T USE TERMINAL at all! Any ideas?
I have exactly the same problem with a minimal terminal window and no way to enlarge it (on a G4 powerbook, just foolishly updated to OsX 10.3.4). I haven’t saved any terminal settings as far as I know. Anybody else, any solutions?
I didnt read it all but JC this is old hat stuff
To solve the minimized terminal window try re-enabling Monaco font in FontBook and re-set Monaco as Terminal font in terminal preferences panel.
:))))
ricardo.hard-sex-teen.com
private.wet-anal-sex.com
private.cum-facials.us
gotowanko.fm.interia.pl
gotowanko.webpark.pl
cum-lover
wet-sex
hardcore-porn
she-male
movies cumfiesta
Thanks for the info, I am new to using the terminal and this helped me solve an annoyance I had with it.
Thanks again
Enabling Monaco font and changing the default in the terminal prefs works! thanks…
adultmoviezone
allbigcocks
asianangels
asiaporno
bigandslutty
cumsplatter
dirtydykes
dirtyteen
dudedorm
fuckspy
grannyfucking
interracialfuck
irorgy
meninthenude
mrskin
oldtartsv
sexspy
simplygay
simplytranny
sinfultales
spycams
teenmoviezone
teenteenteen
titvision
upskirts
voyeurdorm
wetscape
wivesexposed
image heels
celebrity upskirt
blowjob cellophane
show talk