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
1answer
61 views

Strange characters appearing in Terminal

When using Terminal, I sometimes get the following appearing. Last login: Fri Dec 27 22:04:56 on ttys002 ޕ:~ agrimm$ cd ruby ޕ:ruby agrimm$ cd .. ޕ:~ agrimm$ cd ruby/ ޕ:ruby agrimm$ pwd ...
3
votes
1answer
111 views

Command Line: create a link to folder and access files in this folder

I want to do this thing: Create a link to a folder. Put this link in home (~) directory Access files in linked folder from home directory (~/LinkToFolder/file) What is the best way to it? Main ...
3
votes
2answers
400 views

Change compile configuration of package installation in brew

How can I change the compiler configuration when I use brew install? I want to compile vim with +farsi using brew. But it seems that +farsi is not available options in brew: $ brew install +farsi vim ...
2
votes
2answers
624 views

How to put a custom launcher in the Dock (Mavericks)

I am new to Mac OS (I am currently using Mavericks) and I have performed google searches as well as search on StackExchange regarding my question but the discussions I came across don't quite answer ...
2
votes
2answers
40 views

Defining some global GIT settings to be automatically inherited

Sysnopsis Coming from a Linux background I still find Apples' modifications to the Unix hierarchy somewhat confusing. Nevertheless these subtle changes make it difficult for me to quickly do what I ...
0
votes
1answer
33 views

Why are the terminal color brighter than the ones I set?

I've changed my terminal's color but, as always, the color I set are rendered brighter than they really are. Here's the proof, I set the exact same color on ST and on my term, you can clearly see the ...
1
vote
1answer
32 views

OS X Terminal fn+delete doesn't work, prints ~

I recently did a fresh install of Mavericks, and ever since I haven't been able to use the fndelete keystroke in Terminal. On the command prompt, fndelete prints ~ and if I'm in vim, fndelete will ...
5
votes
4answers
176 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 ...
1
vote
2answers
143 views

What options does Terminal pass to bash on startup?

In the Terminal preferences, I'm able to configure the Terminal to "Open shells with:" -> "Command (complete path):" /opt/local/bin/bash. What options is the terminal passing when invoking this ...
2
votes
1answer
85 views

Bash Terminal keeps showing “No such file or directory” at startup

-bash: /Users/MarksMac/Library/Enthought/Canopy_64bit/User/bin/activate: No such file or directory Basically, how do i remove the above error? I am using a mac 10.9.1 I have tried looking up ...
2
votes
2answers
96 views

Why isn't `history -a` working?

I am working under OS X 10.9.1 (Mavericks), using Terminal, which reports that it is GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) I noticed some weird issues where history was not ...
1
vote
1answer
37 views

Open Terminal to a Specific Directory [duplicate]

On Windows I can Shift Right-click in a folder and I am presented with the option to Open a Command Window Here. Is there a way I can do this on my MacBook Air? Or, do I need to open the terminal ...
3
votes
0answers
55 views

Can the default permissions on /dev/disk* be changed?

Is it possibile to change default permissions /dev/disk*? In Linux this is done in the udev configuration files; which is the equivalent on OS X? I'd like to give group write permissions so members ...
1
vote
1answer
148 views

Change default alert sound from terminal in Mac OSX

The version of Mac OS X being used is 10.8.5. When I click the back button on an empty terminal windows if give a alert sound which is the 'Funk' sound in the System Preferences -> Sound -> Sound ...
0
votes
0answers
44 views

Opening Terminal shows a list of ttys - unable to use

Having the latest Mavericks installed, I tried to update PATH using nano and creating a .bash_profile file. I'm not sure what happened, but now when trying to run Terminal all that shows is a list of ...
2
votes
1answer
79 views

How can I rename an ordered list of files with an ordered list of file names?

I have a series of files. I need to apply a series of file names. So, 001.jpg -> apple.jpg 002.jpg -> banana.jpg 003.jpg -> orange.jpg etc. I will have to repeat this for each of 16 folders with ...
1
vote
1answer
37 views

