The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

5
votes
2answers
2k views

How to compile Rarcrack for Mac OSX?

I have a rar I desperately need whose password was saved as a file on a site that no longer exists :(. I'm running it on a mac osx 10.5.8 and have never used the terminal before but I figured out ...
0
votes
1answer
131 views

Have to repeatedly press enter for Terminal commands to work — OS X 10.7.3 Lion

I've encountered a very, very strange error. Whenever I type a command, I must press enter several times before the Terminal executes the command. Note that this is not a hardware error: I can still ...
1
vote
1answer
430 views

Keystrokes and commands for my inputrc — key-combination for “Shift-Space”, remap “Ctrl-PageUp/PageDown” to something without Page-keys

I need to add some things to my inputrc. I'm using bash 4, as OS I'm using debian and OSX. My terminal emulators are rxvt-unicode-256 on debian and Terminal.app on OSX. My new macbook has no ...
0
votes
2answers
112 views

iTerm2 & Terminal Giving >> [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$

I opened iTerm2 and it changed the prompt to.. [33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$ I have no idea how this happened, and I can't figure out how to change it. I went to terminal ...
4
votes
1answer
2k views

Disabling AppNap for Terminal

How do I disable AppNap for Terminal? Get Info on Terminal does not have Prevent App Nap check box An alternative is to turn the NSAppSleepDisabled flag on, but will it actually work? $ defaults ...
6
votes
5answers
18k views

How do you get a shell on a Mac?

I have never used a Mac before. I recently went to an Apple store and tried to open a shell to try it out. But, I was not able to open a shell - no shortcut for it, not right-click-menu entry, ...
0
votes
1answer
158 views

Command not found on (Terminal) iMac [duplicate]

Possible Duplicate: How do I reset the $PATH variable on Mac OS X? When I open terminal and type the ls command, it says: command not found. I found a link that resolves the problem, but ...
1
vote
1answer
205 views

Tab title is wrong with ssh/screen on osx

I am doing ssh -t host screen -D -RR in OS X (10.9) terminal tabs. My ~/.screenrc is identical on all remote hosts and contain the following line: hardstatus string "%H(%n:%t)$USER %h" My ...
0
votes
1answer
46 views

How to set OS X to open several Terminal instances that start at different screen locations?

Whenever I start a workday I need to open 4 terminal sessions (not tabbed), and move these to the four corners of my screen. I would like to use something like Automator to do this automatically ...
2
votes
1answer
190 views

time command - output to a file

comamnd line: time myprocess outputs its results: OUTPUT FROM MY PROCESS real 0m1.954s user 0m0.086s sys 0m0.052s But if I do time myprocess > outputfile.txt my outputFiel.txt ...
0
votes
2answers
128 views

Change the size of OS X terminal using keyboard

When typing in a terminal on OS X, I'd like a way to resize the window I'm typing in without taking my hands off the keyboard. Is there an easy way to do this? If not, any ideas for hacks?
52
votes
2answers
7k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
0
votes
2answers
193 views

How to move back a word in OS X Terminal?

If I ssh into a Linux box I can move back a word in the CLI using OptionBackspace. Is there a way I can do this in the Mac's Terminal? Every time I press OptionBackspace, [D returns.
29
votes
3answers
27k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
3
votes
1answer
8k 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?
3
votes
4answers
3k views

What are the advantages of using xterm over any other terminal emulator? [closed]

I've seen a lot of terminal emulators as a programmer - PuTTy, Gnome Terminal, KDE Konsole, Terminal.app, iTerm, etc. Someone showed me an 'xterm' for the first time today. I've used these other ...
0
votes
2answers
64 views

Can dumping binary data in terminal be considered dangerous?

I am thinking of a scenario where unknown stream of data is printed to a terminal, isn't it so that some sequences of characters may be interpreted as commands and corrupt the system state? Or the ...
9
votes
1answer
7k views

Undo OS X terminal window split

I constantly split my terminal windows accidentally by pressing Cmd+D (it's so close to Cmd+F). I have no idea how to undo this. Any ideas?
1
vote
1answer
189 views

Terminal not allowing single quotes

For some reason when I paste text into terminal it strips out single quotes. I also can't type single quotes. Double quotes seem to work fine. I don't have any problems with other programs AND when I ...
2
votes
2answers
390 views

Recursively zip files into .cbz-files based on folder in command line

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on OSX. My directory tree will look like this: /toplevel/ cbz/ comics/ Comic1/ ...
0
votes
3answers
122 views

What causes commands to print on first line in Terminal.app on Mac OS X 10.8?

Every time I execute a command in Terminal.app, the command prints in the beginning of the first output line like this: > ls lsfile1 file2 file3 This only happens in Terminal.app, iTerm.app for ...
15
votes
5answers
18k 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 ...
9
votes
3answers
4k views

Mouse cursor in Terminal?

I use Mac OS X Terminal.app. But the answer to this would probably apply to any typical UNIX-ish terminal emulator in a graphical environment. Question -- what do I do to: Use my mouse cursor to ...
1
vote
2answers
821 views

Is there a way to hide Terminal.app's credentials (prompt text)?

I lose too many columns in my terminal because of the credentials ( Victor-Rodriguess-MacBook-Pro:~ victorrodrigues$ ). Could I shrink this? The only information I see as really needed sometimes for ...
1
vote
3answers
19k views

Connect to another Mac via Terminal?

I need to connect to a Mac server from my MacBook using Terminal.app. If I open Finder, I can see it in my "SHARED" list. I can "connect as" an authenticated user and all that. But how do I connect ...
2
votes
1answer
402 views

MacOS X Lion Terminal and auto-maximize

Sometimes when I'm working in Terminal, it auto-maximizes the window. It is frustrating because I'm referring to another window that gets obscured when the auto-maximize occurs. What can I do to ...
3
votes
1answer
148 views

Add sound to keystrokes in iTerm2 / zsh

I've been searching for quite a while now, but haven't found anything. I want to spice my terminal up a bit more than just colorizing it – I also want to add specific sounds to keystrokes, newlines ...
1
vote
3answers
2k views

How do I set the title of Terminal.app with the fish shell?

I'm trying the fish shell in Mac OS X, intalled using MacPorts. I'd like to have the title of my Terminal window be my current directory. Currently, the title just says Terminal - fish - 80x24 ...
5
votes
2answers
6k views

How to get files from Mac OS X desktop to Remote Server?

I typically use an FTP client to get files up to a server. But this time I was given remote access. So I am using Windows Remote Desktop Connection (on a Mac) and I am logged into the server. I see ...
0
votes
1answer
204 views

Terminal mac (bash) script to extract, move and clean a WordPress install

I want to be able to copy/paste into terminal; wget http://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz mv wordpress/* . rmdir wordpress rm latest.tar.gz But I want correct wait commands in ...
0
votes
1answer
318 views

Find and replace from Terminal and write to a new file with the replaced values

I have a file template.jou that has the following format: /codeline1 /codeline2 /var = var /codeline3 Now I want to replace the var part with different values like A, B and C and then write the ...
0
votes
2answers
40 views

Mac Lion and getting rid of commands I have entered via terminal

I entered a command in terminal and had Mac OS lion execute it successfully. I simply would like to stop that execution and negate what I had the computer do. I have done the history -c command and ...
4
votes
1answer
657 views

Why does Option+Left Arrow work in Vim, but not Right Arrow on Mac OS X?

Using Vim in Terminal on Mac OS X, my Option+Left Arrow skips words as expected, but my Option+Right Arrow does nothing. How can I fix this?
5
votes
1answer
522 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
73 views

Mac OS X Terminal garbles text

Not sure what you would call this. Glitch, jarble, destruxxored. But my text looks like this: That's my cursor where they grey box is. Pressing up adds more text in random places, and my cursor ...
3
votes
2answers
3k views

Mac terminals slow?

I would like to know as a new Mac user if anyone has any idea why scrolling or moving the cursor in the terminal is so slow. It may be common to Mac apps but I use the terminal more. Even installing ...
4
votes
2answers
417 views

Mac Terminal.app: Force '^C' to be printed when editing current prompt, then aborting it

This is the opposite of Prevent “^C” from being printed when aborting editing current prompt. I'm using Bash. When I'm editing the commandline in Bash, and I hit Control-C to abort the commandline, ...
1
vote
2answers
215 views

terminal.app: how to read the terminal window title

I have seen many questions about how to set the tab (or window) name, but how to get it? I have setup terminal to open 8 tabs, each tab having its own name (dev1, dev2, ... dev8) Is there any way for ...
0
votes
0answers
67 views

Under which domain is the Finder sidebar “Devices” category setting for “User's MacBook Pro”?

Trying to verify that "User's MacBook Pro" is in the Finder's sidebar from the Terminal. I can't find a correlating setting under com.apple.finder, com.apple.sidebarlists, or even ...
3
votes
2answers
3k views

OSX: Possible to use Total Terminal with iTerm2?

As I understand it, Total Terminal is a thin layer on top of Terminal.app that adds some Yakuake-like features. My question is: Is it possible to use Total Terminal with iTerm2 as the "backend" ...
0
votes
2answers
402 views

Verifying my password on OS X via dscl

If I know my password is foobar how can I use dscl to verify this on my machine? Of course the password is encrypted (Password: ********) in the output of dscl . -read /Users/myuser. It's fine if I ...
1
vote
1answer
245 views

Ctrl-a echoes “^A” in Terminal.app

On a brand new MacBook Pro, the keyboard doesn't seem to act as expected for Terminal.app. I'm expecting Ctrl-a and Ctrl-e to be home and end functions, but I just get "^A" and "^E" echoed to the ...
1
vote
0answers
77 views

Emacs and Gnu Screen Causing Line Wrap Problems

I have gnuscreen on with multiple "tabs" open. Emacs is on tab 0. When I tab to a different screen and return to Emacs, the lines do not wrap properly anymore. They blend into each other. If I have a ...
6
votes
4answers
4k views

Manipulate Mac OS X file icons from Automator or command-line

Is there a way to manipulate icons on an Mac OS X file from either Automator or the terminal? In my case, I want to remove custom icons (that is, the same as doing 'Get Info' and Edit->Cut on the ...
3
votes
3answers
3k views

Command line history & tab-completion for sftp in OS X Terminal.app

I use Terminal.app constantly. When connecting via ssh to remote *nix systems, I can continue to use tab to complete command names and arrow-up/down to navigate the command history. However, with sftp ...
0
votes
1answer
426 views

How to make terminal title to stick on Macs

I'm not sure if this is a problem with my mac, of which I'm a noob with, or if it's a setting of the server I'm sshing into. What I'm doing is this: Open a new window in terminal SSH into a CentOS ...
3
votes
0answers
19 views

How do I skip the requirement to hit tab twice on a soft link autocomplete? [duplicate]

When I am in the bash terminal (Mac) and I am selecting a file, I can easily type the first part of a directory and hit tab to have it auto complete, for example: cat ~/Desk [tab] -> cat ...
1
vote
1answer
58 views

How do I change the name of my mac in the terminal app? [duplicate]

The computer name is displayed as "unknown-" at the command prompt. How do I change this?
2
votes
1answer
334 views

Mac lsof command find all processes for all users

A while ago my teacher asked me to create a script that would kill Minecraft anytime it came up. It worked when the user themselves ran it, but it didn't if it was at root level. Is there a command ...
1
vote
1answer
192 views

Way of finding input devices?

In terminal is there a way for me to find all the input devices, eg keyboard and mouse? And more specifically get their thread id?