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
115 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
57 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
25 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
263 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
42 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
33 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
44 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
111 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
48 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
39 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
18 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
51 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
53 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?
0
votes
0answers
46 views

arrow keys in nano text editor on iPhone

I am using the nano text editor on iPhone, the one included in the terminal app downloaded with Cydia. I have difficulty in editing my files, because I cannot properly move the cursor. I can only move ...
0
votes
0answers
106 views

SSH disconnects after successful connection after pressing any key

I am working with a new macbook pro with OS X Yosemite 10.10.5. I have had the problem described below since my very first ssh connection attempt at the terminal a couple of weeks ago. Since then, I ...
0
votes
0answers
18 views

Self Control app timer stuck

I got a self control timer that's stuck at a very high count. Haven't been able to fix this though I've tried several commands in Terminal.app What can I do? Joachim
0
votes
0answers
13 views

Drag Click Suddenly stops working in Terminal on a mac

While working in a terminal window on a mac OSX 10.10.5 with terminal Version 2.5.3 (343.7) the drag click will stop working for highlighting text. The only way to "fix" it seems to simply quit and ...
0
votes
0answers
30 views

Fonts in terminal not rendering properly

While in the same window, ALL the fonts do not properly render in the external monitor (only in the Terminal). Here you a small example of what I am facing:
0
votes
0answers
37 views

Terminal: executing a batch of commands from dynamic locations

I'm trying to restructure a library of audio files and I've been trying to do so using Terminal. See the folder structure in the attached image. There's a couple of things I want to do: 1) Remove ...
0
votes
0answers
59 views

Repair Disk failed

I try to repair a disk because my Mac still is on grey screen during start. I created a USB Yosemite bootable and I can use Terminal. I tried with: diskutil repairvolume disk0s2 But I get the ...
0
votes
0answers
326 views

How can I stop callservicesd errors I find in Console?

