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
15 views

Cannot execute this binary file

appreciate any assistance, I'm a Mac Noob Im trying to upgrade MySQL in MAMP to 5.6 according to the these instructions When I try to run the .command script as per #2 I get the following output: ...
0
votes
0answers
34 views

Why do I get Permission Denied when I run the whois command

I can't seem to be able to run the whois command in my terminal. (Mac OS El Capitan) There's no firewall setup and this is what the command and its' response look like: shell> whois google.com ...
1
vote
2answers
44 views

Sending commands from TextWrangler to the terminal

I want to send commands from TextWrangler to the terminal. Even if I found this, I don't understand how that works since I'm brand new to Unix and running Applescripts. tell application "...
0
votes
1answer
13 views

Should I have my MBP “take breaks” while working hard, or are its fans sufficient?

I want to transform some data by doing (from Terminal) a Python command that runs on a single core only and doing something I expect to be CPU bound once data is pulled from disk and is accessible at ...
-1
votes
1answer
10 views

What is my issue when trying to install rails?

I have all the pac managers and etc that i can get from any book or online resources anywhere, ive tried many methods and just about everything i can find online. Can someone who knows exactly what ...
0
votes
1answer
16 views

Terminal not running programs when pressing enter [on hold]

Command line isn't properly running programs After trying to run a program on terminal it doesn't execute properly and just makes a new line with > at the start How can I fix this
0
votes
0answers
29 views

echo command works fine at terminal but not from shell script

#!/bin/bash # the echo command below work fine when copy pasted into terminal # but behaves differently when run from sh script echo "starting and running from script file" echo ">...
0
votes
0answers
22 views

Terminal command to only show open apps?

I just got a new Mac, and something I'd like to do is make it such that only apps that are running show in the dock. I found this article, which had the terminal command- defaults write com.apple....
0
votes
0answers
13 views

How can I cd to an alias directory in the Mac OSX terminal without creating symbolic link [duplicate]

I used to be able to cd into aliases with my Mac. Today I was messing around with ~/.bashrc and ~/.bash_profile to make PostgreSQL work. After I restarted my computer it stopped cd'ing to aliases and ...
0
votes
0answers
16 views

Terminal command that lists which application is using usb device

I'm looking for a terminal command that will tell which application is using a particular usb device. I'm specifically looking for which application is using my logitech webcam.
0
votes
1answer
31 views

Installing Casper; a program that needs to be placed in a directory on my PATH

I need to install software but I don't understand how to do so. I have downloaded a file which contains 5 files which includes a Unix Executable file which when I open displays this: Last login: Tue ...
1
vote
1answer
21 views

Change “from” address in Terminal `mail`

When sending mail from shell, e.g., echo '123' | mail -s 'subject' name@mail.com The recipient gets an email from "my-local-username@my-machine-name.local", e.g., "bob@macbook.local" How can I ...
3
votes
1answer
43 views

Powerline Theme in OSX terminal have a strange color

I configure the powerline theme on OSX like zsh vim and emacs But it has a strange colour in the ">" character How can I make the the ">" character colour match with the powerline bar
0
votes
0answers
35 views

Accidently took ownership of filesystem root

So, in an attempt to take proper ownership of some files that somehow got set to read-only inside a subdirectory of my home directory, I ran the following command within that directory: sudo chown -R ...
0
votes
1answer
17 views

How to uninstall xonsh?

I've been trying xonsh and I don't get used to it, so I would like to uninstall it given that I need to work. How can I get back to my previous (default) terminal configuration?
0
votes
1answer
62 views

How to update xcode from 7.2.1 to 7.3.1 using terminal (commandline tools)

I just need to know if there's a way to update xcode from 7.2.1 to 7.3.1 using terminal (commandline interface)? The reason is I updated the xcode via mac appstore and once it was installed, the ...
0
votes
2answers
32 views

How to permamently change terminal font size via commandline/terminal?

I've been looking at this command: defaults read com.apple.terminal "Window Settings" But it seems there's no way to access the variables/settings inside it? Any ideas is much appreciated. Thank ...
1
vote
1answer
62 views

