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

Error when trying to “brew install rbenv”

I am trying to install rbenv by following instruction from the site Ruby on Rails development setup for Mac OSX when I try brew install rbenv I get the error below: Error: rbenv-rbenv already ...
1
vote
0answers
27 views

Bash Ctrl-A Returns to Start of Line but Doesn't Display Properly

When I ssh into a Linux server from bash Terminal, I can use CTRL+A to return to the start of line properly, and CTRL+E to go to end of line and everything works fine. When I use bash locally on my ...
1
vote
0answers
21 views

Ctrl+D toggles the OSX dock but I want it to be passed to the terminal

I'm new to Linux and have been playing around with manipulating files with cat ie. cat > randomNames Albert Einstein Marie Curie Isaac Newton now when I want to quit cat with control + D on my ...
1
vote
0answers
16 views

Terminal tab name after exiting midnight commander

Is there a way to reset terminal tab name (iTerm on osx or gnome-terminal on ubuntu) after exiting mc? It remains with mc title. Same thing after exiting ssh session - tab title shows remote hostname.
1
vote
0answers
61 views

Terminal command to clear DNS cache doesn't seem to work

I do a lot of website work where I change nameservers for a domain, wait overnight for it to propagate on the host server, then go back to work on the site. Lately, what happens is that I can see the ...
1
vote
0answers
21 views

How to assign a different audio bell for terminal

I just dont like the system audio bell for the terminal in my mac. How can I get my mac use a different file which I have obtained from internet. Its a .wav file which I have got from the internet.
1
vote
0answers
29 views

Dump iCloud keychain in Terminal

I failed to find the path to iCloud keychain to do just security dump-keychain - the iCloud keychain isn't shown when I try security list-keychains. What is the path to that keychain (or, if it cannot ...
1
vote
0answers
22 views

How should daemons tell users about errors?

I wrote a bash script that backs up certain files on my computer. To automate the running of the script, I set up an associated daemon that runs the script every day. There are certain instances ...
1
vote
0answers
33 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
17 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
28 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 in,...
1
vote
0answers
20 views

how to 'custom install' with brew?

so I have to edit the install of wine, and apply a custom patch. The patch I want is here... https://bugs.winehq.org/attachment.cgi?id=38156 and when I add these lines with brew edit wine patch do ...
1
vote
0answers
56 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
27 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
25 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
36 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
183 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
30 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
14 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
104 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
259 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
51 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
58 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
41 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
22 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
384 views

NFS on El Capitan: In rwxrwx— directory, Finder can't delete but Terminal can, and both can create

I have an NFS drive mounted: /../Volumes/PDISK2 -fstype=nfs,nolockd,rw nfs://10.0.0.11/Volumes/PDISK2 /../Volumes/PDISK3 -fstype=nfs,nolockd,rw nfs://10.0.0.11/Volumes/PDISK3 Taking ...
1
vote
0answers
33 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
67 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 one,...
1
vote
0answers
29 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
48 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
184 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
96 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 /Users/michaelmalura/.nvm/versions/node/v5.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/...
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
334 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
74 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
78 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
36 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 I'...
1
vote
0answers
22 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
34 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
61 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
69 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
107 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
44 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
176 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
31 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
310 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
104 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 ...