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
41 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 ...
3
votes
2answers
28 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
21 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 "≥" ...
0
votes
1answer
48 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
0answers
30 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
41 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
39 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 ...
1
vote
0answers
25 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 ...
1
vote
1answer
40 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
2answers
26 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
1answer
28 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
0answers
13 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 ...
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
20 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
15 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 ...
0
votes
1answer
75 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.
0
votes
1answer
50 views

Terminal command `screen` will not split windows vertically

Macs come with screen natively installed, but I seem to have a problem with mine. After running screen and creating another window (ctrl+a, c), the split command (ctrl+a, |) won't do anything. ...
0
votes
2answers
36 views

How to change terminal $HOME variable? My terminal can't even be opened now

I mean change $HOME not by defining in ~/.bash_profile, but loading the variable when shell opens. By the way, after some misoperation I cannot even get into the Terminal now... It now says [Process ...
2
votes
1answer
33 views

dd ruined my USB stick, how do I recover?

I tried to copy a Linux distro over to my USB using DD. But half way through it failed because the computer went to sleep or something. I plugged the USB in and I get a message saying it's unreadable ...
2
votes
1answer
29 views

How do I forcibly shut down a specific application at a pre-determined time?

I don't know if there's an available app or perhaps a terminal command, but I'd like to forcibly shut down a specific application at a specific time, without the option to cancel. I'd like it so I ...
7
votes
1answer
75 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 ...
0
votes
2answers
47 views

Open new Terminal tab in current working directory doesn't work

In the Terminal preferences you can find an option to open new windows and tabs in the current working directory. Yet there's a message that says that programs notify Terminal about the current ...
2
votes
1answer
82 views

Updating and running Git through Homebrew instead of XCode

On my new 2014 Mac (OS X 10.9 Mavericks), I have just installed Git using Homebrew. In order to install Homebrew, I had to download and install XCode 5. So now, when I enter the command which git, I ...
1
vote
1answer
59 views

Why can't I install Python-Markdown?

I've had some weird issues with my python install recently but I've usually been able to get it working. However I'm running into a really bizarre issue right now where pip is installing things that ...
1
vote
1answer
70 views

Cannot SSH from OS X Mavericks to Solaris server

Well, this is embarrassing. It was a case sensitive issue. Prior to posting the -v output on this site, and probably due to looking at this problem for too long, I forgot the fundamental rule of case ...
1
vote
1answer
22 views

How can I ask for input and then pass the variable in terminal?

I'm currently trying to do something quite odd. I want to automate updates on multiple computers in my office and first I need to open a program and said program has two fields; one for username and ...
2
votes
1answer
91 views

How to open Emacs like in Linux Terminal

I just got a Macbook (my first one!) and want to know how to configure Emacs to run in the same way it runs in Linux. That is, if I type "emacs foo.c &" in the Terminal, I want to either open ...
1
vote
1answer
51 views

Change default ssh:// behavior

Currently, the protocol handler ssh:// opens the link in a new Terminal.app window. I'd like to default it so it opens it in a new tab instead. How can I change this behavior? Backstory: I use Alfred ...
1
vote
1answer
41 views

Terminal “LoadModule” - command not found

I installed via homebrew the new php56 version. To activate it and use it I typed this in the Terminal: LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so But it says: ...
1
vote
1answer
32 views

Trying to make terminal alias

I'm trying to create an alias in my .bash_profile to run an application in the terminal window (Julia programming language), the same way you would run Python from the terminal window by typing ...
1
vote
1answer
33 views

how to make Terminal (unix) use Microsoft Outlook instead of Apple Mail

We use Microsoft Outlook at work so I need to be able to use Microsoft Outlook instead of Apple's Mail program when I invoke it in Bash. Can anyone help me associate programs inside of Bash?
1
vote
1answer
55 views

Disable line wrapping and horizontal scrolling for output in iTerm

I want to disable the interactive line wrapping that iterm does in my terminal application. I can run $ python -c 'print "\x1b[?7l"' to disable line wrapping on output, so long lines like $ ...
0
votes
1answer
59 views

Mac OS X Terminal - Basic commands not found by shell [duplicate]

I've had some problems recently with terminal. The shell isn't able to execute basic commands, since they are not being found. Here's an example : -bash: ls: command not found I've been doing some ...
1
vote
1answer
32 views

Installing software on a MacBook

I'm switching from PC to a MacBook and wondered the best convention for installing new software. For example, I've downloaded the Atom IDE, unzipped the 4 files and put into the ...
4
votes
2answers
82 views

How to check the exit status of an application after using 'open' in shell

I've looked all over for this and I'm not entirely sure how to do this. I want to use a bash script to open an application using 'open' and then check the exit status of the application after it has ...
0
votes
1answer
93 views

Applescript Invoke Specific User and Password

I have a do shell script that I need to run in Applescript, but it needs to run as a different user. It is to be deployed into the student's network drive as a standalone application that the students ...
0
votes
0answers
252 views

How to access a connected iPhone device from within Terminal?

How can I access the connected iPhone or iPad from within Terminal on OS X? I want to get all the photos (only photos) from the connected iDevice and save it to any directory in my OS X filesystem. I ...
0
votes
1answer
78 views

See all Apple Hidden Files

I came from Windows 2 years ago and I knew there were hidden files in all OS's. As Windows has the simple option to show them to you, I supposed that if I contacted Apple support they would tell me ...
0
votes
1answer
32 views

Identifying users who are sharing

When I select Restart from the Apple menu and get the alert "There is a user sharing this computer...", I would like to know which user (e.g. their IP address or some other identification) is sharing. ...
1
vote
2answers
48 views

Change default Preview window size?

I'm working with LaTex and I'm using a text editor that, when I compile LaTeX files, runs a script to open the compiled pdf in Preview. The trouble is that Preview opens in the same default dimensions ...
4
votes
1answer
70 views

System hotkey to execute cmus-remote?

I am a huge fan of the terminal-based music player cmus. It does everything I want from a music player and nothing I don't. I want to use it instead of iTunes on my Macbook. I installed it via ...
1
vote
0answers
33 views

How to display unicode chars in emacs when running in terminal

This is not strictly a OSX question but someone in here probably has a solution. I'm running emacs from the command line and I simply can't get emacs to correctly show Unicode characters. Everything ...
6
votes
2answers
546 views

Change *.txt to *.csv

How can I rename all *.txt in a directory to *.csv files in the terminal (Mavericks). I tried following inside the directory: mv *.txt *.csv
1
vote
1answer
69 views

Can I execute a Terminal command in a new tab?

It just occurred to me that it would be incredibly useful if I could type a command in one Terminal tab, and then execute it in a new background or foreground tab. For example, this would be awesome ...
2
votes
1answer
276 views

Why doesn't (can't?) terminal support the x11 protocol?

It would be great to be able to x tunnel over ssh; why does one have to use XQuartz (etc) instead?
0
votes
0answers
131 views

Change source in Audio MIDI Setup via command line?

Is there a way to change the AirPlay source in Audio MIDI Setup via the command line (currently I'm doing this with GUI scripting)? My idea is to change the source with the defaults command in the ...
3
votes
1answer
171 views

What is the difference between 'Capacity' and '%iused' when running the 'df' command in the terminal

When I run the df command I'm getting different values for capacity and %iused. What is the difference between them?
1
vote
1answer
83 views

Enable right click Magic Mouse in Terminal

I am trying to enable the right click on a Magic Mouse connected to an iMac running 10.6.8, but due to parental controls, I am unable to gain access to the Mouse System Preferences. I know you can ...
1
vote
2answers
122 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 ...
0
votes
0answers
35 views

OSX 10.9.4 Other sound device selected; sound still from internal speakers

This issue here is my exact problem (his was unsolved): OS X ML 10.8.2 sound from certain applications going to non-selected sound card? I have "Sound Flower 2ch" device selected, most all of the ...