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
23 views

problems installing homebrew on mavericks

I tried to install homebrew (OSX 10.9.5) using the recommended ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" but got Illegal variable name. I do have ...
1
vote
2answers
117 views

Install Monokai Theme on Terminal with prompt colors, etc.?

I already have a Monokai theme installed in Terminal, as so: I was wondering how I could get the rest of the Monokai (as Sublime uses) into Terminal? Like, making the prompt (Gamma@~) colored, etc. ...
0
votes
0answers
14 views

Incompatible library version with mpicxx

I am trying to compile a c++ code to a dynamically linked library on my Mac v10.10 I am hoping the error I receive isn't specific to the c++ code, rather thatI am missing some dependencies. I run ...
3
votes
1answer
88 views

bug with rsync changing modification dates even with the -a option

I have been testing rsync and found a weird bug when copying files and folders from a partition to another: If I do this: rsync -avE --delete '/Volumes/disk1/origin/' '/Volumes/disk2/destination/' ...
0
votes
2answers
268 views

How to get rid of emoji (emoticons) in Terminal.app (OS X 10.9)

I am experimenting with Twitter API. I now have emoji characters in Terminal.app. I don't know how to handle that. How to get rid of that or use it well? see screenshot
0
votes
1answer
17 views

Change mail back to embedding attachments

I wanted to attach a photo and not embed it so I did the following: If you would like Mail to do this automatically with all attachments, try the following Terminal command: defaults write ...
6
votes
2answers
130 views

Make files in `/usr/local` writable for homebrew

I've been trying to get homebrew working nicely, but it appears everything inside /usr/local isn't writable, and everything falls over. It keeps telling me to recursively chown /usr/local, and I ...
0
votes
0answers
18 views

Making a Damaged USB Writable for Drive Genius?

Apologies for being (sort of) a repost from Unable to be Repaired & Further Problems but I had some further questions and I was worried they wouldn't be answered. I followed Froggard's advice and ...
0
votes
1answer
31 views

The disk “Vol” couldn’t be ejected because “Terminal” is using it

I have connected an External hard disk to Mac and just issued command df -h in terminal. When I tried to eject drive it shows the error. After closing terminal, I could eject it. But is that really ...
0
votes
0answers
28 views

os.Popen command is not working

I'm writing a python script that is suppose to change default display settings for all users. I run the script as sudo because it needs to change every display. This line is suppose to change the ...
0
votes
1answer
38 views

Missing Mail.app in Finder, but exists in /Applications folder

I've not ever wanted to use the Mail app on my Mavericks machine, but recently I decided I'd give it a shot. However when I went to Applications in Finder, I couldn't see it. Nor was it in ...
1
vote
0answers
101 views

Cannot create hidden user in Yosemite

I am currently trying to make a hidden user on Yosemite. I have tried to follow tutorials from this site, however when I run the command sudo dscl . append /Groups/<real_name> GroupMembership ...
0
votes
3answers
19 views

Comfortable way to archive and log terminal input

I often want to reuse a terminal command that I already used in the past. I know two ways how to do this: Use the "up" arrow to browse through old commands. Copy a bunch of commands into a script. ...
1
vote
1answer
43 views

Infinite scrollback in Terminal (Yosemite)

I would like to save the scrollback history in terminal basically forever. I don't mean bash history, I mean all the text that ever scrolled past in the terminal, not just the commands entered. I ...
3
votes
2answers
82 views

How to find the currently connected network service from the command line?

I would like to find out which of the available network services (e.g. Ethernet or Wi-Fi) is currently active. In this screenshot from the Network Preferences, you can see that Wi-Fi is currently ...
10
votes
2answers
1k views

How to prevent 'sudo rm -rf /'

A few times I have accidentally executed the command sudo rm -rf /. Is there a way how to prevent me from running this command? For example can I somehow disable it using the sudoers file?
0
votes
1answer
18 views

PC user wants Windows/Linux key mappings [duplicate]

