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
59 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 ...
0
votes
0answers
14 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 ...
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
0answers
21 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
46 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 ...
0
votes
0answers
9 views

How to get out of this default folder static-30

I recently installed apache ant on my macbook. I think the installation didn't go well. Whenever I go to my terminal now the home folder is static-30 How to get rid of this?
0
votes
0answers
37 views

Automount an SMB/SMBFS on boot

How do I add an fstab (now called vifs) entry to the fstab file in order to automount an SMB/SMBFS/Windows network drive on boot. I tried the below but it didn't work as expected: ...
0
votes
0answers
23 views

Do cronjob run when the computer is asleep?

I have a macbook air running El Capitan. I wrote a few cronjob that appear to be running even when the computer is asleep. Is this correct, or is my computer not really in a sleep state?
0
votes
0answers
9 views

How do I make a Run Shell Script Automator action that will change the username and password of a specific internet password item in Keychain?

I am trying to make an application that allows me to quickly switch between two logins on an 802.1X network. I already have a portion that prompts me for which account I would like to log in to and ...
0
votes
0answers
13 views

“Display Notification” stuck in loop in Bash script

Is there any way I can fire a banner notification once through a bash script? I'm trying to modify this BitBar plugin to be a little fancier: #!/bin/sh # <bitbar.title>Gmail ...
0
votes
0answers
33 views

Troubleshooting converting Ubuntu.iso to ubuntu.img with hdiutil in Terminal

When I try this command: hdiutil convert /Users/Example/Example/ubuntu.iso -format UDRW -o /Users/Example/Example/ubuntu.img The terminal says that the image is not recognize, what am I missing?
0
votes
0answers
53 views

My Mac is slow after upgrading the OS

Recently, after upgrading to EL Captain, my terminal has slowed down way too much. Should I go back to my previous OS? My Mac has 4GB RAM and a 500GB HDD. Macbook Pro 13-inch. It has been one ...
0
votes
0answers
39 views

Can I conclude that I have to upgrade my mac's RAM based on these stats?

My 2012 13 inch MacBook Pro has become real slow, even when just a few programs like Itunes, Safari or Spotify are opened. I've been cleaning up my HDD, but I don't feel like it's speeding up. So I'm ...
0
votes
0answers
33 views

OSX handling of USB Drives and Permissions - need clarification/explanation

I'm new to the site, and well, new to MACs. I have an image (dual boot yosemite and win7) on some old iMACs, late 2009s. When I deploy this image, sometimes my bootmenu disappears and I have to ...
0
votes
0answers
113 views

Text selection in terminal without mouse - moving cursor using arrow keys

I recently moved from a well-configured Ubuntu to Mac. I used Emacs for many years but I am too lazy to re-install it (and re-configure it). One of the useful features in Emacs shell is that you can ...
0
votes
0answers
35 views

“Console mode” crashed under Yosemite

I tried to enter the "console mode" in OS X 10.10.5. However, after some characters existed on the screen for about 1 second, the screen turned dark and nothing else happened. It must has been ...
0
votes
0answers
36 views

Open SSH server files automatically with AppleScript

I am trying to build an Apple Script which will: 1. Open terminal login in SSH with details 2. After login, open a python script which is on ssh server automatically I want to do all of these tasks ...
0
votes
0answers
53 views

False error Undefined property when debug php script in El Capitan

I have installed PHP and x-debug from homebrew in El Capitan: php -d xdebug.remote_enable=on -v PHP 5.6.18 (cli) (built: Feb 6 2016 06:53:53) Copyright (c) 1997-2016 The PHP Group Zend Engine ...
0
votes
0answers
44 views

Using “open” command in OS X Terminal / Finder split view

When I use Terminal + Finder in Split View mode I would really like to use open . command to open folder in the same Finder window. But instead - new window is opened. I also tried open . -g - no ...
0
votes
0answers
21 views

Terminal always starts from mathematica command line

This is an old issue in my MBP. If I open terminal, it doesn't show the command line, but runs mathematica. Thus I must type 'Quit[]' to exit the mathematica environment. The mathematica was installed ...
0
votes
0answers
53 views

Issue with libcurl.4.dylib

I'm trying to run Photo Grabbr to bulk download from Flickr but I can't get it to run on Snow Leopard Server (10.6.8). I get the following error in the problem report: Process: Photo Grabbr ...
0
votes
0answers
33 views

why does the which command output the same path twice?

Why does this command have this output? $which -a python /usr/local/bin/python /usr/local/bin/python /usr/bin/python Specifically, why is "/usr/local/bin/python" listed twice? The "/usr/local/bin" ...
0
votes
0answers
36 views

2013 Retina Macbook Pro Turn off and back on when opening the lid

This only happens sometimes but it bothers me because I have to wait for all the script I got to load again. I cannot figure why is it happening. Here is the log: 2016-02-06 20:12:17 +0100 ...
0
votes
0answers
21 views

tmutil associatedisk -a has no effect

I used this method often in the past and it always worked well. Now, however, tmutil will not re-associate my external disk. I copied the contents from drive A to drive B. Now I would like to continue ...
0
votes
0answers
26 views

Batch modifying file metadata

I'm looking for an application or command line tool that can batch edit file metadata. I have some audio files recorded using a recorder that was off by 1 hour, and I want to modify the creation date ...
0
votes
0answers
42 views

Open djvu file with Evince?

I have installed evince from homebrew. But I have no idea how to change the default application of djvu file to evince. Yes, I can run it from Terminal, but it's not always that convenient. This ...
0
votes
0answers
320 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 ...
0
votes
0answers
78 views

use python to mount smb share from osx including special characters in the password field

