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
0answers
10 views

Python script executable opened by text editor

I have a simple "Hello world" script that I want to turn into an executable. The problem is that even though I went through the steps of declaring the path of the Python interpreter in the first list ...
0
votes
0answers
16 views

How to paste Chinese/Unicode characters to Terminal?

I'm trying to paste some Chinese: 你好世界 to my Terminal, but instead I've got ^L or some other weird characters. The same happens for other unicode characters (such as £āēīōūśṣṭēīōū) when pasting or ...
0
votes
0answers
18 views

SSH via sudo cron on Yosemite

I have a shell script that is supposed to run via cronjob on Yosemite, also when no user is logged in. I discovered the cron has to be edited with sudo crontab -e to do that. The script connects to ...
0
votes
0answers
45 views

ssh from mac to linux

I am still a beginner with using terminal. I am trying to ssh from my mac at home to a linux at my university. I am using VPN to connect to the network. When I ping the IP address of the computer I ...
0
votes
0answers
11 views

Sudo giving dyld problem. Help for a beginner

I am new to using a macbook terminal. Initially when I used the terminal for working on Raspberry Pi everything was great. But now when I try to use the terminal and type sudo it keeps giving a dyld ...
0
votes
0answers
25 views

How to adjust a desktop picture through the command line (terminal)?

So after some research, I came along this wonderful little gem for setting a desktop background through the command line. osascript tell application "Finder" set desktop picture to POSIX file ...
0
votes
0answers
22 views

Can't ssh into iPhone

I used to be able to do this a while ago, but now, for some reason I can't. I have installed and later reinstalled OpenSSH on my iPhone. ssh root@10.0.1.16 Returns that the connection to 10.0.1.16 ...
0
votes
0answers
9 views

How to perform a find with Chinese characters?

I'm ssh'd into my iPad 2,1 running iOS 8.1. I'm trying to do a find for "PP越狱": fermat-ipad:/ root# find /var/mobile/ -iname XXX When I enter the Chinese name for XXX, I get: (arg: 1) find ...
0
votes
0answers
46 views

Are copies using rsync faster than using Finder?

So - I have a question about using rsync in Terminal. I need to move a Time Machine backup off of an external drive in order to reformat it. The 'backups' folder is nearly 300 GB. At first I tried to ...
0
votes
0answers
32 views

Help with Unix command in Apple Remote Desktop

I'm trying to remotely run a script in ARD on multiple machines at once. The problem is the script prompts the user to type in 'y' before running. I can't figure out how to answer the prompt when ...
0
votes
0answers
47 views

Why am I getting command not found even though path to command exists in PATH variable?

On Mac OSX 10.10.1 I get command not found for anything installed in /usr/local/bin (however command is found if I use sudo) PATH variable contains this path. for example pip. Here are some lines from ...
0
votes
0answers
9 views

how to check last time that OD Policy or MCX Refresh was run

Is there a method to get the date and time of the last OD policy update or MCXRefresh on a 10.6 or later Apple computer from the terminal?
0
votes
0answers
23 views

How Do I Override the Addition of the folder for the Server app version of PostgreSQL?

I am currently using RVM for managing different gemsets for different versions of Ruby. RVM has made changes where the RVM folders must be listed first or else I have to manually set the gemset each ...
0
votes
0answers
60 views

Using kdiff3 as default git diff viewer on Mac OS

I have kdiff3 installed on my Mac (Version 0.9.97, 64 bit). Here's my ~/.gitconfig: [filter "media"] required = true clean = git media clean %f smudge = git media smudge %f [user] ...
0
votes
0answers
33 views

Urxvt on homebrew ignoring certain .Xdefaults and .Xresources settings

I have a .Xdefaults and a .Xresources that I use on my Linux setups that I want to also use on my OSX setup. However, the Urxvt I installed on homebrew is not picking up certain settings from both ...
0
votes
0answers
81 views

Page Up / Page Down - Changing scroll length on Yosemite

I have come to inquire about a terminal command to edit/change the amount of scroll length Yosemite does when page up or page down is pressed. For my knowledge, I think default value is one whole ...
0
votes
0answers
41 views

Why can't I type 'e' in terminal?

It beeps when typing the lower case of e .Tried to change the VT100 mode, still doesn't work.
0
votes
0answers
16 views

How to find lost terminal sessions

I use Terminal for web development, and typically have various tabs open, some of which are divided into multiple session (via tmux). After a while, I'll accidentally hit command-W and kill one of ...
0
votes
0answers
48 views

My PCIe SSD crashed during OS reinstall, now will not mount, unmount, repair

While I'm pretty sure I totally broke the partition table, I've been unable to fix it using tools like testdisk and diskwarrior. My machine crashed during installation of 10.8 OSX on a mercury ...
0
votes
0answers
21 views

Way to Geolocate Files by Date Created

Does anyone know of a way (programmatic/Terminal or GUI) to geotag files using GPX files the way that Aperture can do for photos? (I'm basically trying to create my own "Atlas" function from ...
0
votes
0answers
54 views

fish shell suggests commands in tmux

I use fish shell, it's has option "suggests commands", so it is works like in the next screenshot. Examle: You type command git status. In the next time when you type just g or git fish give you ...
0
votes
0answers
24 views

How to download via home-brew when connected though Internet dongle?

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command brew install python But I am getting failed to download errors. ...
0
votes
0answers
42 views

No java installations was detected, although I have Java

$ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) $ which java /usr/bin/java ...
0
votes
0answers
232 views

