Benches macOS

7

How to launch another terminal session fr…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello. I'm not sure really where to post this within the forum.

I'm new to the MAC OS X, but have used Unix and Linux occasionally (for school). I utilize both xterm and terminal for work.

'm attempting to launch multiple terminal sessions from within a terminal. I know in xterm, running the command:

xterm &

will pop out a new xterm window (while freeing the prompt on your current xterm).

I would like to do the same for terminal. I've tried the following to no avail:

terminal &

term &

term

terminal

Can anybody help me out. I've called Apple support and paid a visit to a local Apple store, but they referred me to the forums.

Thanks in advance! Peace!

7 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    enter command+n in terminal to open a new terminal window or command+t to create a new tab.

  2. 0

    skeeloo7

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Wow. Thank. You answered the question real fast.

    I saw that within the menu prompts on top of the screen. However, I want to launch the terminal from within a bash script.

    Within a bash script in Linux or Unix, you can issue the the command: xterm & multiple times to automate xterm session windows. I can't figure it out for terminal.

    /usr/bin doesn't contain the binary file to launch a terminal. Not sure where it's located. Would you know?

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    skeeloo7 wrote:

    Wow. Thank. You answered the question real fast.

    I saw that within the menu prompts on top of the screen. However, I want to launch the terminal from within a bash script.

    why? I really don't understand why you'd want to do it that way. you can do this I suppose


    osascript -e 'tell application "terminal" to do script ""'

    Within a bash script in Linux or Unix, you can issue the the command: xterm & multiple times to automate xterm session windows. I can't figure it out for terminal.

    /usr/bin doesn't contain the binary file to launch a terminal. Not sure where it's located. Would you know?

  4. 0

    Rafe H.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you want to open multiple windows and have them automatically sized and placed exactly as you wish, then first open your windows (command-N), size them, place them, and then choose Windows->Save Windows as Group... from the menu.

    To open this configuration later, choose Window->Open Window Group. To manage your Window Groups, visit Terminal->Preferences.

  5. 0

    Jeff Bucchino

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    VK, sorry to hijack this for a moment, but I didn't see any other way to get a msg you. I just wanted to thank you for the help you gave me through John Lincoln and his problem with locked volumes. I had the same problem with two drives and your Terminal commands worked like a charm on both.

  6. 0

    skeeloo7

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Awesome! Thanks!

    I'm Not sure what is osascript (scripting language for MAC OS X?), but it works. Thanks. Question answered.

  7. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hello. I'm not sure really where to post this within the forum.

    Mac OS X Technologies > Unix Forum

    <http://discussions.apple.com/forum.jspa?forumID=735&gt;