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

1
vote
3answers
1k views

Clear Output Screen from C program [closed]

I am using a Macbook Air. I used system("cls"); and system("clear"). That would not work. It displays on the output screen (xcode output screen) that the command cannot be found. I am using the C ...
2
votes
1answer
66 views

Command+Tab misbehaving for apps on multiple monitors

I tend to keep a few Terminal windows open in one monitor, and another Terminal window and Chrome open in another monitor. When I'm using a single monitor, pressing ⌘⇥ remembers which Terminal window ...
0
votes
0answers
41 views

Why does changing password in System Preferences work when it doesn't through Terminal?

My question might also be put, "What does System Preferences -> Users & Accounts do to change a user's password that I'm missing in the command line?" The desktop is joined to both OD and AD ...
1
vote
2answers
38 views

Add commandline app shortcut

How do I run the app: ~/ngrok by typing ngrok? I want to add a shortcut to the ~/ngrok location so that I don't need to know the place where it is when I run the app.
2
votes
4answers
301 views

How to open a new Terminal tab in current working directory?

I want to create and run a bash function that: cd into a project's directory Open a new tab in Terminal in the same directory Open my dev tools and start dev services Item #2 doesn't work as ...
4
votes
2answers
14k views

How do I convert a suitcase font?

I have a font set - Type: Font Suitcase I am sure I have used a terminal command to convert it to a TTF or OTF. I don't really want to pay for software to do so. What is the best way of converting ...
1
vote
1answer
1k views

Terminal shows hostname from old machine, not new machine

Right now I have a Mac Mini. I migrated macbook pro data from a time machine, but I didn't do it from the beginning of my startup. I used the migration assistance to migrate the data. However, I'm ...
0
votes
0answers
43 views

Xvfb hangs while loading video extensions

I'm trying to get xvfb from XQuartz 2.7.5 running properly on 10.9. I'm starting the server with: Xvfb :30 -ac -screen 0 900x900x24 and it's hanging on Initializing built-in extension ...
2
votes
0answers
20 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
0
votes
0answers
16 views

ls doesn't work on folder after time machine restoration

i find that if i attempt to ls on a folder after transferring the folder from windows 7 to osx via a FAT32 drive, i am unable to get a directory listing. I've tried the following: attempted to ...
4
votes
1answer
47 views

Graphical man pages viewer in Terminal.app

There is a feature in terminal to view man-page of selected string in external window with ⌃⌘? shortcut. But it has a priority to display preinstalled man pages. So for example I've installed gnu ...
5
votes
1answer
303 views

How do I run this command in verbose output mode?

I want to update my OS X Mavericks USB key and would like to be able to see what my mac is doing after I enter the following command. sudo /Applications/Install\ OS\ X\ ...
0
votes
1answer
50 views

Preventing desktop jump when window is open on another desktop?

I have setup 2 Desktops in Mavericks (Mission Control). On "Desktop 2" there are some programs that need to run, but which I use rarely, for example a Terminal with some server tasks. Then on ...
1
vote
1answer
1k views

How do I re enable a permanently disabled Notification Center in Mavericks?

I disabled my notification center but i want to re enable it again i followed this link "How do I permanently disable Notification Center in Mavericks?"
1
vote
4answers
69 views

Terminal: Adding logic to 'find' directories containing either [criteria A] or [criteria B]

I have inherited a vast media archive without a unifying organizational scheme. Its contents date back at least 10 years. I have been asked to find a needle in this hay stack, and I have some guesses ...
0
votes
0answers
15 views

Strange word in Terminal Bash Prompt [duplicate]

When I launch terminal I'm greeted with: Last login: Thu May 1 15:36:29 on ttys000 fib:~ nyx$ What is fib and why is it there? Will be great if help can be provided to troubleshoot this...
0
votes
1answer
33 views

New mac - installed tmux but can't use mouse in for pane switching

