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
0answers
21 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
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
2answers
57 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 ...
0
votes
0answers
24 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 ...
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
47 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
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@...
15
votes
3answers
10k views

How to enter special characters so that Bash/Terminal understands them?

Let's say a folder has a file called Näyttökuva.png (for those who are interested, it is ”screenshot” in Finnish). This is what happens: $ ls Näyttökuva.png $ ls N* Näyttökuva.png $ ls Nä* ls: Nä*: ...
7
votes
2answers
4k views

How to use Terminal to send keystrokes?

Is there a way for Terminal to simulate pressing multiple keys at once? For example, Shift+Ctrl+R? I am sshing into OS X from a Windows client (PuTTY) and am wondering if I need to configure the ...
9
votes
13answers
26k views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
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
32 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
68 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
3answers
30k views

Terminal command to kick selected users off my network

There are lots of ports in my small office but sometimes I want to kick out people who are accessing internet instead of doing their job. With arp -a i can look for all of the connected users. But how ...
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
36 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
65 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.
1
vote
2answers
55 views

How can I get ^C to show up when I do Control-C on a Mac terminal?

If I type a command, and halfway through I decide not to run that command, I do a Control-C to cancel it without having to backspace the whole thing, e.g. mv foo.txt bar.txt. On Ubuntu it'll show up ...
6
votes
2answers
2k views

Change my shell to a different bash version at /usr/local/bin/bash?

How can I set my /usr/local/bin/bash (which is the 4.2 version that allows auto-completion of 'cd to directory with directory name') to be my default bash for a new window instead of my regular (v3.2....
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 ...
0
votes
1answer
19 views

Script or App that identifies corrupt music files?

I'm wondering if there is a Terminal command or AppleScript or any sort of app that can scan a collection of MP3s, WAVs, and FLACs, and determine if they are corrupt. iTunes skips songs once it hits a ...
1
vote
1answer
2k views

Make `hostname -f` return fully qualified hostname

How can i make hostname (i.e. the unix commandline tool hostname, invoked in terminal) return a hostname including the domain information? At the moment, hostname, hostname -f and hostname -s return ...
0
votes
1answer
44 views

How use function keys in iPad with Apple keyboard?

I'm trying to use the Apple Wireless keyboard for coding in a terminal (with nano, vim, etc) using a app to access by SSH them in a remote server, and discover that all the function keys (Esc, F1, f2.....
2
votes
1answer
2k views

Terminal Failing to login

Suddenly, when I attempted to create a new terminal window, it fails. It does nothing for about a minute then shows only this: Login incorrect login: Typing in my username doesn't work. I get the ...
1
vote
3answers
110 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 ...
2
votes
2answers
2k views

“xcode-select --install” versus retrieving the dmg from Apple's developer website

I would to ask a question closely related to already existing posts (How to install command line tools without error that is not currently available on Software Update server? and http://stackoverflow....
1
vote
2answers
325 views

How to list audio card IDs from terminal

I am developing a script which deals with sound recording. As user potentially can have multiple sound cards attached, I would like to give him/her a chance to select desired one. The software I use ...
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, ...
5
votes
6answers
14k views

How can I write a script to open multiple terminal tabs and execute code in them?

I want to be able to open the terminal application and have it either automatically run a script that opens several tabs and run an arbitrary set of commands in each. For example I would like one tab ...
-1
votes
1answer
71 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 ...
16
votes
4answers
144k views

How do I make the hard drive visible in the Finder?

On OS X Lion I don't see the hard drive in the Finder and I seem to have no permission to create a folder under / from terminal. I know I can do this if I activate the root user, but I need to be ...
-1
votes
2answers
31 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
vote
1answer
47 views

Run Python Script on any Mac computer

Is there a way to create an executable Python script that will be able to run on any Mac via terminal, similar to a Bash script. I need any user to be able to just double click the file, and it should ...
11
votes
5answers
13k views

Open an app in fullscreen via Terminal

I wonder if it's possible to open a program in Lion fullscreen mode via the Terminal. I want to write a short script which starts a bunch of programs in fullscreen mode, so that I only have to click ...
0
votes
1answer
15 views

GNU screen updating or reinstalling

Is there a way of updating GNU screen for Mac OS X 10.11.5? My current screen version is 4.00.03 and would like to use the features such as layout which does not seem to be available for me. If not,...
0
votes
2answers
58 views

I get a bash syntax error message every time I open Terminal on macbook

-bash: /Users/admin/.bash_sessions/720116FC-4C25-4FFA-AC15-00D5C843C15F.session: line 1: syntax error near unexpected token (' -bash: /Users/admin/.bash_sessions/720116FC-4C25-4FFA-AC15-00D5C843C15F....
74
votes
14answers
82k views

How can I open a Terminal window directly from my current Finder location?

I was wondering if there was any was I could right click inside any instance of a "Finder" window such that I have an option that says "Open Terminal Here". It would be really helpful.
5
votes
2answers
4k views

List of (activated) fonts with shell command in os x

Is here any shell command for getting the list of activated fonts? Mean something like: some_font_util -activated -format 'file: name' for getting a list of activated fonts in a form: /Library/...
0
votes
1answer
27 views

Exception in thread “main” java.lang.UnsupportedClassVersionError (Trying run Alda on OS X)

I've hit a wall with trying to get Alda to run on OS X. It's an executable I downloaded from here; then, as per the installation guide on GitHub, I ran chmod +x alda on it, and then moved it to my /...
3
votes
1answer
47 views

OSX El Capitan reset the number of Spaces

Is there a way of "resetting" the number of desktop Spaces in Mission Control in El Capitan? I'm working on a previous co-workers Mac Pro, and somehow mission control has....325 desktop Spaces... I ...
0
votes
0answers
17 views

How to prevent KeyRepeat settings from typing repeated keys when no key is depressed

Initially, my issue was that I could not type a series of the 'A' character by holding down shift-a. Instead, I was presented with a bubble above the held letter for all sorts of 'A's with umlauts, ...
0
votes
0answers
31 views

External Hard Drive Not Showing Up after dragging it to Terminal?

So from the left side of the Finder I accidentally dragged my external hard drive and now it doesn't appear there. I would like to see it there, I know it's reading it because I did an ls /Volumes and ...
90
votes
4answers
39k views

Open Finder window from current Terminal location?

If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window? Note: This is the opposite of opening a Terminal from Finder.
0
votes
0answers
81 views

Unable to start XVfb with XQuartz 2.7.9

Is there some issue with XQuartz-2.7.9 ? After installing XQuartz in my Mac 10.10 the command - /usr/X11/bin/Xvfb :4 -dpi 200 -screen 0 1000x1200x8 fails with the following error: ...
0
votes
1answer
72 views

ICMP packet with a negative round trip time?

I often keep a ping running in my Terminal so that I can pop it up to keep an eye on any network issues in our office. Recently, I ended a long-running ping session and noticed in the summary ...
-1
votes
1answer
55 views

Refreshing env variables by sourcing not working

I installed torch in my MacBook Pro (running El Capitan). Now for using torch, I've to refresh env variables. Official torch document asks me to run source ~/.profile. But the terminal is showing No ...