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

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, ...
31
votes
8answers
22k views

Can home and end keys be mapped when using Terminal?

The home and end keys on a MacBook Pro can be emulated with fn + left arrow or fn + right arrow. Or when certain settings are changed, with the Command (Apple) key instead of fn. None of these ...
0
votes
0answers
18 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
52 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 ...
10
votes
2answers
24k views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
2
votes
2answers
82 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 ...
3
votes
2answers
125 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 ...
2
votes
1answer
53 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 ...
1
vote
1answer
32 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 ...
1
vote
0answers
82 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 ...
3
votes
1answer
200 views

Non-debug qlmanage

I've got a bash alias set up in my terminal, alias quicklook='qlmanage -p ', in order to easily quicklook files from the terminal, but the output bugs me. Testing Quick Look preview with files: ...
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.
0
votes
2answers
131 views

How to re-install deb package from MobileTerminal (iOS) [jailbroken]

I am trying to run a command to re-install an already installed package. Here is what I see that gives me a clue that I am on the right path, but it doesn't install the package: su ****** apt-get ...
0
votes
2answers
7k views

Can't start Octave 3.8.0 in GUI mode

I installed Octave 3.8.0 using homebrew. The Octave official FAQ says I can use --force-gui option to start octave with the GUI. But when I use octave --force-gui command in the terminal, nothing ...
0
votes
1answer
29 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 ...
3
votes
3answers
798 views

Terminal/iTerm2 issue: reverse-i-search trims off command

I've been having this issue since 10.9. cd into a reasonably long path, e.g., cd /Volumes/Storage/backup/long/path Enter a moderately long command, e.g., curl -X GET http://localhost:8888 ctrl+R, ...
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' ...
0
votes
0answers
13 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
102 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 ...
1
vote
1answer
55 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
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 ...
2
votes
0answers
21 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
55 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
1answer
29 views

Using Package Installers behind company firewall

Is there a more efficient way to use package installers behind a firewall than adjusting the proxy settings for each installer? As of now, I'm using Ruby Gems, Bower, and NPM and it's a pain to ...
2
votes
1answer
48 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
26 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
1answer
45 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
0answers
12 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
22 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> ...
4
votes
5answers
2k views

Show text using Large Type without relying on third-party applications

Apple has this amazing feature called 'Large Type', chiefly implemented into Address Book. When you look up a contact, you can right-click the phone number and click 'Large Type', and it will display ...
1
vote
1answer
40 views

I can't delete in tmux

I have searched around and the closes thing I could find to my issue is this: http://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx I am running OSX and I am ...
1
vote
1answer
39 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
74 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
23 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 ...
0
votes
1answer
26 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 ...
14
votes
4answers
5k views

Login directly to terminal instead of GUI

First: I'm obviously not talking about logging in and then automatically launching Terminal.app. In older versions of Mac OS X, you used to be able to type >console in the username field on the ...
20
votes
14answers
11k views

What orthodox file manager for OS X could I use?

I'm looking for a graphical file manager fro OS X, for console Midnight Commander is ok. I need two panels, function keys operations and preferably FTP and SCP support. Also, it would be great to be ...
0
votes
1answer
18 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 ...
1
vote
0answers
166 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
1answer
45 views

OS X copy paste into Terminal adds fdbf bfb9 b083 to beginning and end of selection

For the life of me, I can't figure this out. When using a browser (doesnt matter which), if I select text, then paste in Vim or Neovim, I see characters added to the beginning and end of my ...
0
votes
1answer
58 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 ...
36
votes
4answers
9k views

Using Alt/Cmd + Right/Left Arrow in iTerm

Is it possible to move between words in iTerm using Alt + Right/Left Arrows ? Now if I press Alt+Left I will get '[D' and '[C' if I press Alt+Right.
0
votes
0answers
20 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 ...
3
votes
2answers
100 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 ...
28
votes
4answers
21k views

Can a Mac's model year be determined via Terminal Command

Does anybody know a terminal command that gives me the the model of my Mac? For example - "MacBook Pro, Retina, 13-inch, Mid 2013" or "MacBook Pro, Late 2009" or "Mac Mini, Early 2010". That ...
0
votes
1answer
18 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 ...
13
votes
2answers
10k views

How to update some application to latest version with homebrew-cask?

I noticed some packages provided by homebrew-cask uses a url of the latest version and a version number of "latest" such as dropbox and chrome. Thus they will never be upgraded with brew upgrade. Is ...
0
votes
0answers
56 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 ...
0
votes
0answers
18 views

Sending text to a Terminal or iTerm2 window?

How can I send text to a Terminal or iTerm window? I'm presenting a demo of some multi-user software and would like to create several windows, programatically sending (different) text to each one, ...
0
votes
0answers
38 views

Remove All Illegal Characters from All Filenames in a Given Folder and subfolders

I Know this was was basically answered on the net and using automator with the shell script (Sanitize Filenames) works great, but I need it to also do all subfolders as well. And if possible trim the ...