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

2
votes
2answers
65 views

iTerm2, unicode and sympy

In my both Mac (OS X Mavericks) and Ubuntu machine, I have installed sympy that is a python library for symbolic mathematics. Part of sympy is the pretty print functionality that uses unicode ...
0
votes
1answer
489 views

Can't exec “glibtoolize”: No such file or directory

I have a shell script autogen.sh , I run it under my project directory in terminal: ./autogen.sh I get error: Can't exec "glibtoolize": No such file or directory at ...
1
vote
3answers
26 views

About 'Remote Login' how to logout that?

It's my first post and I'm not quite good in English. If I explained something not clear please let me know. For simple when you logged in Terminal.app (on Mac OSX) the prompt should be ...
12
votes
7answers
5k views

Is there any multiple terminal emulator for Mac OS?

I love the command line and I would like to see an app like Terminator (for Linux) in my MacOs: It seems there are ports of that app for Mac available using Fink or Ports. But I found it's a hell ...
1
vote
1answer
16 views

How to change default LC_TYPE?

My OS X (Mavericks) seems to be setting LC_CTYPE environmental variable to UTF-8 by default. How can I change the default? I need LC_CTYPE to be en_US.UTF-8. There's a catch: I don't want to ...
2
votes
0answers
22 views

How to disable “changing a repeating event” dialog in Mac calendar?

I have a number of repeating events in Calendar (formerly iCal). I often make changes to individual ones on-the-go, but every time it asks me this: Is there a way that I can make the default ...
6
votes
1answer
21k views

How to save and exit “nano .bash_profile” in Terminal?

I need to add some line to nano .bash_profile in Terminal. Then: 1) I enter with this command line: nano .bash_profile 2) Add the line I need 3) now I don't know how to Save and Exit I thought it ...
5
votes
3answers
3k views

How to reset $PATH?

I was trying to add something to $PATH and it went totally wrong. I now can't run any commands such as ls. I've looked at this answer and used the following lines: ...
4
votes
3answers
6k views

Why is my host name wrong at the Terminal prompt when connected to a public WiFi network?

For three days straight, I have connected to the public WiFi network at my local library. Each day, I have seen a different prompt in Terminal. Here are some of the prompts I've seen: zp-pc:~ ...
1
vote
2answers
33 views

How can I list only interface name and assigned IP with ifconfig in terminal