macOS Sierra GDB not codesigned

First I should note that I'm usin macOS Sierra (version 10.12 beta 16A238m), but I don't think it's that different than El Capitan in this certain situation (but I guess you know more than I do about ...
0
votes
0answers
19 views

error with commands on the Mac terminal [closed]

I request your help because it is not working ctrl+ l, ctrl+ c and ctrl+ v my mac command to clean the terminal, I am using oh-my-fish
0
votes
0answers
11 views

Macports Python IDLE 3.4 not opening

Per earlier articles (especially Python IDLE from MacPorts can't start), I've attempted to get my Python version 3.4 to work from the Macports IDLE.app but to no avail. I've already tried the ...
0
votes
1answer
23 views

zless exits when reaching EOF

I run the command zless some.log in OS X 10.11.5 El Capitan. It closes when reaching EOF. I checked aliases and I do not have LESS env variable set up but still it looks like zless runs with -Q ...
0
votes
1answer
26 views

what is /usr/share/dict used for

Where is this used, I read the README and it didn't say what program it was from, I do not think that it is the stock dictionary app because I tried some very obscure looking words that were in some ...
0
votes
0answers
14 views

brew upgrade breaks terminal, requiring reset

When I run brew upgrade in my Bash shell, it breaks the terminal display (in both iTerm2 and Terminal) such that I can't see anything I type in the following prompt and I can't see the history. For ...
0
votes
1answer
23 views

Locked file is stuck in trash

I have a file in my Trash. The filename is 'codedesign' and it is a Unix executable file. This file ended up there in the process of me trying to fix a corrupted patch installer. The original ...
0
votes
0answers
17 views

How to change the font color in mac verbose mode?

How can i change the font color in the "verbose mode booting screen" in osx? Is there any terminal command?
0
votes
0answers
16 views

Warning when starting script with osascript within script

scriptName.sh contains the following code. osascript <<EOD (display dialog "To: $name $number \n $sentence" ¬ with title "Message" ¬ buttons {"Send", "ReDo", "...
0
votes
1answer
15 views

I am not able to hide the “Split pane bar” in terminal

This thing never exited before. All of a sudden it started showing up and I hate it. Can some one help me remove this please. I am running 10.11.5 OS X
0
votes
0answers
23 views

Session restoration in terminal has stopped working

Running 10.11.5 From the time I installed El Captain I have enjoyed having the individual bash histories restored with my sessions (along with the window contents which has been the default for some ...
0
votes
2answers
55 views

Unable to show hidden files on Mac

I just received a new MacBook, running OS X El Capitan 10.11.5, from my new employer and I am unable to force hidden files to show in Finder. This is my fourth MacBook, and in the past I have always ...
2
votes
1answer
162 views

How do I override the terminal command “rm” to perform the “rm -i” command by default?

The command rm nukes files. rm -i asks for confirmation before nuking the files. When I use rm, I want rm -i to happen.
0
votes
1answer
21 views

OS X randomly asking for NAS login after using mount_afp on Terminal

This is a very weird issue that is apparently so rare Google hasn't been any help in finding a clue as to why this happens or how to fix it. I use mount_afp on Terminal to mount the music directory ...
0
votes
0answers
12 views

WD Passport USB 3 Drive HSF Journaled is recognised but the drive won’t mount

I accidentally ran Recovery Disk Assistant on my USB HD .Then the Hard drive stopped mounting or showing up in Disk Utility . It showed up in terminal though On Googling i found gdisk to be the ...
1
vote
1answer
37 views

.plist returns: Invalid property list, plutil says ok!

I'm trying to create my first .plist. I want to mount a ssh drive on login so i don't have to enter the command each time I start my Mac! The command is: sshfs -o allow_other,defer_permissions user@...
0
votes
1answer
44 views

Git auto-completion not working on Mac OSX 10.11.5 El Capitan

I have tried the examples found here to get Git auto-completion working on El Capitan, however none of the examples work for me. I installed bash-completion with Homebrew (brew install bash-...
0
votes
1answer
19 views

How do I prevent Terminal.app from capturing Cmd/Ctrl/L?

Following the instructions at http://www.techrepublic.com/blog/apple-in-the-enterprise/handy-screen-locking-tips-for-mac/ I've set up a keyboard shortcut to lock my screen by hitting Cmd ⌘ Ctrl ⌃ ...
0
votes
0answers
24 views

What causes ps to show the uid instead of the username on my Macbook pro

This is occurring on my MacBookPro, running OS 10.9.5. I don't know what I might have done to change the behavior. When I executed ps before, it would show the username. Now, for some reason, ...
0
votes
0answers
31 views

How do I view inline images in w3m?

I am using a mac (el capitan), and trying to use w3m. But I don't see images when browsing pages. My question is: I want to view inline images in w3m, but don't find a way to do so. I have ...
5
votes
3answers
67 views

Can't type ' / ' (slash) after the letter ' l ' (ell) in Terminal, makes 'l' with stroke character 'ł'

When I type any word ending with an 'l' (ell, like "local") and then press the / key, the 'l' is replaced with another symbol and the slash, '/', is omitted. How can I deactivate that function?
0
votes
0answers
15 views

Anaconda - Visitor tag before user name in terminal

I am using Anaconda to install and manage Python on OSX. Since I haven't used it for quite some time I forgot the way things work and just typed: anaconda list [nameofpackage] which doesn't work,...
0
votes
0answers
15 views

Why doesn't my wifi on/off switcher shortcut work?

So i went on Automator, selected Service, and changed service receives selected to "no output". Then i dragged in Run Shell Script, and in the box i put in this code, which turns the wifi on/off, ...
0
votes
2answers
35 views

Superuser su password reset

I am using OSX 10.6 I am the admin of my computer, however when I try to login as the super user through my terminal using my admin password, I am denied. Is there anyway to reset the password or find ...
0
votes
1answer
64 views

Why does sudo shutdown -h now command work but I cannot shutdown my mac traditionally?

I am on OS X El Capitan 10.11.5 on a Macbook Pro Early 2015. When I try to shutdown or restart by pressing the Apple, it doesn't work. All of my applications close, the menu bar clears, and finder ...
0
votes
1answer
20 views

In the Terminal preferences, what does the “Use Style for ”Copy“ Command” option do?

Sorry if this is a bit of a newbie question, but I couldn't find it by googling.
0
votes
0answers
19 views

Why does sudo shutdown -h now command work but I cannot shutdown my mac traditionally?

I am on OS X El Capitan 10.11.5 on a Macbook Pro Early 2015. When I try to shutdown or restart by pressing the apple, it doesn't work. All of my applications close, the menu bar clears, and finder ...
2
votes
0answers
37 views

Launch daemon not processing program arguments

I have been trying to make a change (for port forwarding/redirecting) to the pfctl.conf file and have it ( the /etc/pfctl.conf file) loaded at startup. The pfctl.conf has been been confirmed to be ...
1
vote
3answers
109 views

Is there a way to list all available commands in terminal

Is there a way to list all available commands in terminal? I know linux has compgen -c is there an equivalent command for OS X? Update: The actual issue was that I was using zsh instead of bash. So ...
0
votes
0answers
26 views

Possible to force command line to be somewhere else than bottom of the screen?

In my vimrc, I have the following line: let so=999 to force the cursor to stay in the middle of the screen, which is something I find more comfortable. However, when going back to the terminal, ...
0
votes
2answers
44 views

command line update of python3

I have both python 2.7 and 3.5.1 installed in my Mac (El Capitan). I left version 2.7 as per this recommendation. Now I would like to update version 3.5.1 to the latest one but from the command line. ...
-1
votes
2answers
30 views

-bash: /usr/bin/svn: No such file or directory

I am trying to upgrade my svn version. So I deleted older binary sudo rm /usr/bin/svn Then I installed svn brew install svn And linked it too athakur:home athakur$ brew link --overwrite ...
-1
votes
1answer
70 views

Batch copy time creation and modification date from files using OSX

First of all, I have asked the same question at stack overflow, but I am not sure if it's right over there. That's why I decided to post it here, too. t'm having a hard time trying to copy the ...