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

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: //'domain;username:...
0
votes
0answers
27 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
12 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
16 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 Checker</bitbar....
0
votes
0answers
35 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
62 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 and ...
0
votes
0answers
42 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
35 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
172 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
42 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 crashed....
0
votes
0answers
37 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
69 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 v2.6....
0
votes
0answers
53 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
76 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
40 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
49 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
23 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
54 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
109 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
30 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
15 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
89 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
49 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
32 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
96 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
13 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
32 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
123 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
41 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
36 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
66 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
27 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
107 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
20 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
67 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
35 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 efforts....
0
votes
0answers
58 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
63 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 com.apple....
0
votes
0answers
238 views

Sending F5 keystroke using iPad Pro Smart Keyboard

I have got an iPad Pro that I am using with Apple Smart Keyboard. I want to use it to write latex file using Vim editor. I use Vim in a server which I connect to through SSH using an application ...
0
votes
0answers
18 views

Disk's Volumes corrupted when shutdown during synch

I've had this issue for quite a while I had a Windows Dualboot. When running OSX, and when Dropbox is synching, when shutting down to boot into Windows, the disk where Dropbox was synching to gets ...
0
votes
0answers
163 views

How does OS X detect a PowerPC application?

I use an application called Anki for learning foreign languages and professional terminology. This app creates a default folder in /Users/user/Documents/Anki, which I did not want. You can circumvent ...
0
votes
0answers
17 views

bit lost wrt to permissions and users

So I am installing postgresql and it mostly works, kinda. I have a user postgres that was create by the postgres createuser commmand. I understand that the intent is a do-nothing user that can just ...
0
votes
0answers
88 views

xterm settings lost after update to El Capitan

I mostly use my laptop to run a browser and lots of xterms. This morning I took the plunge to El Capitan, and now all my xterms look like they did before I did any customizations. I recall that there'...
0
votes
0answers
30 views

Meta key in Emacs in Terminal on a Norwegian Mac

In the Terminal, there is an option to choose whether to use Alt as Meta. On a Norwegian Mac, you have to disable this, because | comes from pressing Alt+7 (same goes for \ and a few others). However,...
0
votes
0answers
28 views

How can I setup a Cisco IPSec VPN connection from the command line?

We've got a few macs to manage and we are working out how to script the configuration of a few things. We've got most of the bits worked out but there is one that I can't seem to find the right google-...
0
votes
0answers
56 views

launchctl does not set environment variables correctly

I am trying to use launchctl to set the environment variables for Eclipse. What I want to do is pass my PATH to eclipse. I have tried to setup launchctl to do this. Here is the the output of launchctl:...
0
votes
0answers
105 views

Trying to install gnome-terminal on Yosemite

When I run gnome-terminal I get the error: (gnome-terminal-server:572): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed Here are my versions: Mac OS X - 10.10.5 ...