I've seen plenty of scripts for mounting a smb share in osx via terminal and python. I'm working toward the python solution using the answer at the end of this similar question. The only issue I ...
0
votes
0answers
27 views

Data recovery/overwritten files?

I was troubleshooting how to install boost and came across a thread on stackoverflow that seemed to be about vaguely the same thing. I ran the terminal commands written in the thread, and realized ...
0
votes
0answers
14 views

Can't Install Debian Source

I have a jailbroken iPhone 4 (iOS 7.1.2) When I try to run "make" command, it gives "gcc: command not found" error. I tried to install "gcc" with "apt-get install gcc" but there weren't source So I ...
0
votes
0answers
74 views

SOCKS5 Proxy for only specific IP addresses without authentication

I need to connect to a specific proxy server for only specific IP addresses. I've managed to configure everything with proxyfier. However I only have the trial version. I've read much about ssh ...
0
votes
0answers
30 views

How to uninstall an app installed in iOS simulator from command line?

I'm looking for a way to uninstall an app from iOS simulator which doesn't require an interaction with the emulator. In fact I'd find more handy to do the equivalent as Android adb uninstall ... ...
0
votes
0answers
27 views

Can't get terminal to connect to internet via proxy

I set up a proxy server on my raspberry pi, which is connected via LogMeIn Hamachi to my mac. Using the proxy settings in my global network settings panel, I can access local resources via Chrome, ...
0
votes
0answers
73 views

Set default user in terminal

I just formatted my Mac and upgrade it to El Capitan, When I open Terminal I see that I am always logged in as root: How can I get my usual user name every time I open a new Terminal window, I ...
0
votes
0answers
12 views

Shortcut for dragging and dropping a tab on terminal

Not sure if this is possible. But I was wondering if there is a shortcut for physically moving a tab on my Terminal. Say I have these tabs on my terminal: | tab A | tab B | tab C | tab D | If I ...
0
votes
0answers
29 views

Is the C compiler used in Xcode ANSI-compliant?

I need to build php from source but when I compile php and apache with xcode, Compiler logs some warnings about "deprecated" uses however I use latest tools. So I found out that apache recommends ...
0
votes
0answers
91 views

How do I disable/enable an external monitor from terminal

I run two external monitors + my MBP display in OSX Yosemite. My middle external monitor is also connected to my PC. The monitor will automatically switch to an active input, so for example if my ...
0
votes
0answers
32 views

Is it possible to add apps to Apple Server Profile Manager via terminal/command line

I am trying to automate my build process. Currently I have to manually upload builds to the enterprise server every time I want to distribute a new build. Is it possible to automate this? I think I ...
0
votes
0answers
32 views

Ran out of disk space during sudo cp in Terminal on OS X

I was copying the /Library/Audio/Plug-Ins directory to ~/Library/Audio/Plug-Ins, with the user Plug-Ins directory backed up of course, so that isn't the problem, and I had forgotten that I had... less ...
0
votes
0answers
27 views

Can I use Terminal to create 3 partitions on Mac

What would be the command in Terminal to create more than 2 drive partitions in El Capitan on the new iMac?
0
votes
0answers
41 views

Cat command to join mp3 selects only the first file

I'm on a Mac with El Capitan (10.11.2) and have a folder with multiple mp3 files (audio-01-13.mp3 for example as a file name). Now I wanted to merge these files in one big mp3 file by doing the ...
0
votes
0answers
23 views

Services shortcut not working properly

So I have set ctrl+T to open the folder I have selected in Terminal. But usually it doesn't work and nothing happens entering the shortcut. When I go Finder->Services and then don't press anything ...
0
votes
0answers
88 views

UTF-8 five-character code point in Terminal

How can I use the Unicode Hex Input keyboard to enter UTF-16 representations of characters in Terminal? Specifically, I'd like to enter U+1F601 (grinning face with smiling eyes). Using the Unicode ...
0
votes
0answers
15 views

How to enable Ctrl-% command in emacs on OSX

I'm trying to use of paren-matching shortcut ctrl-% in emacs on OSX. It was successful on Win. But on OSX non of commands: ctrl-shift-1/3/4/5/6/... works - only work ctrl-shift-2 (ctrl-@) for some ...
0
votes
0answers
5 views

hostname keeps swapping to UNKNOWN

The hostname keeps changing on my Mac to UNKNOWN. It's happened probably half a dozen times in the past month, and I genuinely haven't the faintest idea what's causing it. The Sharing section of ...
0
votes
0answers
49 views

Looking for a Terminal command to disable permanently “pause mode” on HP printer • Lion 10.7.5

Reason : HP Printer suddenly always on "pause / queue" while printing. My problem : All of a sudden, my LaserJet CP2025 printer stopped printing, putting instead all documents on queue. I'm ...
0
votes
0answers
34 views

The file that cannot be deleted

Today I've been clearing out my hard drive, removing files and applications I no longer need. I deleted a few stubborn files using command line rm. But I've run into a file that resists all my ...
0
votes
0answers
46 views

Slow login and Terminal loading time in Yosemite, possibly related to open directory

I have a problem with slow login times in Yosemite. Logging in is speedy after booting, but after a while (a few days usually) it slows down and can take 20-30 seconds. The time to load a new ...
0
votes
0answers
31 views

Z shell history broken on OS X Mavericks

I can't get Z shell's history working at all. cat .zshrc : HISTSIZE=1000 SAVEHIST=1000 HISTFILE='~/.shell_history' setopt APPEND_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY Whatever the terminal ...
0
votes
0answers
52 views

Why is “com.apple.quarantine” extended permission being added to downloaded files?

Recently I found downloaded files were not accessible through my web browser when viewing a site running inside a VirtualBox server. I noticed downloaded files have the extended permission ...