Yosemite blue grey Screen O Death

I have a late model 2011 MacBook Pro, and I upgraded to Yosemite two weeks ago. Yesterday I was working in After Effects on some pretty big movie files when the laptop screen just went black. When ...
0
votes
0answers
53 views

Command line “convert” tool corrupting first file in folder

textutil -convert txt * -output * I am batch converting some RTFs to TXTs. For some reason, the first (only the first and always the first) file in the directory does not convert AND gets corrupted ...
0
votes
0answers
56 views

How to mouse copy a very long line in vim terminal OS X

I want to copy with mouse one line from one vim terminal to another vim terminal. This line is huge and has a hidden character (I presume at the beginning) that I do not want to copy. In other ...
0
votes
0answers
24 views

Need help fixing bus error in Eclipse Java? possible Pathway problem

Whats up folks, i have posted this question on other forums but got no reply, just note before you read, my terminology is not the greatest, im only studying IT this year, so my knowledge be still a ...
0
votes
0answers
32 views

Path Finder 7: Using Terminal at bottom - not able to place @ sign

I am having troubles to place the normal @ (at) sign in the terminal in path finder. I do have German keyboard Layout, which means the @ sign is "option/alt + L". Simply nothing happens. Did someone ...
0
votes
0answers
15 views

How can I get TexLive to install?

I just bought my third Mac, this one with OS 10.9.5. My previous one was stolen, but I had backed it up with Time Machine. When I started this one up, I connected the backup drive from the old ...
0
votes
0answers
152 views

Terminal.app magically changing color values

Terminal.app does some very odd color shifting that makes it impossible to match colors consistently, and I'm wondering if there is any way to disable it or better control it. The "magic" is what ...
0
votes
0answers
28 views

Uninstall CheckPoint VPN Script Prompting For Password

When running the uninstaller sh script in the CheckPoint VPN package from terminal I get prompted for the usual authentication window. But the authentication window does not have focus so when I type ...
0
votes
0answers
32 views

Damaged preference file in /bin/sh

Today in Drive Genius 3, I ran the “Verify Preferences” function in Repair. It yielded this strange result: /bin/sh: xargs: command not found The only option Drive Genius gives is to remove the ...
0
votes
0answers
49 views

Network drive showing minus sign for one folder, but Terminal shows everything in it

I've got a small home media server setup on a Raspberry Pi. It has had one 1 TB USB (ext3) drive plugged into it for a while now, which has worked perfectly over the network on my Macbook Pro ...
0
votes
0answers
147 views

How do I use the defaults command with App Groups?

In OS X Yosemite it's possible to have preferences that are shared between multiple apps that are in the same App Group. On the development side of things it's as simple as setting up the App Group ...
0
votes
0answers
29 views

itunesconnect.com redirection using host file

I've been pretty annoyed by this website called itunesconnect.com. It appears the real one as some of you may know is itunesconnect.apple.com. So I go into terminal and go: sudo nano ...
0
votes
0answers
34 views

How to talk to UART with screen?

I have an RP6 robot which I connect to my Windows PC / Mac using a USB to serial connector. The robot uses an ATMEGA chip which I can upload programs onto for controlling the robot and reading and ...
0
votes
0answers
64 views

Turn off or adjust Dictation popup in Mac

In Mavericks, whenever I used Dictation, the little popup window would adjust to the left side of the text in Word, Pages, etc. However, since upgrading to Yosemite, this has been "fixed" and adjusts ...
0
votes
0answers
22 views

Possible to disable window size hints in Terminal.app?

When you resize your terminal and it 'snaps' to the height/width of a single character. Is there a way disable this? Or perhaps another terminal emulator offers this functionality?
0
votes
0answers
55 views

Problem with PATH after installing MySQL

I'm looking for help concerning a problem with my Terminal. After some researches on differents websites, forums, I'm not the first one in that case, but all the solutions I've tried sofar did not ...
0
votes
0answers
101 views

A shell script to open files as root in an IDE?

What I'm trying to do: open multiple system (Apache and PHP config) files to edit in my IDE of choice (Coda). The files are owned by the system, so root permissions are needed to edit them. sudo ...
0
votes
0answers
342 views

Is there a way to clean up possibly invalid disks that only show up on Mac OS Recovery through ‘diskutil list’ in Terminal? Does Recovery use them?

Hopefully that question is clear enough, and hopefully this is just me being silly. When I boot into the Recovery Partition, go into Terminal, and run 'diskutil list', I get quite a few tiny and ...
0
votes
0answers
145 views

Bash shell doesn't inherit $PATH set in /etc/launchd.conf

I am new mac OS X user and recently I am setting up my laptop as a work environment. That concerns environment variables setting in shell. After some search work I found several ways to set ...
0
votes
0answers
22 views

Is there a way to set up a public/private key login in Terminal Remote Connection?

I have to log into a few different droplets on Digital Ocean and the Terminal Remote Connection app seems like a simple way to do it but it doesn't offer (an obvious) way to save the private key with ...
0
votes
0answers
43 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
10 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
94 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
0answers
1k 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
0answers
485 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 ...
0
votes
0answers
65 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 ...
0
votes
0answers
63 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...