I'm a long-time PC and Linux user. Recently, I was given a mac mini (Yosemite) for my job. I've still got my full-size PC keyboard (with number pad). There are several differences. The biggest one is ...
-1
votes
1answer
32 views

How do I configure my Terminal app with bash and iTerm2 with zshell and oh my zsh?

The Terminal app uses bash by default. And I don't want to change it. However I want to configure iTerm2 with zshell and oh my zsh. and I don't want bash on it. The instructions I checked online, make ...
6
votes
1answer
13k views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
-1
votes
1answer
40 views

Terminal command to delete everything I've ever created

I have so much junk installed on my work laptop I want to start with a fresh machine. However, I must keep the account I have as I do not have system permissions to create another account. How can I ...
0
votes
1answer
2k views

Terminal ~/.profile does not contain `source ~/.bashrc` in OS X 10.9.1

Terminal shows below on this stage on gerris installation page: http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation Note: make sure that the file ~/.profile contains the line source ...
5
votes
1answer
607 views

Why does OS X terminal need manually sourcing to display colour?

I have the following in my ~/.bash_profile file: export CLICOLOR=1 export PS1="$FBLU[\#]$RS--$RS{\t}$RS$FWHT\W$RS$FMAG@$RS$FRED\u$RS$FCYN\$$RS$FBLU>>>$RS" # ANSI color codes RS="\[\033[0m\]" ...
1
vote
3answers
103 views

Upgraded to Yosemite, mkdir now says “permission denied”

I upgraded from OS 10.7.3 to 10.10.3. Now I get "permission denied" when I run mkdir on folders that I own and have full permission. For example : I own a folder called ...
1
vote
0answers
28 views

Airdrop between newer and older macs without clicking the “Search for an older Mac” button

I have a new MacBook Pro running Yosemite 10.10.3 and an older Mac Mini running Lion 10.7.5. Airdrop works in both directions, provided that if I am transferring from my MBP to my Mini, I click the ...
3
votes
3answers
345 views

Downscale a iMac 5K screenshot to 50% using commandline

Open the Screenshot in Preview Select “Adjust Size…” from the Tools menu Change the Width and Height to 50 percent of the original Change the Resolution to 72 pixels/inch I wish to do this on CLI ...
7
votes
2answers
697 views

How to isolate processes that evoke insane mds_stores disk read activity?

I have an interesting situation where when I monitor my disk activity, I find that mds_store is continually running between 1 to 35 megabytes per second (averaging around 3-5 MB/s) on the read and ...
14
votes
8answers
9k views

Is there any multiple terminal emulator for Mac OS?

I love the command line and I would like to see an app like Terminator (for Linux) in my MacOs: It seems there are ports of that app for Mac available using Fink or Ports. But I found it's a hell ...
196
votes
8answers
113k views

How can I configure Mac Terminal to have color ls output?

How can I configure Mac Terminal to have color ls output? I am using MacOS 10.5
4
votes
2answers
115 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
0
votes
0answers
21 views

MacPorts issue with FreeType10.10

I'm using MacPorts to run Windows executables through Wine, everything went fine until all this suddenly went kaput for this reason: Wine cannot find the FreeType font library. To enable Wine to ...
1
vote
0answers
31 views

How to set the colour of a folder with a specific name on mac terminal?

I am using these four lines in my .bash_profile file to enable colouring on my mac terminal (Mac OS Yosemite). export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " ...
0
votes
1answer
67 views

Restore scrollbuffer and tabs in iTerm as Terminal.app does

I love the restore functionailty of the Terminal.app when the app crashes or I need to restart my computer, Terminal.app will show me the recent scrollbuffer for the tabs I have open with a - ...
1
vote
1answer
29 views

Cleaning off packages installed via Terminal on OSX

I have been learning to use Terminal to install packages (particularly to learn Ruby development). I believe that I'm experiencing some conflicts with things that have been installed and would like to ...
2
votes
2answers
83 views

How do I find the path of a file on another computer on my network?

I would like to access files from another computer on the same network in the Terminal. But I am not sure of the path to those files. How do I find it?
0
votes
0answers
41 views

