questions narrowly about terminal.app alone should use this tag. Please consider using **command-line** for any question not specifically about the native terminal app

learn more… | top users | synonyms

3
votes
2answers
157 views

How do I programatically kill the CCLibrary process by PID?

I need to know how to write a command or script to kill the CCLibrary and CCXProcess processes. They are part of Adobe's Creative Cloud, and since their previous update they keep respawning and ...
0
votes
1answer
18 views

'soft return' in iTerm2

I'm just wondering is there a way to enter a new line in iTerm 2 without executing the line being typed? I am looking to make use of some relatively long commands to automate some things, but not ...
1
vote
0answers
38 views

Start application with environment from a terminal session

I use nvm to manage my node versions. Now i have to type nvm use stable to let nvm set my path variable like this ...
1
vote
3answers
78 views

None of my admin accounts are sudo users

I have three admin accounts on one machine running El Capitan. The machine is a few days old. Whenever I try to run a sudo command, I'm asked for my password and told accountUsername is not in the ...
0
votes
1answer
145 views

iterm + tmux isn't allowing me to scroll up with the mouse

I recently rebuilt my system and everything works except I can't scroll my (iterm2) terminal window back to look at commands and output that have scrolled off the screen. Without tmux I can scroll ...
0
votes
1answer
53 views

How to get iTerm to properly send the CTRL-. sequence?

Emacs uses a lot of C-. and similar keyboard sequences. iTerm doesn't send the key sequence C-. itself, but I've found that I can map C-. into an escape sequence or hex code or text in iTerm's ...
2
votes
0answers
41 views

How to customize drag-n-drop-to-Terminal path escaping results?

How can I change the way in which filenames are escaped (formatted) when dragged from applications and dropped into Terminal? For example, paths may be escaped with \, just spaces (), or other ...
0
votes
2answers
30 views

Changing the owner of a directory when username has a . (dot) in it [closed]

If I enter whoami in Terminal.app my id is shown as Abhi.Sri Now if I do chown -R Abhi.Sri /usr/local it says the user Abhi.Sri is invalid.
1
vote
0answers
34 views

El Capitan Terminal.app keeps showing overlay

New terminal in El Capitan keeps showing this annoying overlay with tmux commands describing my current tmux session. How do I turn it off?
0
votes
1answer
37 views

Error when running security in Terminal

I'm trying to export the keychains in Terminal. This is the code I used security> export -k SystemCACertificates.keychain -t all -f openssl -o goodone.txt And this is the error I got security: ...
1
vote
1answer
30 views

How can I split a 60 GB file into 5 GB pieces on a Mac?

I would imagine using a Disk Utility partition, but I didn't see the option in Disk Utility to split a larger partition into several. How can it be done on a Mac? I am doing this because I would ...
0
votes
0answers
21 views

How can I setup a Cisco IPSec VPN connection from the command line?

We've got a few macs to manage and we are working out how to script the configuration of a few things. We've got most of the bits worked out but there is one that I can't seem to find the right ...
5
votes
1answer
131 views

Change output color of terminal (in Mac) to be different from typed text color

I know how to change the color of ls output, but I would like to change the color of all terminal output. To make clear what I mean, below is a picture of my terminal. My text color is orange. ...
1
vote
1answer
19 views

Automatically deleting files that contain a specific content

I would like to make use of the command that looks for a specific phrase in a file: grep -lr "text to find" * provided here and delete all of the found files. How can I generate the relevant ...
0
votes
1answer
23 views

How to delete a list of files and folder generated via find in terminal?

I'm generating a list of files and folder that meet certain criteria with use of a command: find ~/ -iname "whatIwantToRemove" The command will generate some results: ...
0
votes
1answer
51 views

Help converting Apple Script to Shell Script

This Apple Script works great to mount the logged in Active Directory users network homedrive as a mounted network drive but we currently have it running as an App at login via "Login Items". ...
1
vote
1answer
136 views

“Copy URL to Clipboard.app is not available as a HTTP browser” in El Capitan

