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

2
votes
0answers
169 views

Sips not working with pict, qtif and sgi files

The terminal command sips -s format pict /path/to/image.ext --out /path/to/output.pic ouputs Error: Unsupported output format com.apple.pict even though if you do man sips and go down to format, there ...
1
vote
0answers
17 views

SSH keybased authentication using smartcard

I originally posted this on Information Security but am hoping to attract an answer here since this is OSX specific. So I'm fairly new to more secure forms of key management, I've been used to ...
1
vote
0answers
13 views

How to disable LoginWindow (boot to Darwin console)?

This may seem like an odd question, but it's one I've been wondering for quite a while. There is an old trick to get access to a console by typing >console as the username in the login window. ...
1
vote
0answers
27 views

solution to easily embed skim notes doesn't work

My question is directly linked to the thread Make Skim save PDF's with embedded notes by default What if the proposed solution (http://apple.stackexchange.com/a/166794/180243) doesn't help? As ...
1
vote
0answers
32 views

`ls -G` output format changes with less column spacing

I want to see coloured output of the ls command and so I added export CLICOLOR=1 to .bashrc file but now the spacing between columns in the output of the ls command changes. How do I maintain the ...
1
vote
0answers
21 views

strange network issue after new router 'unkownXX…' terminal promt instead of Name

Some weeks ago I got a new router* and since then I encounter some local network issues from time to time (at the moment I can’t reproduce when this happens): Wifi is connected but webpages don’t ...
1
vote
0answers
19 views

Airmon-ng on Mac

so I know that Airmon-ng isn't made for Mac, but every time I try to run it all it says is that the wireless tools are missing. And I've heard people say to just download the wireless tools but where ...
1
vote
0answers
27 views

Terminal command to change Keyboard preferences on Mac?

I'm trying to configure new Mac accounts to have certain languages added to their keyboard preferences. Is there a terminal command to add languages to a particular user's keyboard preferences or ...
1
vote
0answers
23 views

Virtualenvwrapper, can I get rid of it from Terminal and my Sublime Text?

I have an MBP latest OS running, I tried to follow a guide to install VirtualEnvWrapper a few weeks ago, not too sure why. But I keep getting this error when opening terminal and its quite annoying, ...
1
vote
0answers
87 views

Curl terminal command syntax from Applescript

I want to execute a curl command in Applescript that does the following (per this SE question/answer): http://superuser.com/a/1054803/471181 ...Do an HTTP POST of the contents (as a string) of a ...
1
vote
0answers
29 views

Does Mac offer a way to return video specs in terminal without ffmpeg?

I was curious to know if there is a way in Mac terminal to return a video's details similar to sips is for images on the Mac before I install ffmpeg? I am currently using Yosemite so if there an ...
1
vote
0answers
12 views

Pipe multiple homebrew commands

I installed pup using Homebrew and my shell - Zsh, with OhMyZsh - is not recognizing the command when I use it multiple times using pipes. For example, this works fine: cat index.html | pup 'meta' ...
1
vote
0answers
76 views

Cannot copy/paste anymore in tmux 2.1

