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
14 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
11 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
21 views

Terminal: “Invalid Argument: dirname” (El Capitan)

I noticed the issue when I first went to run defaults write com.apple.finder AppleShowAllFiles YES in OS X Terminal (10.11.2) but this was returned bash: /usr/bin/defaults: Invalid argument I'm ...
0
votes
0answers
19 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
8 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
12 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
37 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
10 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
21 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
30 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
12 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
25 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
16 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
17 views

Start Terminal in AppleScript

At work I'm overseeing several users who use MacBooks to connect to our enterprise environment. One of our vendors has an old server which users access via ssh. I've created an Automator workflow to ...
0
votes
0answers
15 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
53 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
13 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
4 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
23 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
24 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
29 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
29 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
31 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 ...
0
votes
0answers
66 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
12 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
74 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
16 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
30 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 ...
0
votes
0answers
15 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). ...
0
votes
0answers
21 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
46 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 ...
0
votes
0answers
438 views

XCode 7.1.1 update, missing otool and git

I recently installed Xcode 7.1.1 After installation there seems to be problem with it. git is missing Kaunteys-MacBook-Pro:~ Kaunteya$ git 2015-11-26 13:44:03.369 xcodebuild[2118:134190] ### ...
0
votes
0answers
27 views

USB Keyboard's number pad doesn't work while using vim

I have a usb keyboard that has a numberpad. When I use the number pad in most situations, it works as expected (IE when I click the bottom 3 buttons, I get 123 in this web form). However, when using ...
0
votes
0answers
46 views

Why does setting CLICOLOR=1 not turn on colors for “ls”?

If I do ls -G, I do get the colors. From what I understood from the man pages, if I go into ~/.bash_profile and add export CLICOLOR=1 I would then get colors by doing just ls, as "This option is ...
0
votes
0answers
49 views

Cannot create a folder or access it at specific location on Mavericks

Cannot create a directory and can neither go into directory. $/Volumes/Iomega_HDD/Movies is an Windows NTFS file system mounted on my OS X Mavericks so in the Movies folder if I try to create folder ...
0
votes
0answers
123 views

Terminal - Crash at opening - pointer being freed was not allocated

I have an issue with my terminal since the installation of El Capitan. Every time i'm opening my terminal, this message appears and prevent me to using my terminal correctly : ...
0
votes
0answers
21 views

How to see all services available for launching with launchctl?

I tried this on Yosemite: launchctl list but it doesn't show e.g. postfix which I have just launched with: launchctl kickstart system/org.postfix.master Is there any way of listing all the ...
0
votes
0answers
148 views

Unmute audio input (microphone) in OSX programatically

OSX 10.10.3, also reproducible on 10.8, doesn't seem to happen on 10.11 Reproduction steps Go to System preferences > Audio > Input Set input volume to 0 (this is important) Run this script in ...
0
votes
0answers
36 views

MacMini Mid-2010 - About This Mac

I have a Mac Mini Mid-2010 with 4GB RAM, Intel Core2Duo P8600 Processor 2.4Ghz. OS : OSX 10.11.1 ELCapitan. When I run the following command in terminal I get the output as 2.4Ghz sysctl -a | grep ...
0
votes
0answers
22 views

Partition problems - No LVG detected in Terminal after BootCamp Erase through Disk Utility (I know, I messed up)

I'm very stuck trying to get my system to recognize a full HDD and run Yosemite cleanly after a poorly-executed BootCamp removal. Here's the steps in the process so far: I erased a Windows Partition ...
0
votes
0answers
29 views

What is libgio and how can I update my library?

I downloaded a plugin for gimp, but when I execute this, I get: Reason: Incompatible library version: gmic_gimp requires version 4201.0.0 or later, but libgio-2.0.0.dylib provides version 4001.0.0 ...
0
votes
0answers
67 views

Command line app to change screen resolution with RETINA?

I'm looking for a command line app to change screen resolution. I've tried cscreen, screenresolution, and scrutil. The first two work to change resolution, but they do not enable retina scaling.
0
votes
0answers
33 views

Tried to change the name of my home folder and now I can't log in

I'm on OS X 10.10.5 I followed the instructions given here. I'll describe my process in as much detail as possible. I made a temporary admin account called temp. I switched to that account. I ...
0
votes
0answers
25 views

how many times rsync read error repeat?

I run this command on terminal: rsync -r --progress /Volume/HD1/Dir1 /Volume/HD2/Dir1 The result: rsync: read errors mapping "/Volumes/HD1/Dir1/File1" : Input/output error (5) rsync: read errors ...
0
votes
0answers
17 views

Keyboard settings, unwanted characters in terminal

Today, something has change my keyboard settings. There are symptoms: I jump between words with alt+arrows in Sublime but today it started shuffling songs in Spotify (turns out it's shortcut to ...
0
votes
0answers
36 views

Has anyone got a preferred front-end for SDL Mame & got it running?

In short, I usually do emulation with OpenEmu (Experimental) http://openemu.org/, but I believe (and I am happy to be proved wrong), SDLMame (http://sdlmame.lngn.net) runs more of the roms (that may ...
0
votes
0answers
41 views

Running shell commands from netcat

I have a shell script that I am serving up through netcat - I'm using this as an experiment to learn more about unix I can now do nc 127.0.0.1 1234 | sh and it will pipe the script commands into the ...
0
votes
0answers
7 views

.command popup message. Need help

So I made this .command file. When I open it up, it says that I need a JDK to run this file. I installed JDK and all but is there a step that I missed?