terminal command to re-access terminal prompt

Simple question:


I am running Apache caldav on Maverick to manage my small office calendars.

When I run the server, console stays with the the caldav server process (user name and $ no longer comes up).

What's the key command to get out of the server re-access the terminal prompt?


I've seen it before but can't remember.

iMac, Mac OS X (10.6.4)

Posted on Aug 27, 2016 11:10 AM

Reply
7 replies

Aug 30, 2016 8:26 AM in response to ForeCast

You need to background the task. Your problem is that it's still being controlled by the current shell and that's why you don't regain control.


There are several ways of doing this - my initial reaction is that you shouldn't be manually launching a service this way anyway - use launchd to manage your services. In the short term, though, you can background the task by simply appending & to the end of the command:


/path/to/someprocess &


This will launch the someprocess task in the background, giving you back control of your shell.

Seriously look into having the OS manage this for you, though.

Aug 30, 2016 8:34 AM in response to ForeCast

Thanks all. Very helpful.


I'm obviously new/low experienced with working directly from terminal.


This has given me an idea, and therefore a new question. I see different titles/headers on the top of the different windows. First when I open terminal I see, "bin - bash - 80x24". When I run caldav, the way I run it, the window title has, "bin - python - 86x28."


Does this mean I can open a terminal window for each job/program that's running, and that the windows will show all the steps, actions, etc., for that job?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

terminal command to re-access terminal prompt

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.