UNIX Script to Change Desktop & Screensaver in 10.8

I'm setting up LaunchAgent .plists that start up UNIX bash scripts to automatically change the desktop and screensaver for various different users for a Mac image that will be deployed to multiple Mac ...
0
votes
0answers
34 views

Help with “Couldn't start dropbox” message

My MacBook Pro is running Mavericks (10.9.5.) I restored a backup into my computer and then tried to use my Dropbox account and it wasn't working: I got the "Couldn't start dropbox" message. Before I ...
5
votes
3answers
6k views

How can I mount an encrypted disk from the command line?

When I type diskutil mount disk3 in the terminal, it says Volume(s) mounted successfully. However, the disk is not mounted and I can confirm this by opening the GUI of Disk Utility.app and also the ...
0
votes
0answers
24 views

Help modifying an Automator script for ditto

I posted this question over on SuperUser but this may be a more appropriate forum. In OS X Mavericks 10.9.5 and on Yosemite OS X 10.10.3 I'm using an Automator Service and an AppleScript combo that is ...
1
vote
0answers
23 views

Mac Terminal can't navigate between split panes [duplicate]

Problem I have just bought a new macbook pro and am using the Terminal to code. I have read a lot of posts about pane splitting, but nothing answers my question (or none of the solutions have ...
15
votes
4answers
4k views

Disable line wrapping for output in the Terminal

I often read outputs in the terminal that get wrapped as they are too long. Since there is no way that I can modify the printed output, I need to let the Terminal allow for horizontal scrolling. Is ...
1
vote
3answers
93 views

To prevent Text Wrap in OSX Terminal?

I would like to prevent the text wrap in OSX Terminal, by letting text to continue under the border. I could not find it in Preferences of the terminal. How can you prevent text wrap in OSX ...
0
votes
2answers
63 views

Why is same privileged bash command giving different information from script than from command line?

I wrote a bash script to verify various configs on a system, but I am getting different results depending on whether it is run from the command line directly or from the script. Here is the command: ...
0
votes
1answer
129 views

Password no longer works on MacBook Air Yosemite 10.10.2 I need to reset the password, without logging in

I do not know why, but my password is no longer working on my MacBook Air v. 10.10.2 Yosemite. I have tried several things including restarting in Recovery Partition, going to terminal and typing ...
1
vote
1answer
95 views

What are all these extra hidden files (with hash digests) that I can only see when running “ls”?

Since upgrading to Yosemite, there seems to be an extra class of hidden files that are 'more hidden'. They are visible when I run ls, but not in my Finder (even though regular hidden files are visible ...
0
votes
0answers
42 views

Enable internet sharing from command line (without using applescript)

I have perfected a couple of scripts which can enable and disable the sharing interactively using applescript, but I want a way to be able to do everything without the applescript. My aim is to learn ...
-1
votes
1answer
32 views

AppleScript choose file with Terminal action

I would to choose a file/an image that is being mounted in the Terminal set pathelection to POSIX path of (choose file of type {"sparsebundle", "sparseimage", "dmg"}) do shell script "hdiutil ...
4
votes
4answers
7k views

Get disk temperature in terminal

Is there a command I can use just to get the hard disk temperature in the terminal? Is this possible without a third party app?
1
vote
1answer
36 views

Can I update the iCloud password from a terminal?

I have several Macs in a different country, and I would like to update their iCloud password remotely. I can login to the machines via SSH, but the firewall does not allow me to use VNC. I would like ...
0
votes
1answer
37 views

Propagate permissions to subfolders and subfiles

I know that using sudo chmod 777 /folder will set a particular permission to /folder, but it will not do the same with subfolders and subfiles inside the folder. Is there a terminal command to ...
2
votes
1answer
110 views

How to upgrade bash with brew (permission error)?

I work with Yosemite (10.10.3) and would like to upgrade bash (to version 4.x) and found this post. After brew update, I did brew install bash, but obtained: ==> Downloading ...