Tagged Questions

Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

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 ...

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 ...

For the last few years I've been using Dropbox to sync my dotfiles. For zsh, oh-my-zsh, emacs settings etc.
More people seem to be using Github for this. Are there any advantages in this?
From what ...

I sent a lot of files and directories from an external hard drive into the trash by mistake. All those files and directories had the same grandfather directory but not the same father directory. I can ...

Often when you have ssh'ed into a server, you could like a second terminal to continue right off there, without having to ssh again.
I know that iTerm2 can do it, but it feels buggy on multi screens.
...

Is it possible to undo a change to the $PATH variable on OS X Yosemite? I was trying to add to the $PATH and accidentally changed the entire thing to one path.
I just need to know if I can undo this ...

Kind of hard to describe. Using a mac with two monitors.
I use a lot of terminal windows at work (4 on my left monitor, main desktop screen", and 4 on my right monitor but on the secondary "desktop ...

This has been the subject of a lot of discussions before and of a lot of answers. However, I have only found workarounds and band aids so far.
My seemingly simple goal is to obtain the same behaviour ...

At present, I have a very simple bash script which calls osascript -e a bunch of times; it looks like this (newlines added for readability):
#!/bin/sh
osascript \
-e 'tell application "Terminal" to ...

This might be a bit of an odd one.
I have a collection on songs in iTunes and I'd like to copy it to an SDCARD to play it on my car's radio, together with the playlists I have to listen to the music ...

I am trying to remove all traces of Ureka. I followed the instructions in the link to do this, but when I test if it is gone with $ur_setup I see that the terminal does know what it should be looking ...

My MBR crashes quite often. Normally I've multiple terminal windows and usually they're restored after crash.
However from some to time they're not restored, so for that reason I was doing the backup ...

I installed program called "MIT/GNU Scheme" to /Applications. I can run it via Spotlight, but it says it's from unidentified developer. So I should find it in the folder and right click open, but it's ...

Often, when I'm typing in a super long command(usually ruby on rails console code), I decide that I need to do something else first and therefore, have to delete the command which I just typed(but not ...

I installed a2ps on Mac OS X 10.10.4 via brew. My ~/.a2psrc contains Options: --medium=Letter -P pdf. But when I do a2ps foo.txt no PDF file is generated (this used to work on Ubuntu/Debian Linux). ...

Looking to see what the terminal gets when you press keystrokes such as alt+a or whatever.
I remember there was a really simple way to do this with a one line command and without installing any extra ...

In El Capitan there is a setting that allows you to make the click of force touch trackpads (2015 MB. 2015 MBP) silent.
I have tried this out in El Capitan public beta and liked it, however since I ...

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 ...

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 ...

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 ...