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
0answers
27 views

OS X / Finder - Right Click “New Folder with Selection” - how to Increase the Animation Effect Speed?

10.9.x Finder The effect that pulls all the selected items into a new folder from the right click "New Folder with Selection" is really nice, but way too slow for me. Anyone know a terminal command ...
1
vote
1answer
77 views

Automate mobile terminal?

I have a jailbroken iPhone. I use it to reboot my router when my wifi is going slow or messing up. But I'm lazy and I was looking for a way to automate the process. I use shortcuts that mobile ...
0
votes
0answers
22 views

Terminal: Different Profiles, Different Startup Command

In Terminal preferences you can create different "profiles" under the "Settings" tab. After selecting a profile, clicking the "shell" tab will allow you to set a startup command. However, this is not ...
1
vote
1answer
60 views

How do I disable the “theme loaded” message in zsh

Im using zsh as my default shell and loving it. I have random themes enabled, and whenever I load a theme it displays a message on my terminal. How do I disable this message? Im talking about ...
0
votes
0answers
44 views

Problem with w3mimgdisplay installed with MacPorts

I have installed w3mimgdisplay using MacPorts with "+inline_image_imlib2" and see w3mimgdisplay created under "/opt/local/libexec/w3m/w3mimgdisplay". But, still not able to see images inline in w3m ...
0
votes
1answer
1k views

Mavericks Terminal - 'Command Not Found' for everything [duplicate]

About everything (even clear and open) is giving 'Command Not Found' on the Terminal. If I do and echo $PATH, it gives me this. ...
3
votes
2answers
51 views

Looking for a black/white only terminal emulator on Mac

My original question on Stack Overflow can be found here. Basically, I ssh into my linux work station from my Mac and I would like to test my program (that runs on the linux machine) if color output ...
2
votes
1answer
22 views

Date trash was last emptied bash

I'm trying to find out at what date and time the trash was last emptied. Would it be the date modified of the least recently modified file? Does moving it to the trash count as modifying it?
3
votes
3answers
139 views

Get full path of script in PATH environment variable

I was wondering if there is a built-in command in Bash (or even something OSX-specific) that would display the fully resolved path of a script that is in the current PATH environment variable. For ...
3
votes
2answers
87 views

How can I show the full notifications in the notification center?

I cannot read the full notification (see attached). How can I?
2
votes
0answers
126 views

Typing >console in username box—nothing shows up until cancelled

When I type >console into the username box on the login screen, the computer seems to freeze for a very long time. Then I press ^C^C^C^C^D^C^D^D^D^C^D and eventually the computer unfreezes—but ...
2
votes
2answers
714 views

Time in milliseconds since epoch in the terminal

How do I get the time since the epoch, in milliseconds, in the OSX terminal? The Linux/Ubuntu equivalent is date +%s.%N: Linux $ date +%s.%N 1403377762.035521859 Which does not work in my OSX ...
0
votes
0answers
45 views

Plugins with rxvt-unicode

I've just installed urxvt using homebrew: brew install urxvt But I can't find the plugins directory. I used to have them in /usr/lib/urxvt on my Linux machine, but this doesn't seems to work for ...
2
votes
2answers
133 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 ...
2
votes
0answers
59 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 ...
1
vote
3answers
33 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 ...
0
votes
1answer
61 views

How to prevent MacVim from inherenting .profile as if it was Bash itself?

I have this guard in my .profile: if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi if [ -f "$HOME/.bash_aliases" ]; then . ...
1
vote
2answers
43 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
1answer
72 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 ...
2
votes
1answer
84 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 ...
5
votes
2answers
422 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
242 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
79 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
2answers
99 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 ...
0
votes
1answer
30 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 ...
2
votes
2answers
341 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 ...
1
vote
0answers
68 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 ...
2
votes
1answer
143 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 ...
6
votes
6answers
443 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 ...
1
vote
1answer
101 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, ...
2
votes
2answers
107 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 ...
1
vote
2answers
95 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, ...
2
votes
1answer
276 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 ...
1
vote
1answer
811 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
128 views

Error during WebSocket handshake: Status line contains embedded null (using livereload, node-inspector, and karma)

Whenever I run something in my Terminal that requires a websocket to a browser (livereload, node-inspector, karma), I get the following console error "Error during WebSocket handshake: Status line ...
1
vote
1answer
141 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
1answer
55 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
46 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 ...
3
votes
1answer
54 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
2answers
260 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
1answer
36 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 ...
1
vote
2answers
291 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
3k 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 ...
0
votes
0answers
36 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 ...
3
votes
2answers
476 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 ...
1
vote
0answers
39 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 ...
6
votes
2answers
891 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 ...
1
vote
0answers
48 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
13 views

Changed /Users folder permission at boot time [duplicate]

Some application (or script) changes the permission of my /Users folder from 755 to 777 at every boot. So, when I change it back to 755 (or repair perm with DiskUtility) it is good until the next ...
2
votes
1answer
104 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 ...