Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 6883

Questions about the Terminal application or its terminal emulation should use this tag. Use **command-line** for questions about shells or command-line programs that do not specifically involve Terminal.

2 votes

How can I Open Multiple Customized Terminal Shells?

In addition, "settings profiles" (Terminal > Preferences > Settings) can specify a command to run when a terminal is created with that profile. … If you create a new terminal using Shell > New Command, since Terminal knows what command you ran, it can restore it by running it again. …
Chris Page's user avatar
  • 8,201
0 votes

Showing current directory in Terminal's title, using tcsh

As of Mac OS X Lion 10.7, Terminal now supports displaying the working directory using the standard window "proxy" icon. This is enabled by default for bash (the default shell). … working directory when quitting/restarting Terminal (for Resume). …
Chris Page's user avatar
  • 8,201
15 votes
Accepted

How to make Mac Terminal restore working directories when restarting

Terminal automatically restores the working directory if you’re using the default shell, bash. … If you’re using zsh, see my answer to Resume Zsh-Terminal (OS X Lion), in which I include the appropriate code for zsh. …
Chris Page's user avatar
  • 8,201
0 votes

How to split screen in TotalTerminal to end up with two terminals?

You just want to know if there's a solution for Terminal, right? It would help if you elaborated on what you mean by “continue right off there” and “without having to ssh again.” … If you create a terminal using Shell > New Remote Connection… or Shell > New Command… to run ssh, Terminal’s Shell > New Window/Tab with Same Command commands can create a new terminal and run the same …
Chris Page's user avatar
  • 8,201
1 vote

How to keep PS1 changed in terminal?

Most Bash shell customizations, including the PS1 shell prompt, should be set in ~/.bashrc, which applies to all interactive shells. You'll also need a ~/.bash_profile—which should only contain items …
Chris Page's user avatar
  • 8,201
2 votes

Is it possible to hide the scrollbar in Terminal?

As of OS X Lion 10.7 scrollbars can be hidden system-wide, including in Terminal, with System Preferences > General > Show scroll bars If you have a “touch” input device, like a trackpad or Magic …
Chris Page's user avatar
  • 8,201
86 votes
Accepted

Can a Terminal window be resized with a Terminal command?

Terminal supports escape sequences for manipulating windows, including the size and position, layering, and minimizing. Dimensions can be expressed in pixels or characters. … Emulators Some terminal emulators ignore these control sequences by default and require configuration to enable them. …
Chris Page's user avatar
  • 8,201
25 votes
Accepted

How can I save SSH Bookmarks in Terminal?

Choose one to create a new terminal and run the associated command. … You can even tell Terminal to open a particular window group each time Terminal starts in: Terminal > Preferences > Startup Improvements in Mac OS X Lion 10.7 In Mac OS X Lion 10.7 this gets simpler …
Chris Page's user avatar
  • 8,201
11 votes

How to configure Terminal to be "Putty-like" when it comes to copy-paste with mouse?

As of OS X 10.8, selecting text in a terminal copies the text to a pasteboard and Paste Selection pastes the contents of this pasteboard (akin to X11’s PRIMARY). … You can of course drag to other terminal windows (or other applications), but you can also just drag a few pixels and then release to Paste into the current terminal. …
Chris Page's user avatar
  • 8,201
7 votes
Accepted

Shortcut key to open/apply profile in Terminal

For example, if you add Homebrew ⌥⌘9 to the preferences, typing ⌥-⌘-9 will open a new terminal window with the Homebrew profile. … To Apply a Profile to the Current Terminal You can change the profile of the current terminal using the Inspector window. You can use Shell > Show/Hide Inspector ⌘I to show or hide the Inspector. …
Chris Page's user avatar
  • 8,201
6 votes

OS X Terminal equivalent of Ctrl+Left / Ctrl+Right

As of Mac OS X Lion 10.7, Terminal maps ⌥-←/→ to esc+B/F by default, so this is now built-in for bash and other programs that use these emacs-compatible keybindings. …
Chris Page's user avatar
  • 8,201
2 votes

.rvmrc and mac osx lion "restore" issue

Lion Terminal selects/restores the working directory by setting it with chdir() before the shell starts. …
Chris Page's user avatar
  • 8,201
5 votes
Accepted

Problem setting terminal window bounds with AppleScript

Window > Save Windows as Group… You can even tell Terminal to open a selected window group at startup: Terminal > Preferences > Startup > On startup, open: > Window group: (As a shortcut, when … Moreover, Lion Terminal supports Resume and will automatically restore all your windows each time you open Terminal. It will even restore "safe" commands for terminals created with New Command. …
Chris Page's user avatar
  • 8,201
1 vote

How to skip system hotkeys when using terminal emacs?

The default Spotlight keys are the main conflict with Terminal. … I don't think there are other default shortcut keys that are a problem (because they either don't use Control, or if they do they usually use other modifiers or keys that don't conflict with how Terminal
Chris Page's user avatar
  • 8,201
5 votes
Accepted

Osascript error

The dlopen error means it can't load the Adobe Unit Types scripting addition, because it only has a 32-bit binary, but the process loading it is 64-bit. This may or may not be a problem for your scrip …
Chris Page's user avatar
  • 8,201

1
2 3 4 5
15 30 50 per page