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

How can I restart terminal process after finished?

I tend to type exit when I finished with terminal windows. And OS X kindly shows me [Process completed]. I'm ok with it. Is there any magic way to restart a session in that window without creating a ...
0
votes
0answers
8 views

Is there a voice-activated command prompt?

I injured a hand six weeks ago, and, being a programmer/sysadmin, I'm looking into ways to control a Terminal application using my voice (or, I suppose more broadly, not using my left hand). I am ...
3
votes
1answer
3k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
1
vote
2answers
2k views

How can I make an Automator service run a shell script and display the output?

I'm using Automator to run a shell script (ffmpeg transcode to h264) as a 'Service', so that I can just right click the high res .mov file and select the service. It works fine, but as it's ffmpeg it ...
1
vote
2answers
67 views

does iphone5 have a terminal?

I'm new to iphones and mac, but I pretty ok with Linux. I think I could solve some of my networking issues, if I could just get into a bash shell, but I haven't been able to locate a shell. Is there ...
0
votes
0answers
16 views

How to keep imessage running/logged in on a macbook pro

I know I saw a link somewhere before but I can't find it on this site or in my bookmarks. For some reason, my iMessage or some accounts on my iMessage program on my MacBookPro (10.9.5) keeps ...
2
votes
1answer
13 views

Wrong working directory, if bash script is opened via double-click

I wrote a bash script in order to directly start eclipse from different workplace locations. Each workplace contains the script, after running it, eclipse is started with the respective workspace set. ...
0
votes
0answers
22 views

How to disable Bluetooth Sharing via terminal?

I want to disable the Bluetooth Sharing that is located in the sharing preference section. I want to be able to disable it via terminal, does anyone have an idea on how to do that?
0
votes
1answer
28 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
4
votes
1answer
100 views

Terminal paste unreliable

I'm trying to paste text into Terminal (v2.5 build 343, I'm running Yosemite), and it seems to consistently omit characters. For example if I copy the following text to the pasteboard: ...
0
votes
1answer
1k views

Multiple instances of the Mumble client

I have tried command that I found and it works for second and after that second client closes. open -na /Applications/Mumble.app Other command that I tryied with the same resul. ...
2
votes
1answer
44 views

How to replace all Finder files with a placeholder file for each

I have lots of files from a database which are to be copied to a new database, but the files for these are corrupt (They are zero-byte in size and contain no data). Rather than the new database ...
1
vote
2answers
45 views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
0
votes
2answers
25 views

Why can't I easily open web browsers from the terminal application?

In order to run Chrome from the Terminal application, I have to do open -a "Google Chrome" index.html rather than just something like "chrome index.html". The same also seems to be true for ...
0
votes
1answer
18 views

terminal folder access

having a trouble to access few folders in my root user. For example: cannot access - Ideas Infinitas, Treehouse workshops folders. At the same time I can access test_app and some other folders. My ...
17
votes
4answers
64k views

Why does OS X Mavericks block the purge command in Terminal?

When I try the purge command on my terminal, OS X Mavericks gives me the following message: Unable to purge disk buffers: Operation not permitted This hasn't been the default behavior until now. I ...
0
votes
1answer
25 views

Homebrew says my Python installation could cause issues and I'm not sure what to do

I'm just getting started with web development and I'm trying to set up my environment, and I can't do that until Dr Homebrew has discharged me from N00bcake Hospital. This is what I'm getting: ...
2
votes
2answers
53 views

Creating a Bridged Network Connection in Terminal

Okay, I'm struggling a bit here. I'm not all that good with Terminal and sorting out network issues using it but I've managed to scrape by so far. Without using Internet Sharing (because controlling ...
0
votes
0answers
15 views

Configure: error: clang version 3.0 or later is required - but I already have it

I'm trying to follow this RVM installation guide, supposedly for Snow Leopard 10.6.8 (I should point out that $ rvm -v returns -bash: rvm: command not found), but when I run $ curl -L ...
0
votes
0answers
10 views

Code can't open files that have name containing '/' [on hold]

I am trying to write a python program that does various basic things with HTTP requests. I am running into troubling trying to implement a caching feature. If I save the HTML code in a local file and ...
2
votes
1answer
274 views

Compiling / installing shotdetect for OS X

I would like to find scene changes in a video with this command line tool: Shotdetect is a free software (LGPL) which detects shots and scenes from a video. Dependencies are: sudo apt-get ...
5
votes
3answers
4k views

Terminator for Mac OSX

I'm using Ubuntu on a daily basis, and recently (6 months ago) I bought a Mac, so the first thing I did was installing VMWare and Ubuntu on my MBP. Also I'm a developper and I was a huge fan of ...
1
vote
2answers
27 views

How do you disable Printer Sharing via terminal?

I am looking for a command/script to disable the printing sharing feature via terminal. Does anyone have any idea or know how to go about doing this?
2
votes
3answers
46 views

How to add MySQL to $PATH variable to resolve “mysql: command not found”?

I installed MySQL on my Mac, and now I would like to add it to my $PATH variable. I want to be able to type mysql anywhere. I tried adding the following to my .profile file: export ...
45
votes
2answers
58k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
3
votes
2answers
134 views

Script to change downloaded mac wallpaper automatically?

I want to change my mac wallpaper daily with microsoft bing images. I found this script that download the daily picture automatically, but I sill have to set the wallpaper automatically. Is it ...
24
votes
6answers
7k views

How do I speed up new Terminal tab loading time?