I just update to tmux 2.1(OS X10.11.3 Terminal.app), and my .tmux.conf(accroding to http://joehanchoi.com/quick-fixes-for-tmux-2-1-on-osx/) set-option -g mouse on bind -n WheelUpPane if-shell -F -t ...
1
vote
0answers
172 views

OS X El Capitan bash shell not working in Terminal

I have a weird issue with my bash shell in OS X El Capitan. I was messing around with my .bashrc file today, and now when I open my terminal I see nothing out of the ordinary (no messages, just the ...
1
vote
0answers
49 views

How to prevent terminal geometry changes when changing external display on MacBook Pro 13?

I have a MacBook Pro (Retina, 13-inch, Early 2015) that I use with Dell 2711 (at home) and 2713 (at work) external displays. Usually, but not always, when I bring my Mac from work to home, and vice ...
1
vote
0answers
41 views

`scutil --nc start` not connecting PPPT VPN - OS X 10.11

From the answer to this question I have tried scutil --nc start 'us.justfreevpn.com' to connect a PPPT VPN, but all I get is the following popup: Frustratingly, if I manually start the connection ...
1
vote
0answers
28 views

Is there a unified shortcut key of Home/End for Terminal, Vim and Sublime Text in OS X?

It seems that in Terminal: fn+shift+← is Home fn+shift+→ is End in Vim: fn+← is Home fn+→ is End in Sublime Text: cmd+← is Home cmd+→ is End And Ctrl+A and Ctrl+E seems to work ...
1
vote
0answers
20 views

How do I get Terminal to stop forgetting history in 10.11

The current version of Terminal seems to have restructured history into a session based history management. For example, each tab has its own history on exits of Terminal and starting up Terminal ...
1
vote
0answers
31 views

What command(s) are ran when you right click on a text and click “open man page” in Terminal?

I know it obviously does man, to show the request manual page. However, I wonder what it pipes the output to, because it shows the entire thing at once, but it starts from the beginning. I would love ...
1
vote
0answers
56 views

OS X (El Capitan) Terminal Fn-Up and Fn-Down stop working as Page Up and Page Down

I've identified a strange "state" my Terminal program seems to get into. It doesn't happen on all tabs -- right now, one tap can Page Up/Down properly, and another one can't. When I open a new ...
1
vote
0answers
26 views

Manage Finder favourites with defaults write or similar?

I've been unable to find any preferences list file with the locations for the 'Favorites' list shown in the Finder sidebar. No luck from likely candidates com.apple.finder and com.apple.sidebarlists. ...
1
vote
0answers
38 views

Chrome desktop apps (extensions) won't launch at startup on OS X

I'm trying to figure out how to get a chrome desktop app (Kiosk) to launch at startup. I've gone to System Preferences > Accounts > Login items and added Kiosk (User > Applications > Chrome Apps > ...
1
vote
0answers
151 views

How to convert OS X Dashboard widget to desktop app?

I would like to convert a OS X Dashboard widget to a desktop app, namely the Stocks widget. I understand I could move the widget to the desktop using terminal to enable developer mode for Dashboard ...
1
vote
0answers
71 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
0answers
35 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?
1
vote
0answers
254 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 ...
1
vote
0answers
56 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 ...
1
vote
0answers
64 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 ...
1
vote
0answers
18 views

Automating VPN switching

I can us a VPN app like tunnelbear to appear to be in other countries, but is there a way to do this in a bash script or applescript? I want to be able to run automated tests on my iOS apps (in the ...
1
vote
0answers
35 views

Terminal deleting additional letters, submitting different typed in letters and returning different previous commands

I'm trying to use my terminal to play around with some code (particle.io), I've never used it much before but it's acting in strange way that's making it near impossible to use, there's three things ...
1
vote
0answers
19 views

How to see the commands echoed on the Terminal?

Maybe is a silly question but I'm a newbie in OS X and I didn't found the answer anywhere. The thing is that when I execute some command that executes other scripts/commands/whatever I don't see on ...
1
vote
0answers
30 views

Scrolling Behavior in Terminal

Until recently, when I scrolled in my terminal, it scrolled through the history. However, recently that behavior changed and now it scrolls through the command history. Where is the setting to change ...
1
vote
0answers
53 views

plutil returns error when a string numeric key is used

I'm trying to insert a row to a plist by using the following command plutil -insert "160" -string "hi" file.plist However the system was not so happy about the fact that I was using a numeric key ...
1
vote
0answers
62 views

How do I access sshd log messages that are in system.log with /usr/bin/syslog?

I am aware that messages on OS X are usually logged in the ASL database which then (based on asl.conf) are also written into files like /var/log/system.log Based on this comment I tried (and failed) ...
1
vote
0answers
97 views

Fixing multiple Users permissions

In a classroom environment after a month without issues all of the sudden everyone is getting locked out of their folders, including my local admin user. What works is logging into each user, ...
1
vote
0answers
39 views

Bash add Symbolic Link to Finder sidebar

Can I programmatically add a symbolic link to the Finder sidebar. Manually dragging is not an option. Bash is preferred, but other options that can be invoked from bash (i.e. application with ...
1
vote
0answers
146 views

How to disable mouse acceleration without logging out?

I know I can type in the terminal: defaults write .GlobalPreferences com.apple.mouse.scaling -1 to turn off mouse acceleration BUT this requires me to log out and log back in to take effect. The ...
1
vote
0answers
29 views

Mysterious Self-Originating File with the one-charcter name “:” (colon)

There's a file in my /users/myName that has appeared out of nowhere. It's named ":" in Terminal, "/" in Finder. It may be deleted (either drag and drop to trash or rm in Terminal) but will reappear ...
1
vote
0answers
289 views

nsurlsessiond downloads too much data

I did this command in terminal and got this results. Is anything suspicious here that why nsurlsessiond is hugging the bandwidth? (I have turned off iCloud Drive and Stuff) sudo lsof | grep ...
1
vote
0answers
102 views

How can I check my wifi connection for a long time period (a day)

I want to find a way to test my wifi connection between my macbook pro (yosemite) and my router because I have some evidence (lag in games) that the wireless connection has problems. I am using the ...
1
vote
0answers
118 views

How to run Continuity Activation Tool from Recovery HD's command line?

I use Continuity Activation Tool to enable Continuity on my early-2011 13" MBP with an upgraded AirPort card. However, El Capitan's Rootless feature has forced me to use a modded version of CAT that ...
1
vote
0answers
120 views

“Unable to unmount volume for repair” message about reformatted (and empty) SSD in “Option/ALT startup”

I am trying to reformat a Samsung 512GB Pro with bootable USB, and I have managed to get through the prep for the USB so I'm in no need there. But after the "Option/ALT startup" I click on the USB to ...
1
vote
0answers
140 views

Mac Terminal (+bash +tmux +set-o vi) missing characters at end of line

Often when editing a historical bash command in vi mode (after pressing ↑), and then moving backwards in the text using b. When I begin editing the text after pressing i or a, the extra text I insert ...
1
vote
0answers
99 views

Set environment variable for iCloud Drive path

Foreword Setting env vars on Yosemite seems to be really a pain, but I've managed doing it thanks to this clever way: ...
1
vote
0answers
30 views

In bash script, how to have a script that runs in the background and starts when an application is opened

I'm making a script which should run when I open Safari. I want it to open when the user logs in and run in the background, then have part of the script to run when Safari opens. Is this possible in ...
1
vote
0answers
211 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 ...
1
vote
0answers
133 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\]\$ " ...
1
vote
0answers
167 views

Problem with Livestreamer after updating Python to 3.4

After upgrading to Python 3.4 i get this message when trying to use livestreamer: /usr/local/bin/livestreamer: line 3: __requires__: command not found /usr/local/bin/livestreamer: line 4: import: ...
1
vote
0answers
237 views

Changing color of text in terminal for program output

This might be answered already but I could not figure out a good way to phrase it to look for an answer so I hope you'll bear with me. I want to change the color of the text output on Terminal if it ...
1
vote
0answers
102 views

Terminal appears to ignore autoproxyurl setting

I can't get easy_install to install anything as it complains it gets a connection refused.: Searching for BeautifulSoup Reading https://pypi.python.org/simple/BeautifulSoup/ Download error on ...