I posted this to some other forum and found no luck. I'm learning Terminal, coding, and scripting. Every so often I check my Console just to see what's up. (Often I don't understand it all, but it's ...
0
votes
0answers
69 views

using terminal to find instances of a string within a group of txt folders

I tag my txt files using homemade tags framed by double dollar signs to make them easily searchable in finder and spotlight. A typical tag looks like this $$tag$$. Is there a way in terminal to search ...
0
votes
0answers
160 views

OSX Open Atom from terminal

I am trying to implement my own dotfiles. I am using zsh as my default shell. When I try to launch Atom from terminal I get this error FSPathMakeRef(/Users/agusgambina/Applications/Atom.app) ...
0
votes
0answers
24 views

Have URL scheme handled by shell (or other) script

I want to create a custom URL scheme, say x-camptown-races-sing-this-song-doo-dah-doo-dah, such that when I open a URL such as x-camptown-races-sing-this-song-doo-dah-doo-dah:foobar, it gets handled ...
0
votes
0answers
28 views

An OS X terminal command to keep apps from quitting?

In os x terminal how can I issue a command similar to caffeinate that keeps all running applications from quitting?
0
votes
0answers
175 views

log in to iCloud via command line

I used to be able to Screen Share with 2 of my Mac minis in remote locations until I changed my Apple password. Now they are not showing up under Shared in Finder. I am still able to SSH into them. Is ...
0
votes
0answers
36 views

Xcode Zombies from the command line

I'm encountering EXC_BAD_ACCESS, and I'm not sure of the cause. I know that Xcode offers Zombies, but when I try instruments t="Zombies" my_program_name it doesn't seem to raise the appropriate ...
0
votes
0answers
142 views

.bash_profile is not working unless sourcing it manually

I got a new machine (yosemite osx), and I am trying to set it up. I have created .bash_profile, but unfortunately it doesn't work. Even if I log back in or restart the machine, and open terminal ...
0
votes
0answers
57 views

Force Mac OS X to Register USB devices

I'm using an HDMI CEC adapter connected via USB to my Mac Mini (Machine model Macmini6,2). Often when the Mini is rebooted it fails to register the adapter. Unplugging and replugging the USB cable to ...
0
votes
0answers
29 views

Protect changes to plain text file written by standard user's execution of bash script

I have written a simple bash script that I want to use as a time clock for employees (work-studies) in my computer lab. The script works great. 1. Each work-study has two icons (two separate bash ...
0
votes
0answers
84 views

ffmpeg - how to merge two h264 videos, using one of them as alpha?

I need to merge two 264 videos: one of the two is a normal rgb video, and the other is a greyscale video that I would use as luma matte to make a final prores clip with alpha. Is it possible doing it ...
0
votes
0answers
167 views

Open Emacs with separate instance in mac os x yosemite

I am on Yosemite 10.10.5. I would like to open emacs from spotlight or from the Terminal as separate instances so that when I close one emacs window the others don't close either. Similar questions ...
0
votes
0answers
317 views

What will “rm -rf /” actually do?

I know that this is a very dangerous command, but what does it actually do. In other words, to what extend does it delete the hard drive. Does it delete only the user data? Or does it delete root OS ...
0
votes
0answers
17 views

Set Terminal.app preferences so CL and stdout are different colours

I see a lot of screen shots of Terminal and bash windows where the promote line and the user input is one colour (say white) and the other lines returned from commands entered are a different colour, ...
0
votes
0answers
149 views

Sending data to serial port and audio device from command line

I am looking to create a scripts that does the following: Send data to a non-standard serial port, in my case /dev/cu.SLAB_USBtoUART. Plays an audio file to a non-standard audio device, in my case a ...
0
votes
0answers
131 views

ssh -X fails to start x11 forwarding if x11 is not already running

When I try to ssh -X user@someserver using Terminal.app, x11 does not open and run. I am running OSX 10.10.4 and XQuartz 2.7.7. Previously when I used 10.6.8, x11 would automatically open and run ...
0
votes
0answers
262 views

How do I back up iTunes to an NAS device

I followed your questions/answers on how to backup iTunes to a different location. I am using an WDMyCloudEX2 NAS drive which shares music, videos and photos with all devices in the house. I have been ...
0
votes
0answers
202 views

Switching spaces on one monitor affects open applications on other monitor; looking to prevent this - BOUNTY

Kind of hard to describe. Using Yosemite 10.10.3. Using a mac with two monitors. Left monitor has one desktop space. Right monitor has two desktop spaces. I use a lot of terminal windows at work ...
0
votes
0answers
55 views

environment.plist adds extra characters?

OSX Yosemite 10.10.3 I used environment.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
0
votes
0answers
37 views

users with same uid

I was reading a question about users with same UID. tried his posted command dscl . -list uid | sort -nrk 2 to see what I got. 2 of them share UID 0 root and untitled. UID -2 is named nobody. daemon ...
0
votes
0answers
62 views

How to find and delete users that only show in Password Utility?

While using disk utility to fix permissions, I kept getting a ton of different ACL found but not expected on Library/files. I searched for a fix after using disk utility multiple times. I kept coming ...
0
votes
0answers
92 views

Mac doesn't recognise simple commands like 'ls'

I installed Apache and tried to change the permissions for one of Apache's working directories. After that my machine keeps changing the default path. I can't access the simple commands unless I set ...
0
votes
0answers
82 views

using FISH shell — set default folder for multiple tabs?

I'm using fish shell in OS X. Using the standard bash shell, you can open multiple tabs in Terminal, cd to a different directory in each, and then save the setup as a Window Group (via Window > ...
0
votes
0answers
50 views

File name autocompletion stopped working in Terminal

I just noticed this. Previously, when I typed cd Doc<tab> I would get cd Documents. Now I get cd Doc. If I hit tab again it just appends more tabs. I only have one Doc* directory: $ ls -d ...
0
votes
0answers
24 views

View output from script running in background

While messing around with some Ruby programming (Using OS X 10.9.x), i have constructed a script which is forked to the background, and constitutes a loop which only exits after another process is ...
0
votes
0answers
327 views

can't use installer to install pkg. file

When i try to install flash pkg with installer, the installer just jump on the dock and can't open, then i try to install in the terminal installer -pkg Desktop/Install\ Adobe\ Flash\ Player.pkg ...
0
votes
0answers
85 views

Script - Audio Files - Find, Count and Sort by type

I have a very large audio collection I have to sort. It's a mixture of M4A, FLAC, AIFF, WAV and MP3. It's the result of years of work by a now deceased person who sat in their garage ripping their own ...
0
votes
0answers
21 views

Want to copy whole data disk to ~/Backup/ and then eject, but having trouble finding the disk

I'm trying to write a script that searches for a disk in the external drive, if present have it rip the disk into a folder with the disks name and then eject, then continue searching for that disk. ...
0
votes
0answers
37 views

How to open application through notification in terminal shell

I have the following command to run in a terminal shell script: osascript -e 'display notification "This is a Text" with title "This is a Title"' This is a shell code running in applescript to open ...