Is there a way using only ifconfig to list only network interface names and their assigned IPs? I am aware that I can do ifconfig | grep inet but this does not include the interface name (en0, en1 ...
1
vote
2answers
381 views

Sync apps preferences between multiple Macs

I tend to keep all my stuff in Dropbox. Now that I bought a second Mac, I thought that keeping also my applications preferences in Dropbox would have been a good idea. I managed to sync some of the ...
4
votes
1answer
700 views

Enable/Disable power nap from within Terminal

How can I enable and/or disable OS X's power nap feature from within Terminal? I guess I can deal with it using some command-line programs such as defaults write ... etc, but don't know what the exact ...
1
vote
1answer
59 views

How do I log into another user's OS from my network OS using terminal?

To preface this: I'm sure this has been asked but I don't know exactly what I'm searching for or what terms to use, so I am going to ask here by explaining my situation. I am logged onto a network OS ...
5
votes
2answers
368 views

Command to close terminal window

When I want to close a window I type exit : mbp-thomas in ~ ○ → exit logout [Opération terminée] Then cmd + w to close the window. Is there a way to do it with a little script like if I type ...
2
votes
1answer
61 views

Changed the mod for ~/.. directory by mistake, made it 744, can't boot anymore

I ran the following command by mistake: sudo chmod 744 ~/.. and I can't boot my macbook anymore, it freezes with the brown screen and ajax-style spin. What should I do to make it work normally ...
2
votes
2answers
74 views

How to keep a file hidden in Finder, but readable, writable and visible to an app?

An otherwise great app I'm using, annoys me as every time I start it, it writes to 2 files in the root of my user account which are clearly visible. Now, I have used the terminal command "sudo chflags ...
2
votes
1answer
78 views

How to see total uptime on a mac [duplicate]

Back when I had a Windows machine I used a program called CrystalDiskInfo to see total hours of operation of my computer. I only used the numbers for fun or to like indicate how "used" my PC was.. ...
3
votes
0answers
34 views

Changing terminal colors for normal files when ls -G or within .bash_profile

So I followed this thread (Changing terminal color) and got all of the colors working for directories and such, except however, for normal files such as a Gemfile or .txt files or .java files or .rb ...
2
votes
1answer
94 views

Installing Mavericks via Terminal

I have the Install OS X Mavericks.app in Recovery Mode and I want to execute it somehow to start the installation from the terminal, so I don't need the internet connection. I executed the ...
7
votes
5answers
9k 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 IP addresses. How do I get the specific one for SSHing et al?
18
votes
10answers
8k views

How can I sleep the display from Terminal?

I'd like to be able to turn my screen off from command line. I know there's the keyboard shortcut ctrl+⇧+⏏ but I want to do it from a shell script or remotely. Is there a way?
0
votes
1answer
26 views

Why do I need to type ./mysql even that I am in the folder? [duplicate]

So I am in a folder where mysql executable already is.. When I try mysql in terminal I get: -bash: mysql: command not found But this will work: Korays-MacBook-Pro:bin koraytugay$ ./mysql Welcome to ...
23
votes
6answers
54k views

Is there an OS X terminal program that can access serial ports?

What programs can act as a terminal and access serial ports? This is not for terminal access on an IP connection, this is so I can access a hardware device plugged into a USB/serial converter running ...
1
vote
0answers
39 views

When adding passwords to Keychain Access from command line NTLM is converted to MLTN

This is one of the weirdest things... I script adding passwords to Keychain Access when I log in to provide a "SSO" like experience. I use AppleScript to run some terminal commands that look like ...
6
votes
6answers
330 views

How to prevent the application launched in Terminal from undesirably exiting?

I launch applications from the Terminal with commands like this one : /Applications/Mail.app/Contents/MacOS/Mail & The important part is the &. For Unix / Linux / Solaris : I have ...
2
votes
1answer
68 views

OS X Terminal window disappears on launch

I just unwrapped a MacBook Pro (OSX 10.9.3). I used the Migration Assistant to bring things over from my old mbp, and most everything seems to be working except something very important: the Terminal ...
1
vote
1answer
22 views

Error Installing Jekyll on Mac

I'm trying to install Jekyll, a simple, blog-aware, static site generator. When I attempted to run the terminal command gem install jekyll, I got this error: I then tried to update my RubyGems, ...
0
votes
1answer
62 views

Scaled Resolution switching interfering with Terminal startup

I saved a window group in Terminal and set that as my default startup group in Terminal preferences "On startup open: window group..." If I then switch my resolution scaling from "More Space" to ...
2
votes
2answers
43 views

Colors by file type in terminal (running bash)

I'm new to Apple (coming from Linux) and have been stymied in every attempt to use my .bash_profile to get my terminal to color files by their extension (a process which was a single line in my .cshrc ...
4
votes
1answer
268 views

Printer Deploy with and custom preset profiles to Mac OS X workstations

How would I go about deploying a network printer (Sharp MX-2600N) to Mac OS X machines that would include a custom printer preset profile (Embedded Printer User Authentication Code)? Ideal Method of ...
1
vote
2answers
70 views

Is there a way to rename menu items in Mac?

For example, in Finder, when you CMD+C to copy a file, the Menu for pasting it is called "Paste Item". Is there a way to rename that simply to "Paste" ? I'd like to do this for quite a few programs, ...
24
votes
5answers
14k views

Can I disable Dashboard in Mountain Lion?

I'm wondering if there's a way to disable the dashboard in Mountain Lion. I never use it and I think it's consuming processor and memory powers.
2
votes
1answer
82 views

Command Not found upon opening Terminal

When I open a new terminal, I get the following: Last login: Sun Jun 1 16:39:07 on ttys000 -bash: Setting: command not found NAME-OF-COMPUTER-MacBook-Pro:~ name$ I am used to seeing the first and ...
6
votes
2answers
228 views

How do I disable (and re-enable) my Thunderbolt port from the terminal?

I've been having this problem with my Matrox DualHead2Go ME and my late 2011 15" MBP (running 10.9.2). When the displays wake from sleep, the external monitor does not re-awake. I've gathered that ...
5
votes
1answer
3k views

How do I get Wi-Fi info from within Terminal?

Is there a way to get BSSID and the list of available Wi-Fi networks from within Terminal? I.e. I'm looking for something similar to ifconfig run0 scan on OpenBSD, which lists all access points, ...
1
vote
2answers
111 views

How to list bluetooth devices from command line

I have to list all available bluetooth devices from command line. I tried to google it, but got only results like "how to turn on bluetooth from terminal". Simply: bluetooth scan Thanks for help in ...
1
vote
1answer
45 views

How to move file from one users account to another? Permission denied.

I'm trying to move the file of a virtual machine from one users account to the other. So basically I want to move /Users/joe/Win7.vm to /Users/jane/Win7.vm but I can't figure out how to do it through ...
3
votes
0answers
36 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 ...
0
votes
0answers
27 views

Bind exception loop while trying to run Resin

I'm running into this issue while trying to run Resin under OSX 10.9, looks like it might be a permissions thing. I've already poked holes in my firewall using the following. sudo ipfw add 40000 ...
1
vote
1answer
26 views

Resource is busy, but lsof doesn't think so

Occasionally, I get file (typically after they are edited by Microsoft Word) that I can not delete: > rm -rf foo.docx rm: M_AI_SO.docx: Resource busy However, lsof doesn't report anything, even ...
3
votes
1answer
38 views

Show hidden files in SELECT folder only

How do I show hidden files in one directory only? I have a development folder that I'd like to see hidden files in, but I don't want to see hidden files anywhere else on my computer. Here is the code ...
2
votes
1answer
50 views

hdiutil: compact failed – Function not implemented

When compacting a sparse image with the hdiutil compact command, it fails with the message hdiutil: compact failed – Function not implemented.
1
vote
2answers
113 views

Shell variable PROMPT_COMMAND not working as intended?

I want my bash prompt to change depending on external conditions. Here is excerpt from the bash manual: PROMPT_COMMAND: If set, the value is executed as a command prior to issuing each primary ...
1
vote
1answer
357 views

Bash or sh cannot execute any binary files

While I am able to execute binaries, when the terminal is open, if I type: /bin/bash make or /bin/sh ls I get: /usr/bin/make: /usr/bin/make: cannot execute binary file Why is that? I am on ...
3
votes
2answers
320 views

Why is opencv not using all cores after upgrading to Mavericks?

I'm running a CPU intensive command on Mavericks (Opencv_traincasscade). Under Mountain Lion the process used to use all 8 cores all the way though. However after upgrading it drops to 1 core after ...
7
votes
6answers
392 views

Completion for git commands

I recently switched from using an Ubuntu box for the last 7 years to a Mac. I have read other posts like Switching from Ubuntu to OS X and I'm lost and What is the difference between iTerm2 and ...
0
votes
0answers
34 views

For a bash script I want to replace a folder without changing owner and permissions

I want to replace a folder with cp -f without changing owner and permissions cp -R -f "newfolder" "oldfolder" Because I create backups of the old folder with the bash script I tried to use chmod ...
1
vote
0answers
37 views

Terminal speed up doesn't accept command line arguments from outside source?

From a previous suggestion I changed terminals startup command from default to '/usr/bin/bash' which I created as a link to '/bin/bash' which stops terminal from login in every time I open a tab ...
1
vote
0answers
36 views

Is it possible to disable forced monospace in Terminal.app?

In Terminal.app in Mavericks, regardless of which font you use, the font metrics are ignored and forced monospacing is applied instead. Is there a way to disable this? Ridiculous example of the ...
2
votes
1answer
63 views

Shell scripting: Why does only the “-” hyphen throw an error?

Goal: Cleaning up Selectively truncate filenames in my nvALT notes folder. I tried using a productivity blogger's suggestion (which eludes me after a thorough search) to prepend ^ > - + to ...