iterm - what's the key-combo to switch panes?

I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful. How do I then switch between the two panes (see below) using the keyboard? I know I can use the mouse ...
2
votes
0answers
50 views

Activity Monitor confusion

I have two java programs that run forever until I terminate the process, I start both at once using a script.... Cobrakai$more startCapture nohup startCaptureA.sh & nohup startCaptureB.sh & ...
2
votes
0answers
46 views

How to prevent OS X's 'screen' command from resizing the terminal upon entry?

I usually run my terminal sessions in 132 character wide mode in iTerm. However, when I start the 'screen' command, it re-sizes the terminal back to 80 characters. Is there a way to prevent this?
1
vote
1answer
140 views

Does Apache require special settings to run a command?

I am trying to create an image using Bio::Perl/Bio::Graphics and implement it on my webserver. However, whenever I am trying to run my scripts online, the command line does not respond to run my ...
0
votes
0answers
31 views

Cannot return to EOL after leaving in Bash vi mode

In terminal, after leaving the EOL in bash in vi mode, I cannot return to it, which makes it quite annoying to delete the last character. To replicate, with blank bash_profile and inputrc, set ...
2
votes
1answer
1k views

Full privileges on .command file, but it says I don't have appropriate privileges

I have a command that I regularly need to run in the Terminal (for application code signing). Normally I launch the Terminal, press the up arrow until I reach the command I want, and then hit enter. ...
5
votes
5answers
762 views

OSX Bash for loop - issues with spaces in folder names?

I'm getting a bit confused on how to handle spaces in path names when returned in a for loop. Rationale: I'm cleaning up the permissions on folders and files that I copy over from Windows. Most of ...
0
votes
2answers
916 views

Sudo password doesn't work even if I have no password

I've erased the password from preferencenow I can log in without using any password but when I run a sudocommand terminal ask me a password if I insert nothing or the old one it return error. What's ...
0
votes
1answer
451 views

Unable to enable AVB under Mavericks on MacBook Pro

I have a MacBook Pro that has the Thunderbolt hardware which means it should be able to support EthernetAVB. I have done a search and found the command to enable it at the website Manual Pagez. The ...
0
votes
4answers
122 views

How to get to know OS X/Unix better? [closed]

Not sure how to ask this but this problem has troubled me for so long. I'd long been a DOS/Windows user until about 12 years ago when Mac OS X first came out I turned to the Mac, and stayed here ever ...
2
votes
1answer
823 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 ...
3
votes
2answers
172 views

Parental Controls Through Terminal

I have it setup so that my son only has 1 hour of computer use per day. He commonly needs extensions, and I think the only solution to do it while I am away is through terminal. Is there a way to ...
1
vote
0answers
127 views

Building netgen on Mac OS 10.9 - problem with tcl and tk

