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

0
votes
1answer
62 views

Mac OS X Terminal mouse reporting

I don't know why this is bothering me but I've been pressing Cmd-R to refresh my browser and today I mistakenly pressed this combination while using the terminal. I came across an option known as "...
0
votes
0answers
129 views

El Capitan Mac: /usr/bin/login tries to run /bin/false

Just upgraded from Yosemite to El Capitan, and I started out with an Emacs problem: it wouldn't launch from the Emacs.app icon, complaining that it couldn't find /bin/false. I tracked this down to ...
0
votes
0answers
29 views

Fresh OS X install, cleanly manage terminal applications going forward

I just got a new Hard Drive and installed a fresh copy of El Capitan on it. I'm a computer programmer and use a ton of terminal commands. Is there anything I can / should do now that my computer has a ...
2
votes
0answers
12 views

Get current time with/in milliseconds from OS X command line [duplicate]

I'm trying to get the current time from OS X command line to work with in AppleScript to output the elapsed time. Currently I'm using this script: set timea to do shell script "date +%s" ##something ...
0
votes
1answer
59 views

Unable to clear Xcode from Trash. Force clear in Terminal returns permission error?

Since the App Store seemed stuck with updating Xcode to 7.3, I have decided to delete it and reinstall. However, after moving Xcode to the Trash, it refused to be cleared and instead be stuck on the "...
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 ...
0
votes
1answer
42 views

Clean shutdown/restart from terminal in 10.7+

I have a headless system that is controlled remotely that I need to shutdown/restart in an automated way (without the use of VNC or local keyboard/mouse). Using various commands via SSH or via my ...
0
votes
2answers
71 views

How to type in Mac window?

I want to enter a simple adb shell command, so I navigated to ...\sdk\platform-tools\adb.exe, and opened it. However, I am unable to type in it! I am a new Mac user after recently moving from ...
0
votes
0answers
17 views

Odd behaviour for long commands after styling the terminal

After putting the following statements on the ~/.bash_profile file: # STYLING THE TERMINAL # References: # - http://apple.stackexchange.com/questions/33677/how-can-i-configure-mac-terminal-to-have-...
0
votes
3answers
62 views

How to make Terminal open every new tab in the “Homebew” profile?

I really like Terminal's "Homebrew" profile (black background with green front, instead of the default white background with black font), so I set it as my default profile. This makes it so that when ...
0
votes
0answers
31 views

curl isn't outputting what it used to

I had programs that relied on using curl in the terminal (bash) and one day thy just stopped working. I realized this was because the output of curl had changed for some reason. I thought maybe the ...
0
votes
0answers
53 views

OSX Activity monitor (energy) shows terminated terminal app with high average energy impact

I use my macbook like desktop (always connected to electricity) 95% of the time, so I never noticed this before. However, I had to use it on battery last few days and it surprised me how short the ...
1
vote
1answer
162 views

Shell command or series of commands similar to the Automator action “Get Link URLs from Webpages”

I have a long list of URLs. Contained within each of these webpages, there are links I need to extract. The Automator action Get Link URLs from Webpages is a very useful action for this task. ...
1
vote
1answer
99 views

Get URL of opened tab / tabs from terminal

I have a tab open in Google Chrome. Is it possible to get or check it's url from terminal? If not, how about automator script? Will also be satisfied with a title.
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, ...
0
votes
0answers
22 views

What happens to programs like node, npm or grunt that has been installed globally after os x reinstall?

I have huge problems with the kernel_task. I have a Mid-2015 15" rMBP with discrete GPU. It really annoys me when kernel_task goes 400% 500% CPU and I could not solve this problem. I want to reinstall ...
0
votes
2answers
74 views

How to write a script that runs whenever a new file is added to a specific directory?

I've never written a script for OS X, and I don't really know which scripting tool i'll use for this task. Here's a pseudo code for the script I want to build : whenever a new file X is added to ...
3
votes
2answers
200 views

How to enable/disable OS X beta participation from Terminal?

Does anyone know how to enable/disable OS X beta participation from the Terminal? Typically one could opt-out of the Beta program by choosing the following option found in the App Store preferences ...
0
votes
1answer
1k views

How to batch download all files in a Volafile.io room?

Volafile.io Live Filesharing & Chat Example URL: https://volafile.io/r/$ID. There is Feature request: Download all the content of a room in a .zip file. #117. I don't wish to depend on that ...
1
vote
1answer
37 views

Setting up execution path in Terminal

