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
2answers
921 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
322 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
48 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 ...
6
votes
1answer
256 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 ...
2
votes
1answer
864 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
101 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
312 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 ...
2
votes
1answer
531 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
99 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
64 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
318 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 ...
3
votes
1answer
14k 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
3k 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 ...
2
votes
2answers
15k 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
2k 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 ...
1
vote
4answers
235 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 ...
4
votes
2answers
8k 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
3answers
1k 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
417 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
157 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
650 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
891 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?
12
votes
2answers
4k 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 ...
4
votes
2answers
216 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
69 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 ...
4
votes
1answer
391 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 ...
3
votes
3answers
30k 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
817 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
199 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
134 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) ...
2
votes
1answer
1k views

How to install firefox using the terminal app

I am trying to install Mozila Firefox on the school's server via ssh. Given that I have authorization to install it on the server, could someone guide me through the steps to install firefox? It has ...
1
vote
1answer
389 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
326 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 ...
6
votes
2answers
763 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
149 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?
8
votes
2answers
354 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
1k 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 ...
1
vote
1answer
359 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
49 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 ...
2
votes
1answer
4k 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
5k 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?? ...
3
votes
2answers
3k views

Allow application to control computer (assistive devices) on Mavericks via Terminal?

I'm currently working on automated instalation of Mavericks 10.9. I have NetBoot set up. Everything works OK untill I want to execute Applescript. Since the release of new version I need to manually ...
1
vote
1answer
451 views

How to undo “sudo rm -rf /etc/apache2/other/+php-osx.conf”

After I did this: sudo unlink /usr/local/php5 sudo rm -rf /usr/local/php5-* To remove the supplemental configuration file that was installed with the updated PHP software, you may be able to remove ...
1
vote
1answer
2k views

How to connect to a specific BSSID via Terminal?

My internet provider has a service where I share part of my wifi connection with other subscribers and in return I can use their wifi connection when I'm close to a subscribers router. It's very ...
1
vote
1answer
193 views

Launching Terminal app starts XQuartz

Whenever I start the Terminal app in OS X Lion, XQuartz starts automatically. Is this intentional? I recently turned off much of the resume functionality because too many things were starting without ...
1
vote
2answers
430 views

Is there is a way to send a local message from a Mac to an iOS device *without* the Internet?

I know I can send Prowl notifications from OS X to iOS, but that requires going over the Internet. I'd like to accomplish the same thing, except that I want to be able to be able to do it without an ...
2
votes
1answer
3k views

How to patch a file that resides in /Applications (patch can't find file to patch at input line)?

I am trying to patch 5 files within an Mac application bundle using the Terminal patch command. The files to be patch are specified using an absolute file path (the file name and path start with a ...
1
vote
1answer
88 views

Splitting LexisNexis text file

For my research I have a number of text (txt or doc) files. These have a large quantity of newspaper clippings in them. I'd like to split these text files. Each clipping starts with document X ...
1
vote
1answer
329 views

Linking manuals from Homebrew

Whenever I install a software with Homebrew and I try to view the manual I get an error stating: No manual entry for <name of program>. As an example, wget: when I type $ man wget No ...
1
vote
1answer
82 views

How to stop 'locate' from using databases for unmounted volumes?

Despite the claim made in the answer to this question: Can Spotlight show results for disconnected drives? This is exactly the behaviour I am seeing and I don't want it! E.g. wms:~ alan$ ls ...