Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

0
votes
1answer
5 views

External Hard-disk showing Input/Output error

I have a 1TB External Hard drive which I'm currently not able to access. When I open the External drive in Finder, It shows it's empty. When I use the option to "Get Info", I get the dialog box ...
2
votes
0answers
41 views

Iterm2 - Export a single profile's settings for distribution to others

I've been getting used to working with Iterm2 over the past few weeks. I have a very specific profile configuration requirement for a legacy business application. The configuration for the profile ...
0
votes
2answers
23 views

List of all dates+times when I used my MacBook?

I need a list of the periods of times I used my MacBook throughout the last 30 days. It would be sufficient to have a list of all lid-open and lid-close datetimes (because I close the lid whenever I ...
9
votes
1answer
1k views

how do I get Terminal's Search with Google to open in the default browser?

Scenario: working away in Terminal, get an error message. Want to google it so I select text and use right-click and "Search with Google". Opens Safari every time. Google Chrome is my default browser. ...
10
votes
6answers
12k views

How do I find my IP Address from the command line?

I know you can do ifconfig | grep inet, but that shows you several IPv4 addresses. How do I get the specific one for SSHing et al?
2
votes
1answer
347 views

How to install firefox using the terminal app

I am trying to install Mozila Firefox on the school's server via ssh. Given that I have authorization to install it on the server, could someone guide me through the steps to install firefox? It has ...
6
votes
2answers
1k views

Are Bash, Bourne, and Korn shells compiled into one binary in OSX?

On OSX 10.8, if you compare the binaries for bash, sh, and ksh, a few different shell options, they are the same size. If you take it further and cmp the binaries, there seems to be only a ...
4
votes
3answers
3k views

Disable Spotlight Index on 10.8 on Specific Volumes

To switch off indexing in Terminal I use: sudo mdutil -a -i off This disables it with the -a switch across all volumes and the -i off part turns "off" the indexing. If connected to my iMac is the ...
3
votes
1answer
741 views

enabling/disabling internet sharing with terminal in mac osx 10.9.2

Very much on the line of already existing questions, but not having enough reputation to comment by following existing threads, I can only ask my own, at the risk of duplicating may be, certainly ...
1
vote
3answers
33 views

bash-command not found; for every command == fear i could screwed up the path

here is the output of echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin and when I gave cat /etc/paths this is the output /usr/bin /bin /usr/sbin /sbin /usr/local/bin I am ...
4
votes
1answer
2k views

Mac OS X Terminal: Commands not found

I really don't have much experience with Terminal and I believe I may have caused a problem when trying to download and use wine on my Mac. If I try to type in anything I simply get "Command not ...
1
vote
1answer
25 views

Switching between proxy and no-proxy config in .bash_profile

I have configured proxy settings (on mavericks) within $HOME/.bash_profile (purpose: to make npm, rvm, git use the corporate proxy) and the configs are as follows: git config --global http.proxy ...
0
votes
1answer
12 views

difference b/w various commands for getting root access in terminal

I have used linux:Kali for a while and to get root access i just needed to type: su in terminal. But in OSX i need to type in su - what does this - mean? If i just type su in terminal than i get ...
0
votes
1answer
16 views

iTerm2 cannot be opened even after SMC and PRAM resets

I got a gray screen due to "A kext releasing a(n) AppleHDAEngineOutput has corrupted the registry." Once the computer restarted, I cannot open iTerm2 anymore. A 1-lined terminal shows up without the ...
0
votes
0answers
9 views

Is there a way to set up a public/private key login in Terminal Remote Connection?

I have to log into a few different droplets on Digital Ocean and the Terminal Remote Connection app seems like a simple way to do it but it doesn't offer (an obvious) way to save the private key with ...
3
votes
1answer
34 views

In iTerm2 Command Click on URLS does not work when inside a tmux session

When not inside a tmux session, Command-Click on URLs works flawlessly. How can I make links clickable in iTerm2 when inside a tmux session? When hitting Command the mouse pointer changes to the ...
38
votes
9answers
72k views

Why doesn't .bashrc run automatically?

I put some alias commands in my .bashrc file, so that they might be loaded everytime I open a new Terminal window. Yet this doesn't happen. I have to select run script: in the ...
10
votes
5answers
10k views

Where does $LANG variable gets set in Mac OS X?

I've used wget for the first time after installing Lion OS X and I've noticed that wget got localized to my native language. Running set command in terminal showed that my LANG variable represents my ...
1
vote
2answers
50 views

Remove full name from login window

In Mountain Lion, my full name is displayed at the bottom of the log in menu. As I want to sell my computer, I was wondering if there is a way to hide this? (it's the only place that you can see it as ...
7
votes
1answer
64 views

How to “chroot” a terminal inside a DMG?

I'm doing security research and for that purpose I use an SHA-2 encrypted DMG to store the tools and files I work with (containing confidential client info), to protect them from forensic examination ...
2
votes
0answers
29 views

New users can't see Apple applications from Utilities folder in Launchpad

I felt like giving my mess of Launchpad icons a fresh start. So I did defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock On checking Launchpad, it had appeared to have ...
2
votes
2answers
2k views

How do I re-enable the Press and Hold character picker on OS X Lion?

I disabled the character picker by reading this other question, but I want to remove that change and restore the picker. When I type -g ApplePressAndHoldEnabled -bool true into Terminal, it does not ...
1
vote
1answer
66 views

How can I fix this CODESIGNING error?

After having successfully compiled bash and sh for OS X Mavericks our OS X Server's System Log is flooded every 2 or 3 seconds with: ... kernel[0]: CODESIGNING: rejected new signature for ...
1
vote
2answers
291 views

Accidentally removed all commands in terminal

I was following a tutorial and put in the following line: export PATH="~/.composer/vendor/bin/" Now no commands work at all, not even things like ls. What does the command do that I copy and ...
3
votes
4answers
11k views

How do I exit python in the Mountain Lion Terminal?

I'm having a couple problems with basic command line stuff in the terminal of Mountain Lion. control + D does not exit Python as it does in Lion; instead it splits the screen. Meanwhile, I also ...
0
votes
2answers
2k views

“Home” and “End” HotKeys in Vim INSERT Mode with MacBook Pro

I am pretty new to Vim and to Mac, I have a MacBook Pro with Retina Display running OS X 10.8.3, which does NOT have native Home, End, PageUp and PageDown keys. I know the Fn + arrow keys can work in ...
0
votes
1answer
36 views

Launching Terminal Freezes the System for 5 Minutes in Mavericks

Only recently, when I launch Terminal in Mavericks, the system becomes unresponsive temporarily: the spinning wheel appears; I can still move the mouse pointer but nothing responds; if Activity ...
2
votes
0answers
14 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal ...
3
votes
2answers
18 views

See live report of process's status

Under Linux, I can use top to see a live report of what processes are running. An important field I use is the Process Status field, which shows whether a process is running, a zombie, sleeping, etc. ...
0
votes
1answer
19 views

Option+. prints ≥ instead of being recognized as a shortcut

Within the terminal, I used to be able to press Option+. in order to insert the last argument of the last command into the current prompt. On my new setup, pressing this combination simply prints "≥" ...
2
votes
4answers
10k views

Install gcc to mac via Terminal

I have installed Xcode and the command line tools from the Mac Developers website, which I have read a few times is a prerequisite. I also installed the MacPorts program. In terminal: sudo port ...
0
votes
1answer
23 views

Confusion with sudo and multiple local accounts

I am having difficulties figuring out why certain things are much more complicated on a mac terminal than a standard linux shell.. Say I have two local accounts, one administrator called "adm" and a ...
0
votes
1answer
26 views

How to uninstall Git?

Anyone know how to uninstall Git? I would like to uninstall Git using the Uninstall.sh file that came in the git-2.0.1 install bundle. I am unable to find the Uninstall.sh file using Terminal. When ...
0
votes
1answer
26 views

Getting volume information from command line

How do you get the information available by right-click "Get info" via the command line using Terminal. In particular I want the "Created" and "Used" value for DVD volumes. Bonus question: Is there ...
1
vote
0answers
38 views

Terminal window is now blank

A Terminal newbie here. I had downloaded and installed Git, but when I typed "Git --version" I would get illegal instruction. I tried to uninstall Git and now my Terminal window in blank. How do I ...
0
votes
3answers
38 views

In Terminal, how to erase typed command quickly?

In Terminal, let's say I type a long command, but before I press Enter, I decide that actually I don't want to run this command, and want to run another new command instead. In such case, how to ...
0
votes
1answer
507 views

Python IDLE can't be opened by double-clicking .py files in Finder

I can't open .py files in IDLE by double-clicking them in Finder (IDLE is currently set as the default program for opening such files). Nor can I open those files by right-clicking and selecting ...
3
votes
1answer
52 views

OS X Terminal displaying ö when typing |

It's the first time this has happened to me. Does anyone know why this could be happening? I think I configured something wrong in the keyboard settings. This is working fine in Word 2011, for ...
1
vote
0answers
24 views

Click in finder vs “open -a” on command line

I have a file type (.mxl -- compressed MusicXML) which if I double click in Finder opens properly in my .mxl reader (Finale 2014.app) but which if I call "open file.mxl" or "open -a ...
62
votes
4answers
27k views

How can I trigger a Notification Center notification from an AppleScript or shell script?

I'd love to be able to take advantage of 10.8's Notification Center features in AppleScripts and shell scripts I write. Is there a built-in command or a third-party library I can use from either an ...
9
votes
6answers
4k views

sourcing bash profile for root users

Apologies in advance if this question is going to annoy the hell out of everyone as I appreciate, it's been asked in various ways many times before. Please be assured, I have read the archives and ...
0
votes
2answers
18 views

How to access a folder which name is composed of more than 1 word via shell?

I have tried with a simple command: cd Name of the Folder but it's not working, of course. I have also been searching on the web, but the methods I found are not actually working. How can I ...
0
votes
0answers
3 views

Run kinit as AppleScript promting for network username and password

I need to develop a small app (currently using AppleScript to do it) that I can send to users to run a "kinit" shell script command. This is on machines that are not bound to the domain, but needs to ...
16
votes
12answers
5k views

What orthodox file manager for OS X could I use?

I'm looking for a graphical file manager fro OS X, for console Midnight Commander is ok. I need two panels, function keys operations and preferably FTP and SCP support. Also, it would be great to be ...
9
votes
4answers
2k views

How can I play a midi file from terminal?

I'm looking for a most simple command line app (or an on-board tool on Mavericks I am not aware of) to play a midi file from the terminal. As plain as possible, something like play myfile.mid. ...
0
votes
0answers
4 views

Unable to Erase USB / Trying to salvage

I am trying to salvage my USB but I keep running in to errors in Terminal. I attemped: diskutil verifyVolume /dev/disk2 Started file system verification on disk2 Checking file system ** /dev/disk2 ...
0
votes
0answers
12 views

Mac Terminal can't handle utf-8 characters

I've been having some trouble getting UTF-8 characters to display properly in Terminal, so I wrote the following program to run through and print out characters from Code Page 437 (which is the page ...
0
votes
1answer
14 views

How to run a script on login whilst being hidden

I have an applescript (scpt) script that I would like to run on login of a user. I would like the script not be visible in the dock, menu bar, etc. (This would probably mean running it in the ...
1
vote
2answers
76 views

Aufs mount alternative

What union mounts are available on OSX? I've been using Aufs on Ubuntu for the past few years without fail and I'm looking for something similar... Basically, given n directories, merge the contents ...
0
votes
1answer
28 views

How to trigger Notification Centre notification from JavaScript? [closed]

The other question asks the same but using AppleScript. Apple introduced JavaScript as a new language for Automation in OS X 10.10.