I have no experience with using Terminal but I am trying to install a program msbayes (installation instructions here. The instructions say to set up an execution path using either $ echo 'export ...
2
votes
1answer
70 views

Basic OS X folders - folder structure regarding users

I am logged in as user "vlado" on my MacBook running El Capitan. If I go and type whoami in Terminal, it says vlado too. So this is fine. But in my folder structure in hd/Users/vlado/Applications I ...
2
votes
2answers
94 views

What is the most OSX or Darwin-like command-line experience available (without buying an expensive Mac or hauling my production machines home)?

I want to emulate the command-line experience from OSX with a small netbook and practice my skills with the comfort of this small machine. Surely Apple offers actual Darwin Links for developers or ...
1
vote
0answers
178 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 ...
0
votes
0answers
6 views

Adding Aspshell user account via terminal

Good Day, I'm new in Mac OS X (Maverick). I want to add user account (standard user) with aspshell via terminal. Any tips? Thanks.
3
votes
3answers
1k views

I'm Getting Errors When I Try to do 'brew update'

I want to install a gem. The instructions strongly suggest that I use Homebrew to install the gem dependencies. I have not used Homebrew a lot, maybe once years ago. I do remember that El Capitan ...
0
votes
1answer
32 views

How do I add the Applications folder to the terminal PATH?

For example, I have Sublime Text that I can open from Spotlight. However, sometimes I'm navigating with the terminal and I want to do sublime source.php, but since I don't have the sublime app ...
0
votes
0answers
23 views

How to Extract ENVI picture details for Matlab?

I am studying pictures where I need to separate psf images with sufficient ENVI header file for the function multibandread in Matlab SIZE = [LINES, SAMPLES, BANDS] SUBSET = {DIM, METHOD, INDEX} X = ...
1
vote
1answer
63 views

How can I make an external drive behave as an internal drive?

My question is pretty much summed up by the title, I have an external drive which I'd like to have recognized as an internal drive. How can I do that? Thanks for looking at my question. By the way I ...
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 ...
2
votes
0answers
28 views

Quicklook for fullscreen terminal

I recently realized you can use quicklook from the command line. Here's the example: qlmanage -p somefile.txt >& /dev/null & When this command is invoked quicklook opens its popup *in a ...
0
votes
0answers
65 views

I have no Internet access in Terminal!

I am using OS X El Capitan 10.11.3 and the ZSH Shell. Here's what I get when I try to ping any server: ❯ ping google.com PING google.com (172.217.16.78): 56 data bytes Request timeout for icmp_seq 0 ...
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' &...
0
votes
1answer
119 views

terminal -bash: command not found

I'm trying to compile a c++ program on the Mac terminal with gcc then the source files path. I've found some short term fixes on the Internet but I want it so it works every time. Also I hardly know ...
2
votes
1answer
60 views

How to change a search direction in terminal

I'm under OS X El Capitan 10.11.1. When I try to search in terminal text by cmd+F it starts to search from the beginning rather than from the end backwards as it was in terminal on Ubuntu. So how ...
0
votes
1answer
62 views

Why don't changes in the bashrc file work on a new terminal window?

I'm trying to add an alias to the bashrc file. Since I'm not good at this, Im' going to write all the steps I took nano ~/.bashrc The file had this in it export PATH="$PATH:$HOME/.rvm/bin" # Add ...
0
votes
1answer
27 views

Edit (colorized) terminal output before printing?

A very similar question has already been asked on SuperUser but none of the answers works satisfactorily for me. I can actually get almost what I want by simply: Running the Terminal for the whole ...
0
votes
0answers
15 views

Connecting to WPA Enterprise with Terminal

I have two WPA Enterprise login credentials, and I find myself having to disconnect the wifi, and reconnect as the different user. I have done a little look through, and I found that it is possible ...
3
votes
1answer
30 views

Specifying Terminal-only mapping in Karabiner

I am trying to remap specific Ctrl+<Key> combinations to Command+<Key> in Terminal.app using Karabiner. The following private.xml is used: <?xml version="1.0"?> <root> <...
1
vote
1answer
71 views

mysql fails to load on boot

I have a Macbook. Forever I’ve had mysql server installed and running on start (using El Capitan). Well now I’ve installed Wine. Since then mysql server fails to start on reboot. If I manually run ./...
1
vote
0answers
102 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 =...
0
votes
1answer
24 views

How best should I delete this user

I'm new to OSX and tried to create a user from the terminal which I no longer need and which I named incorrectly. I see I can delete the user in System Preferences > Users & Groups but do I need ...
1
vote
1answer
111 views

Open the same terminal without switching spaces

I'm looking for an AppleScript (or anything, really) that will do the following: If a Terminal window is open in the current space, bring it to the front. If not, open a new one in the current space....
0
votes
1answer
38 views

Mac Terminal app - unable to use the up arrow to load previous commands when using SSH on remote server ( ^[[A )

I'm running into a weird issue where the UP arrow no longer restores commands previously entered on a remote server during SSH session: :~ user$ ssh user@myserver //... type the password, get welcome ...
0
votes
1answer
19 views

Reset “New Terminal at Folder” placement in context menu

Before when I enabled the option to open a new Terminal window from a certain folder, my context menu looked like this: Now it looks like this: How can I go back to having just the one option in ...
0
votes
1answer
92 views

Homebrew won't link git

I am trying to enable autocomplete for git on my mac (currently running El Capitan) but I am having troubles with Homebrew. So far, I have installed bash-completion and added the lines in my ...
0
votes
0answers
21 views

New shortcut for going up one line in Terminal in El Capitan

I upgraded to El Capitan a few days ago. Before I used to use ⌘+⬆︎ to go up exactly one line in the terminal (and usually pressed the combination continuously to go exactly were I wanted), but this ...
0
votes
1answer
20 views

How to copy a file and replace (if necessary) in the target directory from terminal

If I'm on my Desktop and I have a file called 'test.txt' on there, and I want to copy that file to say '~/Library/Folder 1/Folder 2/' how do I do that? Also, if there's already a file there called '...
3
votes
2answers
105 views

My terminal keeps printing “emergency” messages

I keep getting these broadcast messages being printed to every terminal window, and it's driving me nuts. Does anybody have a clue as to how to turn them off? Broadcast Message from _usbmuxd@10242-...
1
vote
0answers
254 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 ...
0
votes
1answer
100 views

Weird null characters ^@ output on iTerm 2 / zsh when a command is running

When I m using iTerm 2 (with zsh), and a command is running at the prompt, every minute or so ^@ (NULL character) got displayed on the terminal. Below is an example, using socat, but other commands ...