I came across “Copy URL to Clipboard.app” (or “CUTC” for short) in How to access a clicked URL in a URL handler application created in Automator and have been using it for some time now. However, it ...
6
votes
4answers
301 views

Search for *.swo

I think this should be an easy one, but it's got me stumped. When I use the following, it finds the file. $ ls -al .bash_*.sw* -rw-r--r-- 1 damiensawyer staff 12288 27 Nov 07:39 ...
1
vote
0answers
99 views

How to change the “Recovery HD” partition to type “Apple_Boot”?

Typing in the terminal diskutil list gives me this... /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
0
votes
0answers
27 views

launchctl does not set environment variables correctly

I am trying to use launchctl to set the environment variables for Eclipse. What I want to do is pass my PATH to eclipse. I have tried to setup launchctl to do this. Here is the the output of ...
1
vote
2answers
109 views

Auto login with FileVault in El Captain

When using File Vault on El Capitan, is there any way to disable the Auto Login, so when you start up it loads straight away without needing a password. If not, then is possible to set it so when you ...
0
votes
1answer
338 views

External disk - Unrecognized file system (-69846)

I have an external storage with 2TB that was working nicely. But since last week, when I unplugged the USB before eject it, the disk is not readable anymore. When I insert USB, I can actually see ...
1
vote
0answers
90 views

How to set up routing tables on OS X to redirect VPN traffic?

I am trying to setup route table on my OS X machine so regular internet traffic doesn't go through VPN but only specific destinations will be targeted via VPN. When I connect to VPN it creates new ...
0
votes
2answers
70 views

Git is very slow on OS X

Whenever I use anything Git related on my MacBook (brand-new Macbook Pro with El Capitan), it takes almost a full minute for each command. I did a simple GIT_TRACE=1 git stash and got back this: ...
0
votes
0answers
46 views

Trying to install gnome-terminal on Yosemite

When I run gnome-terminal I get the error: (gnome-terminal-server:572): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed Here are my versions: Mac OS X - 10.10.5 ...
1
vote
1answer
28 views

Airport utility: Scan specific channels

I am using the Airport utility /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport. With the little program I am able to scan my network for WIFI senders. I do ...
0
votes
0answers
14 views

How do I get quicktime to store temporary recordings on external drive? [duplicate]

I've manged to set my 1TB as final destination for saved QT file but, now worried that my Mac ain't gonna have enough space for temp files of a 6hr screen record of a lecture I need. How to I store ...
0
votes
1answer
33 views

Permissions errors thrown, but permissions appear to be correct

On my HD, I have a bunch of files that I've generated via Python scripts (or otherwise). When I run "open foo.png" from terminal (or via finder), I get a popup that says The file “foo.png” ...
0
votes
0answers
439 views

XCode 7.1.1 update, missing otool and git

I recently installed Xcode 7.1.1 After installation there seems to be problem with it. git is missing Kaunteys-MacBook-Pro:~ Kaunteya$ git 2015-11-26 13:44:03.369 xcodebuild[2118:134190] ### ...
4
votes
1answer
390 views

unknown option: mode-mouse with iterm, tmux

Reset my computer and iterm2,tmux now complaining about my .tmux.conf having setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-window off set -g ...
1
vote
0answers
33 views

hdiutil convert not working and not telling me why

I've been trying to create a bootable Ubuntu flash drive following instructions from multiple sites. I need to convert the .iso file to an .img using hdiutil. For starters, the syntax of the command ...
0
votes
1answer
42 views

Extract files from a .exe file

on Windows we can extract files from an .exe file pretty easily but I couldn't find any terminal command to do similar things. I imagine this is because some .exe are compressed in such way OS X ...
0
votes
1answer
121 views

homebrew gcc-5 fails to find any standard library

I am running os x version el capitan and have installed gcc5 via homebrew. However, compiling simple programs such as: #include <stdio.h> int main() { printf("Hello world\n"); return ...
1
vote
2answers
22 views

Keyboard shortcuts for Terminal

