Two very useful things I learned too late...

3 posts / 0 new
Last post
ex-parrot's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: Dec 20 2003 - 01:35
Posts: 6846
Two very useful things I learned too late...

You can multitask at the console! Something which took me far too long to figure out.

[b]When launching an app[b]

#appname & launches the app in the background
#appname & launches the app in the foreground

When an app is already running

Ctrl + Z makes the app stopped (no longer running and backgrounded).

Job Management

#jobs lists the current jobs you have running
#fg [job number] put a job in to the foreground
#bg [job number] put a job in to the background

Now use these skills wisely!
First post.

catmistake's picture
Offline
Last seen: 3 years 1 month ago
Joined: Dec 20 2003 - 10:38
Posts: 1100
its never too late

/Applications/~app~/Contents/MacOS/~app~ &

launch multiple instances of Cocoa apps, as many as you want...
the & is supposed to return you to the command line... but I'm getting some weird error about unnamed Mach port that I have to ctrl-c out of... but the app still launches

Vellos's picture
Offline
Last seen: 18 years 9 months ago
Joined: Dec 19 2003 - 14:45
Posts: 58
The joys of timesharing UNIX,

The joys of timesharing UNIX, implemented back in the 70's. Biggrin

But yeah, I use this all the time if I'm editing and compiling code from an SSH session on a Linux box. I'll suspend my text editor for the .java file, and run the compiler while it's suspended, and then bring it back forward when I need to use it. This has been around forever, but it doesn't make it any less useful.

Log in or register to post comments