I have the required setw / setg setting for mouse in my .tmux.conf but they aren't working. I've done tmux source-file .tmux.conf I can use tmux and split windows with my remapped keys and other ...
1
vote
1answer
34 views

Yara in terminal

I am quite new to mac and I came across something that I think is unusual (After researching the web). When I open the terminal application, I get a "Yara:" string before the command prompt... Is it ...
0
votes
2answers
161 views

Where is the official Apple documentation for the Terminal App? I need a list of escape sequences

Terminal.app does not implement all xterm sequences. I need to get the complete list of what it does implement. Is it available anywhere?
3
votes
2answers
2k views

How to debug Trace/BPT trap: 5?

I get a Trace/BPT trap: 5 error when using the open command: $ open -a Emacs Trace/BPT trap: 5 $ open -a Safari Trace/BPT trap: 5 $ open -a TextEdit Trace/BPT trap: 5 Any suggestions how I can ...
0
votes
0answers
28 views

What is the equivolent of “dmesg -c” on OSX?

How do I clear dmesg in OSX? In linux I simply run dmesg -c. dmesg, -C, --clear Clear the ring buffer.
1
vote
1answer
53 views

Why does my terminal open with “Basic” settings

I have a laptop running OS X 10.9.2 and 10.7.5. On both I use Terminal extensively. I have Terminal set up open with Homebrew settings on startup on both 10.7 and 10.9. The issue occurs when I ...
2
votes
3answers
262 views

Running a bunch of commands in Terminal

I run the following commands for logkext a lot in my terminal and would like a know a way to automate the whole process. Open terminal type "sudo logKextClient" Type in administrator password ...
2
votes
2answers
34 views

How to restore the computer's username in Terminal?

I would like to restore the previous name (default) in my terminal. How can I do that? I changed to $ sign only by applying this code: echo "export PS1='$ '" >> ~/.bash_profile . ...
6
votes
3answers
7k views

How to hide computer name and user name in terminal command prompt

How can I hide username and computer in terminal command prompt? In Terminal it says Last login: Mon Jan 13 00:00:14 on ttys000 Whatever:~ UserName$ Is it possible to show just the current ...
1
vote
2answers
418 views

How to automount SSHFS volumes with FUSE OS X on Mavericks

Iv'e managed to get my ssh volumes mounted with SSHFS via the command line but would really like is to have them auto mount on login. So far, I've set up a launchAgent to run a shell script that ...
3
votes
3answers
753 views

look up a word in Dictionary.app in Terminal

Is there a bash or applescript to look up a word in /Applications/Dictionary.app from a Terminal window ? open -a /Applications/Dictionary.app/ --args word ignores --args, says "type a word to look ...
0
votes
1answer
73 views

Whats the equivalent of the unix tree command on OSX

Whats the equivalent of the unix tree command on OSX (10.8.5)
0
votes
1answer
27 views

Monitor network connection process / delay

I'd like to identify what in the world delays my OSX 10.9.2 system from connecting to wifi upon waking from sleep. What is the right log to read or script to run or netstat or lsof command to run to ...
0
votes
1answer
44 views

How to not let octave start new window?

I run octave in terminal, but whenever I use "Octave" to start octave (from terminal) or select from mission control, it starts a new terminal window and I find it annoying. How can I make octave run ...
2
votes
0answers
43 views

how to turn off rotating cube animation upon user switch?

How to turn off rotating cube animation upon user switch? I apparently need to pad out this qwuestion, so i will add that it makes me dizzy thank you!
1
vote
0answers
43 views

Terminal Command to Check Available USB Ports

I recently took a trip and was utilizing a USB GPS Device push coordinates to a file. In the middle of the day the device decided to stop working. We were never able to get it back working again ...
1
vote
2answers
76 views

OS X Terminal not recognizing any commands

I recently tried to install CoffeeScript on my mac and now am unable to use even the most basic of commands like ls, cd and so on. Something tells me that it's because the $PATH variable has changed. ...
4
votes
2answers
3k views