I am trying to add a shortcut to the menu bar actions in the Terminal app, (specifically to create a new window with my own theme.) Here is a screenshot: However when I try to add the shortcut via ...
0
votes
0answers
27 views

USB Keyboard's number pad doesn't work while using vim

I have a usb keyboard that has a numberpad. When I use the number pad in most situations, it works as expected (IE when I click the bottom 3 buttons, I get 123 in this web form). However, when using ...
0
votes
0answers
7 views

open command does not work inside tmux: error 10810 [duplicate]

Using the open command in terminal normally works. But when I am in tmux, it always gives the following error: $ open wordref011.pdf LSOpenURLsWithRole() failed with error -10810 for the file ...
2
votes
3answers
497 views

El Capitan - Right Click Menu - Open Terminal Here

I know this may have been asked several times, however I cannot find a valid method that will work for me. On El Capitan - I want to add a option to the right click menu (not the services section) ...
4
votes
2answers
262 views

How to access an external drive

I plug in a flash drive to my USB port. How can I access it through bash? ($ cd / takes me to the directory called Macintosh HD, but through Finder, I can go up one more directory called ...
0
votes
0answers
46 views

Why does setting CLICOLOR=1 not turn on colors for “ls”?

If I do ls -G, I do get the colors. From what I understood from the man pages, if I go into ~/.bash_profile and add export CLICOLOR=1 I would then get colors by doing just ls, as "This option is ...
0
votes
0answers
49 views

Cannot create a folder or access it at specific location on Mavericks

Cannot create a directory and can neither go into directory. $/Volumes/Iomega_HDD/Movies is an Windows NTFS file system mounted on my OS X Mavericks so in the Movies folder if I try to create folder ...
0
votes
0answers
124 views

Terminal - Crash at opening - pointer being freed was not allocated

I have an issue with my terminal since the installation of El Capitan. Every time i'm opening my terminal, this message appears and prevent me to using my terminal correctly : ...
2
votes
1answer
130 views

Terminal Sub-pixel Rendering improvement?

I recently noticed that the Menlo font is rendered differently in OS X El Capitan, depending on the application being used. After tinkering a bit with AppleFontSmoothing, I noticed that the crucial ...
1
vote
1answer
15 views

Terminal floats between desktops

On my mac, OS X Yosemite, if I have terminal open and multiple desktops the terminal window appears on all desktops. How do I disable this feature and have the terminal stick to the desktop it was ...
1
vote
0answers
52 views

Messed up 3TB Fusion Drive Partitions (on iMac Late 2012)

I found one of the threads around here where you helped some guy with getting the Fusion drive back together after a failed attempt of using the Bootcamp on a Mac machine. Messed up 1TB Fusion Drive ...
0
votes
1answer
18 views

Is there a way to open terminal rather than terminal emulator? [duplicate]

I mean the system terminal, without the need for window manager and emulators... On linux that was achievable via ALT+Fx, but it's not like that for OS X.
1
vote
2answers
49 views

Shell script failing in Automator but works if I copy/paste into Terminal

Workflow I'm trying to achieve: Export SVG file from Adobe Illustrator to Desktop Drag SVG file from Desktop onto Automator Droplet Automator runs script (basic summary below) Script executes and ...
0
votes
0answers
21 views

How to see all services available for launching with launchctl?

I tried this on Yosemite: launchctl list but it doesn't show e.g. postfix which I have just launched with: launchctl kickstart system/org.postfix.master Is there any way of listing all the ...
1
vote
2answers
34 views

How can I run an unsigned script in Automator

I can run the well-respected perl script exiftool from the command line in Terminal and achieve the desired result, but when I incorporate it in Automator as a Service I get a generic error message ...
0
votes
1answer
78 views

Grayed out folder won't open in finder

I've never see this before. Here's the facts: It appears to be grayed out in the finder I can not open it by clicking I can move the folder The permissions are set to 777 (overkill i know) I can ...
1
vote
3answers
129 views

Terminal command to return network class

I'm trying to construct myself a primitive network scanner, and I understand that there are multiple network classes and it has become necessary for my program to determine exactly what class of ...