I am a very beginner in building from source on Mac. (It's my first request here...) I am trying to build netgen and ngsolve. Mac OS 10.9, Xcode 5.0.2, macports version 2.2.1 After installing tcl ...
1
vote
1answer
60 views

Add color to custom ls alias

I created an alias to display permissions in octet format: alias lso="ls -l | awk ' { k=0; for (i=0;i<=8;i++) k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i)); if (k) printf("%0o ",k); ...
1
vote
1answer
222 views

How do I change mouse settings instantaneously from Terminal?

My school has a bunch of Macs that are always logged in as Guest and have very annoying default settings (natural scrolling, no secondary mouse button, etc), so I am trying to write a terminal script ...
0
votes
2answers
175 views

what shell would you recommend using on mac? [closed]

I'm new to Mac (using Mavericks) i thought to install zsh. Do anyone has a recommendation for a useful shell for mac?
2
votes
1answer
717 views

Does OS X's terminal app support mouse?

According to this answer over at SuperUser, OS X's terminal app should use Alt+Mouse Click to send mouse events to applications running in the terminal. I tried that with the Midnight Commander, but ...
3
votes
2answers
83 views

How to recursively edit path of symlinks?

This is an additional question that began with this one - How to edit Symbolic Links in OS X? Now that I know how to edit the path symlinks point to, I'm trying to figure out how to do this ...
1
vote
1answer
48 views

Mavericks - strange behavior creating simlink in root directory

I want to create a simlink called /home, that points to /Users. The command sudo ln -s Users home (executed in /) should work; at least, I've demonstrated that the syntax is correct by creating a ...
2
votes
1answer
104 views

Exclude all .git or .svn folders from Spotlight index

I would like to exclude all the .git and .svn folders on my hardrive from the Spotlight index. I know I can manually add them through the GUI but since they are many of them, and often new ones, it ...
0
votes
2answers
1k views

How Do I Use 'cp' to Overwrite Files?

Using a shell script or Terminal, how do I overwrite files that may or may not be present. I looked at man page for cp, it said use the -f argument to force overwrite. But, it does nothing. $ cp -f ...
2
votes
2answers
324 views

Unix command to recursively copy JPG files in a complex directory tree

I have a large directory tree structure that contains multiple JPG files in each directory root and their subsequent subdirectories. I need to recursively extract a single JPG file from each directory ...
4
votes
3answers
104 views

Is there a way to set/unset the execute bit on a file in osx 10.6.8 without using terminal (or bypassing it)?

I would like to do the following: chmod +x filename.txt without using the terminal. Is there a way to bypass the terminal and invoke a kernel system call ? I'd rather not write a program to do ...
1
vote
1answer
77 views

Where is the specific driver for my GPU located

I am trying to run a bitcoin miner (bfgminer), I know this is not efficient but I want to do it anyway. The mac in question is a MacMimi running an Intel HD Graphics 4000 GPU and Intel(R) Core(TM) ...
1
vote
1answer
140 views

HEX-/RGB-colors in Terminal

I'd appreciate to be able to use my Linux colorscheme in Terminal. Is there a way I can specify HEX-codes or maybe RGB-values?
0
votes
1answer
92 views

Time Machine Backups Gets Stuck With 100% CPU via tmutil

Okay, so I recently decided to try switching my Time Machine backups over to tmutil so that I could gain more control over exactly when they ran, but also so I could run some extra stuff before and ...
5
votes
1answer
226 views

Unable to format pendrive, diskutil error

When I insert my USB Pendrive in my iMac i see this message: I tried to format it both with DiskUtility and with diskutil command in terminal but I get this error: iMac:~ User$ diskutil eraseVolume ...
4
votes
2answers
132 views

I added this to my .bash_profile but I neglected to label it and forgot what it means exactly

I remember broadly what it does, but not specifically: if [ -f ~/.bashrc ]; then source ~/.bashrc fi What is the exact purpose for it again?
7
votes
2answers
125 views

How would I go about making a stand alone app on my dock to open a game using a terminal command?

I have a game that they never released for mac, and I installed the game using WINE, the install itself was flawless, but every time I want to play it, I'm forced to open Terminal and run cd ...
2
votes
5answers
515 views

List all tags in Terminal in Mavericks?

Is it feasible to list all tags already defined in OS X in Terminal? I know there are some third-party applications that list all tags, but I just want to use Terminal to find all tags, since I use ...
0
votes
1answer
125 views

In Mavericks, is it possible to use Enhanced Dictation from the command line?

A use case is: I have a recording in AIFF or MP3 format, and I'd like a text version of it as Enhanced Dictation would have recognized it if I had spoken it myself.
1
vote
1answer
32 views

Substitue Escape for Control U in Terminal

I would like to change bash keybinding so that the Escape key has the same effect as Control U. For example, if I tap the Escape key, the current Terminal command will be cleared out (which is what ...
0
votes
1answer
508 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?"
0
votes
2answers
909 views

AppleShowAllFiles Command not working in Mavericks OS X 10.9

I have looked everywhere, but the command defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder and all variations thereof does not work since I upgraded to Mavericks. Why is this?? ...