error: There was a problem with the editor 'vi' when using it with git

I have this strange problem with using vi as the editor for git commit -a. Normal flow is: I type git commit -a, vi appears, I enter my commit message, and then :wq to save & exit from vi. This ...
4
votes
1answer
89 views

Set a custom dock icon for an application instance via Terminal

I'm frequently opening multiple instances of applications, especially Emacs, since I may be working on different projects on the same time, and I find this the best way to manage this (yes, I know ...
1
vote
1answer
48 views

Why are the hidden files/directories seen in Terminal color settings?

When I tried to set my Terminal color by importing a color scheme stored in ~/Dropbox/.personal/myColor.Terminal, it didn't display the hidden directories, including ~/Dropbox/.personal (and other ...
0
votes
0answers
45 views

Rsync'd Files Are Hidden Through Finder, Visible Through Terminal

I have an hard drive from an previous MacBook that I need transferred to a NAS device. I used sudo rsync -r --progress /Volumes/oldDrive /Volumes/NASdrive to copy the files to the NAS drive. I need ...
1
vote
0answers
14 views

To have inkscape's terminal scripts in terminal like in Linux

I am trying to write this makefile in OSX. I have installed Inkscape but it does not have the script that allows you run commands in terminal like this inkscape $(SOURCE).svg -w $(WIDTH) ...
2
votes
1answer
373 views

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
0
votes
0answers
13 views

Ensure that the user is signed in after a reboot via Terminal.app

In the User settings I have Automatically Sign In as: . However, when I reboot the machine via SSH in the Terminal.app the machine reboots, but does not sign in the specified user and is stuck at the ...
1
vote
1answer
239 views

How to create a VPN connection via terminal?

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal. The reason why I want to do this is that I want to write a small program in Python which ...
10
votes
2answers
3k views

Prettify OS X console by coloring output?

OS X terminal is not using colors for highlighting output from different commands, for example ls. When compared with other systems like Ubuntu, this is a big loss of accessibility/productivity. ...
0
votes
1answer
57 views

Copying ssh private key with finder, but can't see it with console

Background: I generated an additional ssh key-pair on my windows 7 workplace computer. I placed the corresponding public keys in my bitbucket.org and github.com account. I am using atlassian ...
2
votes
1answer
903 views

Trouble in Automator's Shell Script after OS X 10.9 Mavericks upgrade

I've got a problem. I use from lot of time an Automator's shell script: cat >> ~/Dropbox/ClipBoard/Appunti\ Mac\ del\ $(date +\%Y-\%m-\%d).txt It ever worked but, after Mavericks upgrade, ...
3
votes
2answers
156 views

Add Static ARP Entry at Boot

I'm new to Mac OS X. On Linux I'd: append to /etc/rc.local arp -i eth0 -s 192.168.1.1 00:00:00:00:00:00 I've figured out how to do it in Terminal: sudo arp -s 192.168.1.1 00:00:00:00:00:00 But ...
1
vote
3answers
889 views

How do I undo “export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile”

I was trying to install homebrew, which wasn't working. It told me to do echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile. However this wasn't having any affect, and I thought maybe it ...
0
votes
1answer
17 views

Is there a way to turn off LibreOfficeUpdate via terminal?

Good morning everyone. I administrate few MacBook laptops (in remote locations). We control the versions of software that we allow users to use for compatibility issues. But end users nag as to ...
1
vote
1answer
363 views

need to script connection to telnet and send commands to remote device with no user input

Ok I need some help making a script that will connect to a server and send 2 commands Ideally I would have telnet 192.168.2.230 9993 and once it logs in (no user name or password required - the ...
0
votes
2answers
382 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 ...
2
votes
1answer
74 views

Weird OS X Terminal Bug: Cursor won't go back to end of line after backtracking

I have an interesting problem: when I type something in the terminal as follows: ~ me$ hello<cursor> and backtrack: ~ me$ he<cursor>llo and then try to return to the end to continue ...