How can i speed up the terminal startup in Lion? I'm not referring to the startup of the Terminal application, but to the startup terminal windows, like when i open a new tab. I don't have anything ...
1
vote
1answer
13 views

In which file Terminal.app stores its windows?

Usually after reboot/crash all Terminal windows are re-open automatically, this time they weren't. Where (which folder/file) Terminal.app stores the session/information about its windows which ...
2
votes
1answer
16 views

Mac nl only takes lines 2048 chars long

I'm having an issue where the Mac version of nl will mark a new line after 2048 characters. I tried it on linux, and it doesn't do this. Any idea why it does on Mac, and how to fix it?
2
votes
0answers
6 views

Is there a way to force clockwise pane rotation in iTerm2 with the shortcut keys?

I've often found that when using iTerm2, I'll have like 3 or 4 panes open in one tab. And the shortcut keys for moving between them Cmd + ] and Cmd + [ are very useful, but unpredictable. The reason ...
2
votes
1answer
73 views

How to gain insight into spotlight index?

I'd like to get a list of all indexed files and their path that spotlight came across. How would I do that ? mdutil does not seem to be of any help.
2
votes
1answer
25 views

Can't get Terminal to Display Colour (Mavericks)

I've recently been working on a script to backup files, etc. for my own use but recently I thought it may look nicer if I was able to cleanup and have everything nice and tidy (with colours and what ...
1
vote
1answer
25 views

How can I access the keychain remotely from the command line?

I am storing various passwords (e.g. for remote email servers) in my keychain. From the command line, when logged in locally, I can retrieve these via: security unlock-keychain ...
1
vote
3answers
262 views

Terminal command to move a number of files containing brackets to another folder or trash

Last night I consolidated a music collection into one place and each song is separated by an Artist folder and the track. The problem is that there are a high number of duplicates within these ...
2
votes
2answers
1k views

“xcode-select --install” versus retrieving the dmg from Apple's developer website

I would to ask a question closely related to already existing posts (How to install command line tools without error that is not currently available on Software Update server? and ...
1
vote
3answers
43 views

New terminal to same directory

When I have a terminal window open, ⌘N opens a new one. Is there any way to get the current directory in the new window to automatically be the same as it was on the window where I pressed ⌘N?
0
votes
0answers
15 views

Can I get rid of these timestamps in terminal?

I'm getting Javascript output in my terminal and it currently looks like this: Is there a way to get rid of the timestamps at the beginning of each line? I'm not sure if this is something I somehow ...
5
votes
3answers
6k views

How can I install themes for Terminal?

I am rather new to Mac, but I am trying to get familiar with Terminal and I want to change its theme. I am a bit confused on how to go about installing Solarized themes I am seeing so much of around ...
0
votes
1answer
3k views

Git: command not found during Git installation (Mac OSX 10.6)

I am trying to install Git on my Mac (OSX 10.6) following the official Git tutorial. I had no problem until I had to set my username and my email. Every time I tried I got -bash: git: command not ...
1
vote
1answer
40 views

How to identify file type for a bulk lot of files and attach suitable extension to each

I have just over a thousand (1000) files whose suffix/extension has been changed by a database engine all to the same thing (eg. fileName.abcd where .abcd is on every file regardless of whether it is ...
0
votes
1answer
23 views

mysql: command not found [duplicate]

How do I use MySQL from the CLI? When I use the terminal, I get: Darrens-MacBook-Pro:~ thufir$ Darrens-MacBook-Pro:~ thufir$ mysql -bash: mysql: command not found Darrens-MacBook-Pro:~ thufir$ ...
13
votes
3answers
3k views

How do I find the windowid to pass to screencapture -l?

The command line utility screencapture claims to be able to capture a single window without requiring interaction, but I can't figure out what to pass it. -l<windowid> capture this windowsid ...
1
vote
1answer
18 views

How to install tofrodos in Yosemite via Homebrew?

This thread is based on my attempt to parse windows syntax to unix in this thread. I run successfully brew reinstall tofrodos and get ==> Reinstalling tofrodos ==> Downloading ...
7
votes
2answers
714 views

How do I find the windowid of Google Chrome to pass to screencapture -l [duplicate]

I'd like to use screencapture -l to do automated screen captures of Google Chrome. This requires knowing the windowid of the Google Chrome process that's running. For apps that support Applescript, ...
1
vote
1answer
14 views

Bash automatically creating () and ()! files

I noticed that the Yosemite system has been creating files with names just "()" and "()!" in places where I recently made bash commands and want to know why. I can't even delete them use rm as after I ...
1
vote
2answers
617 views

Rename terminal tab to host alias in ssh config

I am new to using Mac (Mac Pro, OS X 10.8.4) and I connect to many remote hosts using ssh. I have created aliases in .ssh/config file and would like to have the host alias as the name of the tab in ...
11
votes
6answers
22k 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?
0
votes
0answers
20 views

how do I install SIPSAK?

How and where is this installed from on a Mac? For context, SIPSAK is the SIP Swiss Army Knife: sipsak is a command line tool which can send simple requests to a SIP server. It can run additional ...
13
votes
3answers
8k views

How can I “say” to another Mac?

I have two Macs in our house (iMac and MacBook Pro). I would like to use the say command-line utility to type something on my MPB and have it speak on the iMac, rather like an intercom system. Plus, ...
3
votes
2answers
1k views

What are the differences between /usr/bin/login and /usr/bin/bash?

Terminal.app has a setting to select with shell it uses, and the default setting is "Default login shell (/usr/bin/login)". What are the differences between /usr/bin/login and /usr/bin/bash?