The terminal.app tag has no wiki summary.
0
votes
1answer
21 views
Detecting used terminal application (iTerm2)
Can one detect what terminal application is being used? I want the actual application, not TERM env in the question.
I'd like to detect iTerm 2 / Terminal.app so I could set OSX specific keyboard ...
1
vote
1answer
46 views
Reset OS X Terminal.app to default
I accidentally renamed my "Basic" terminal profile under Terminal -> Preferences -> Settings. I renamed it back but this got me wondering if there was a way to reset all terminal settings to defaults. ...
0
votes
2answers
21 views
How can I Pbpaste an image in to the command line?
Current use case:
I select "copy image" on some random png in safari.
I type pbpaste into terminal, and get the link to the image.
Is there anyway to get the binary data instead?
0
votes
2answers
39 views
How to find out why openning a Terminal in OS X is very slow sometimes?
Is there a way to verbosely print everything that gets executed when I open a Terminal in OS X?
Sometimes it takes up to 10 seconds for the Terminal to become ready for interaction and I want to know ...
0
votes
2answers
34 views
How can I colorize ls on mac os x terminal?
I've seen everywhere I look:
Edit .bash_profile on your home directory.
The thing is, I don't have any .bash_profile on my home directory.
At least I do pico ~/.bash_profile and I see nothing.
...
0
votes
0answers
26 views
Terminal Newbie [closed]
I am new to Terminal and know very little about it, I am mainly using it to ssh into my webserver and upload or download files.
Can anyone point me to a good tutorial or website to learn more about ...
2
votes
2answers
63 views
Launching Terminal.app in the working directory
I have set up a script that launches the terminal with this bash command:
open script.command
script.command is a Perl script, and it gets executed just fine. (This may look a little convoluted, ...
1
vote
1answer
56 views
Weird Terminal error when opening TextEdit.app
I was trying to edit my host file with the command
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
I got the following error:
Sending synchronize message <dictionary: ...
0
votes
1answer
47 views
Scroll Bar on OS X Lion Terminal won't go away
I have this scrolling bar on the right side of my terminal because I accidentally split the window and I've merged the windows, quit the terminal, and restarted my computer, and this evil thing won't ...
1
vote
2answers
81 views
Perl for matching with regex in Terminal?
I'm trying to familiarize myself a little with perl to use for regex searches in Terminal (Mac). Now, I'm not really looking to learn Perl rigourously, just trying to find out how to do some simple ...
1
vote
1answer
94 views
Mac terminal propmt color for specific directories
I'm looking to setup visual alerts when working within certain directories within mac osx terminal.
Specifically, I have several projects running within the same framework which can easily lead to ...
0
votes
0answers
110 views
/sbin/service on OS X Lion
I have been working on a few computers for my school as per my CS teacher's instruction. She told me to create a script to SSH into a few computer running OS X Lion. The end goal is to be able to ...
0
votes
1answer
82 views
Terminal window fills the screen in OS X Lion
When I open Terminal, it fills the screen, there is no way to minimize it. There is no toolbar at the top. It is just a screen of white, with the bash prompt.
I am used to Linux, and controlling a ...
2
votes
1answer
75 views
Blank Terminal (no response) on Mac
I've seen numerous cases of this all over the internet, and the solution is (optionally: Do _ and then) reboot. The reboot is the only necessary step, but I'd like to remove that step (find the root ...
1
vote
2answers
87 views
Equivalent of 'clear' command when using tail -f
I am using the tail -f command to follow an error log, and I often want to "clear" the terminal, much in the same way that the clear unix command moves everything above the top of the window. Is there ...
1
vote
1answer
94 views
Set Terminal.app proxy icon with xterm and screen
For quite a while, I've been using the supplied answers for Resume Zsh-Terminal (OS X Lion) to set the proxy icon for Terminal.app while running under zsh, and so far, it's been working quite well. ...
0
votes
1answer
281 views
Syntax highlighting in Terminal Mac OS X
How can I highlight different parts in the Mac OS X Terminal app? For example a different color for input and output? Are the pre-defined color themes I can activate/download?
0
votes
1answer
58 views
How to set the title of the tab in Terminal.app to the remote server I'm logged in to
I use one Mac to do work on several others.
What I'd like to do is find a way to programmatically set the title of a Terminal.app tab to the name of the server I'm ssh-ed into, so I can determine at ...
1
vote
0answers
96 views
Enabling mouse scrolling in OS X terminal man pages
I have been trying to find a way for the OS X Terminal to accept the mouse input to scroll in the man pages.
I have installed SIMBL and MouseTerm but this does not enable scrolling in the man pages. ...
0
votes
1answer
65 views
Mac OsX: when I paste a command on my bash prompt it is not in history - how to add it to history?
When I paste a command to my Mac OsX or Ubuntu bash prompt using 'Cmd-v', the command is not in history - even if it is executed. The command is in history only if I type it.
How to enable that ...
0
votes
1answer
296 views
Load RVM environment in Screen and ZSH
This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
0
votes
0answers
61 views
Effect of the $TERM variable when SSHing from OSX to Linux
The $TERM variable is different in both of these applications, does that matter when SSH-ing into one from the other and why?
OS X has a option to change the $TERM value in the settings. Does this ...
1
vote
0answers
429 views
How to kill a zombie process on a mac
How to kill a zombie process or find it's parent process on a Mac using the Terminal?
1
vote
1answer
253 views
How to use Terminal to delete all .svn folders recursively?
what command can I type into Terminal so that I can:
delete all .svn folders within a folder (and from all subdirectories)
but not delete anything else
?
1
vote
2answers
207 views
Mac OS Lion Terminal: Add blank line after command output?
How can I configure my .bash_profile to add a blank line after any command output?
0
votes
2answers
33 views
Deleting file with reserved characters via SSH
While developing a server-side application, I accidentally created a couple of files that are named similar to this: files.json
Even after I add the necessary backslashes to try to rm those files, ...
2
votes
1answer
798 views
Setting iTerm2 as the default terminal (OSX Lion)
I would like to set iTerm2 instead of terminal.app as my default terminal.
Go2Shell for example let you open a terminal to the current directory in Finder.
I want to ba able to use iterm2 instad of ...
0
votes
1answer
115 views
No colors in Terminal.app
Somehow my colors in Terminal.app are completely borked. If I load up Vim with syntax on, there are no colors, but line numbers are underlined (and so are some other parts). It looks really really ...
2
votes
1answer
211 views
How to list network shared items in terminal
Is there a way to list the network shared items in the Terminal command line the way Finder sees them in the Mac OS X GUI?
2
votes
1answer
94 views
How can I externally open a terminal with specific “settings” in Mac OS X Terminal?
How can I cause Terminal to open a new window with a specific “Settings”, without having to mouse into the File menu, but rather by opening a file or running a command or AppleScript (i.e. something I ...
0
votes
0answers
64 views
Terminal cursor won't blink [closed]
My Terminal cursor was working just fine a couple of hours ago. Then I was playing around with the Terminal preferences, ~/.profile and /private/etc/bashrc and now the cursor won't blink (see note 1), ...
0
votes
2answers
171 views
Can you do any damage with “rm -R *” on a Mac?
I just cd to "/" on a Mac and accidentally entered "rm -R *". I know the command means delete everything in "/" but I wasn't sudoing, should I reinstall Mac OS? Or does a mac protect against this sort ...
1
vote
3answers
977 views
How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion?
I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly.
I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ...
3
votes
2answers
399 views
How can you customize your terminal bash prompt with smiley faces?
I'm trying to figure out how I can customize my terminal's bash prompt to use smiley faces. What I want (as seen in the example blow) is for the cwd to be separated from the prompt by a \n and show a ...
2
votes
1answer
191 views
enabling colors in the python interactive shell on OS/X
I have just modified my .bash_profile so as to have colors in iTerm and Terminal.
Now, I want to enable syntax highlighting for the Python interactive shell, IDLE-style.
How to do that?
1
vote
2answers
111 views
Have a script execute a command randomly every now and then
I have a script which I am scheduling to run daily with Cron. However I want a certain section of the script to only run randomly occasionally, with a certain probability of executing on any given ...
0
votes
2answers
113 views
Why can't I open the easter eggs like Tetris on Emacs?
I am in terminal on a Mac, and I type in emacs tetris. It comes up with a blank page and something at the bottom saying: Loading image...done, but that is it. I leave it for a little while but nothing ...
0
votes
1answer
125 views
How can I stop OS X Lion from reopening multiple terminal windows?
How can I stop OS X Lion from reopening multiple terminal windows when I relaunch Terminal.app? When I launch terminal, two windows spawn.
1
vote
2answers
232 views
Why can't I paste from clipboard to OS X Terminal.app when it contains special characters?
For instance, if I have one or more of the following characters copied into clipboard, a paste into the terminal window will not work:
“ ” ’ –
This is pretty annoying, actually, one would think ...
0
votes
2answers
823 views
How do I change the computer id on my mac?
I bought a late 2009 Mac Mini recently, updated it to Lion, and was rather frustrated to find that even after changing the Bonjour, DNS, and local network name, the terminal prompt (and "Computer ID" ...
0
votes
1answer
68 views
On the Mac, how can I get saved Terminal window groups (or other saved window groups) to work across multiple Spaces?
I've got a nice startup script on my computer that opens up the various applications I need to get to work, making good use of Terminal's "Windows"->"Save Windows as Group"/"Open Window Group" option. ...
1
vote
1answer
84 views
Adding an alias to .bash_profile removes other commands?
Before touching .bash_profile:
mongod launches a mongo server, rabbitmq-server launches a rabbit server, etc.
But once I add:
alias ethertunes="sudo NODE_ENV=development nodemon --debug ...
1
vote
0answers
116 views
osx - Set application access to certificate via command line
I want to allow permanent access to certificates for certain app (eg codesign) via command line. The gui equivalent would be clicking "Always Allow" when prompted. However I only have access via SSH
...
5
votes
1answer
97 views
Can I scroll Terminal down when there is nothing to scroll?
When I reach the bottom line,
I want to be able to “scroll” down the virtual space so the prompt is at the top again (like in the beginning):
Is there any way to do this?
This becomes even more ...
1
vote
2answers
156 views
Can't copy/paste to/from system clipboard in Terminal on Mac
I can't copy or paste to or from the system clipboard within the Terminal. Neither Cmd-C/Cmd-V nor menus work. Instead, Terminal seems to be using it's own buffer for copy/paste operations. I am ...
0
votes
1answer
227 views
Switching terminal character encoding while using TotalTerminal
I'm using the TotalTerminal 1.1.3 terminal.app plugin on Lion (10.7.1) for a visor-style terminal. TotalTerminal uses/creates a special profile which is used for every new tab opened in terminal.app. ...
-1
votes
1answer
205 views
iTerm 2 on Mac OS X - How to get rid of all characters before the $ on each line?
I installed iTerm 2 but my shell windows show:
"computer name":"current directory" "user" $
This is far too long. I'd like to just see:
"current directory" $
Is there an option for this? I ...
12
votes
1answer
571 views
What does Terminal app's “Show Alternate Screen” do? (OS X)
Today, I discovered a menu item called "Show Alternate Screen" in Terminal.app. I am just curious about what it does. It seems to be sharing the same shell process (unlike tabs), since I see output ...
1
vote
2answers
997 views
Mac Terminal Script to remove hidden files
My car stereo can use USB flash drives to play music from, so I asked about Copying MP3s from an iTunes playlist. That was all fine and dandy, except my stereo wouldn't play the MP3 files. I ...
6
votes
4answers
6k views
Hostname issue in Mac OS X Lion
I've recently bought myself one of the new mid-2011 Mac Minis with OS X Lion, I'm completely new to Mac OS but I've used linux quite a bit before. The problem I'm having is that at the terminal my ...