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

learn more… | top users | synonyms

0
votes
0answers
81 views

How to configure the pf firewall in the terminal?

I have googled it and have yet to find any good tutorials so far. Most of what I can find are for ipfw or GUI softwares. Does anyone know of any good tutorials on it? Would any of the non mac ...
4
votes
1answer
280 views

LSOpenURLsWithRole() failed with error -10810 Can't open 'Install OS X Yosemite.app'

I'm trying to install OS X Yosemite through 'Install OS X Yosemite.app' downloaded from the Internet. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the ...
1
vote
1answer
50 views

Bulk merge items sub-folders into new folder

I have a main folder with about 80 folders in, each with about 10 items in. I want to be able to use a Terminal command or something to just move every item from each sub-folder into a new one (i.e ...
0
votes
1answer
256 views

Copy recursively files and folders, but preserving everything while gaining ownership?

I would like to copy files and folders recursively from an external drive to my internal SSD. However, when I drag and drop, and, subsequently, when I use the copied files, I am always asked to enter ...
5
votes
2answers
609 views

atd stopped working on OS X 10.10.3

I'm using OS X Yosemite, just updated to 10.10.3 and the at command and related (atq, atrm etc) have stopped working. Has atd been disabled in the latest 10.10.3? If so how do I investigate and ...
0
votes
0answers
108 views

FFMPEG via AUTOMATOR not working argument “drawtext timecode”

I am new to scripts and automation but I wrote a script to help me on my daily job of watermarking and burn in timecode on videos. I created an Automator drop on app to convert videos and watermark ...
1
vote
2answers
47 views

Where is the '^]' character on an AZERTY (French) keyboard?

Same question as this one on superuser: where is telnet's escape character, ^] located on an AZERTY (French) keyboard?
2
votes
4answers
356 views

How to go to alias from terminal?

By alias, I mean the folder shortcut created when you right-click a folder in Finder and select "Make Alias". I can traverse symbolic links in Terminal with cd, but it doesn't work on aliases: bash: ...
0
votes
0answers
65 views

Installation Alert: Unable to force quit iTunes

Reads as unopen in the dock, but computer (OS X 10.10) won't install software regardless. Have tried running "-9 iTunes" in Terminal, but to no use. UPDATE: Ok I've tried running "killall -9 iTunes" ...
-1
votes
1answer
43 views

Command to find out the version number of a .pkg file

Does anyone know how to retrieve the version number of a .pkg file which isn't installed yet? I'd like to use something like pkgutil --pkg-info, but that only works for installed packages. I've ...
0
votes
1answer
273 views

Simple telnet session fails on OS X

I am learning Postfix and how it works with SMTP, and here's a sample session that the book shows as an example: I ran the command hostname on my Mac terminal, and it showed ...
0
votes
0answers
41 views

-bash: /Users/[me]/.rvm/scripts/initialize: No such file or directory

I was in a directory where I had a ~ and I went to remove it by doing rm -f ~ for which it said it was a directory. So I made the really silly move of doing rm -rf ~ and suddenly I get the error ...
1
vote
1answer
108 views

Folder/File Name “Truncation” or “Wrapping”

I have been trying to find a solution for a very very long time on how to have the longer names of my folders and files to drop down to a 2nd line when viewing in the "Grid" Icon view in the My Finder ...
0
votes
0answers
47 views

Opening new Terminal tab with Vim

I am using the Unite plugin as a fuzzy finder to open files in Vim, and I was wondering if there was a way to open files in a new Terminal tab instead of in Vim's internal tabs. Thanks!
1
vote
0answers
96 views

Create Iso from directory

I'm trying to create an iso from a directory on my computer. I've tried using both the Disk Utility method and just Terminal but I keep getting Operation not permitted errors regardless of my method. ...
1
vote
1answer
39 views

Is there a way to see the invisible formatting in my clipboard and/or create the formatting when piping to pbcopy?

Is there a way to see the contents of my clipboard in a way that shows me what formatting metadata is included? Or to get to the question behind the question: is there a way to generate output in a ...
0
votes
1answer
61 views

Joomla not working on Localhost:8000

I was migrating a Joomla site to a new server. Before uploading to the new server, I wished to test it on my localhost php server. I have done this with Wordpress sites and other PHP/MySQL things with ...
-1
votes
1answer
144 views

How to create a bash alias on OS X?

I want to create a bash alias on OS X, because I need to type on a really large command. I've found some answers about the same issue on ubuntu, like this one, but they mention the ~/.bashrc file, ...
0
votes
2answers
36 views

Post-boot and login notification

I am using 10.10.2 and I have limited experience with Terminal. I would like to create a script which would notify me (on screen) when all of the startup processes are completed, post-login. The boot ...
3
votes
1answer
163 views

How to schedule run of .command file (bash)?

I have a bash script (saved as myfilename.command) and would like to schedule its run. I've tried to use Calendar event for this (which works fine with Automator scripts), but I get the following ...
1
vote
0answers
156 views

I get this error when running sudo dd if=/dev/zero of=/dev/rdisk# bs=64k in Terminal

I'm following the steps explained in this answer: sudo dd if=/dev/zero of=/dev/rdisk# bs=64k but get an error dd: /dev/rdisk2: Input/output error 1+0 records in 0+0 records out 0 bytes transferred ...
0
votes
1answer
60 views

Converting string to int doesn't work properly in terminal

Converting string to int doesn't work properly in terminal. I want to find how much time specific string occur in a big string. if ((echo "iOS/i" | grep -o iOS/ | wc -l | bc)>2) then echo ...
0
votes
0answers
81 views

Can not set ls colors in zsh

I'm using zsh on OS X with the Dark Solarized theme. I'm trying to customize my ls colors, in particular the yellow background for directories which bothers me a lot. However, nothing I change in ...
2
votes
1answer
196 views

How can I print a path with a home directory replaced by ~ in terminal?

How can I print a path in Terminal with the home folder path replaced by a ~? pwd /Users/denz/projects/coolApp But I want to something like this ~/projects/coolApp
1
vote
2answers
2k views

How to install Livestreamer — super n00b terminal question

I am just trying to install Livestreamer on my MacBook but it looks like the only way to do so is with: # easy_install -U livestreamer I entered this in the terminal and hit enter...but nothing ...
2
votes
1answer
139 views

emond keeps me locked out of my server via SSH

I've been grappling with emond (and maybe afctl) all afternoon, and I'm trying to figure out how to fix this. Basically, I'm trying to SSH into my Mac Mini server (10.9.5 with Server 3.2.2) but I keep ...
1
vote
1answer
143 views

File or directory called ~ (tilde) in the root of my startup volume

I just noticed that I've got a mysterious file simply called ~ in the root of my harddrive. I suspect that I've created it by accident while using terminal. I know about using ~ as an alias to ...
1
vote
2answers
55 views

To install Gnufind in OSX?

I run brew search gnufind and I get No formula found for "gnufind". Searching pull requests.. so no gnufind with the request. I think it must have a different name. I run brew search find ...
0
votes
0answers
152 views

From the terminal, how can I disable iTunes from running when a device is connected?

Using terminal, I want to disable the feature of iTunes that causes it to run whenever a device is plugged in, but I want to do this entirely from the terminal, so that it can be part of an OSX setup ...
1
vote
1answer
38 views

CLI options do not work if passed at the end of command [duplicate]

In brief: ls -a /tmp works but ls /tmp -a does not. I recently started using Macbook Pro. Coming from a Linux background, command like ls /tmp -a seems perfectly fine to me. But for some reason ...
0
votes
1answer
46 views

Tab completion in terminal with alias

I'm running a zsh terminal under Yosemite and have defined a simple alias to place files in Yoink: $ alias yoink='open -a Yoink' $ yoink my-file-to-yoink.txt This works great but for some unknown ...
1
vote
0answers
69 views

Is there a voice-activated command prompt?

I injured a hand six weeks ago, and, being a programmer/sysadmin, I'm looking into ways to control a Terminal application using my voice (or, I suppose more broadly, not using my left hand). I am ...
1
vote
2answers
115 views

Does iPhone 5 have a terminal?

I'm new to iPhones and Mac, but I pretty ok with Linux. I think I could solve some of my networking issues, if I could just get into a bash shell, but I haven't been able to locate a shell. Is there ...
2
votes
1answer
110 views

Wrong working directory, if bash script is opened via double-click

I wrote a bash script in order to directly start eclipse from different workplace locations. Each workplace contains the script, after running it, eclipse is started with the respective workspace set. ...
2
votes
1answer
217 views

How to disable Bluetooth Sharing via terminal?

I want to disable the Bluetooth Sharing that is located in the sharing preference section. I want to be able to disable it via terminal, does anyone have an idea on how to do that?
0
votes
0answers
84 views

How to keep imessage running/logged in on a macbook pro

I know I saw a link somewhere before but I can't find it on this site or in my bookmarks. For some reason, my iMessage or some accounts on my iMessage program on my MacBookPro (10.9.5) keeps ...
0
votes
2answers
99 views

Why can't I easily open web browsers from the terminal application?

In order to run Chrome from the Terminal application, I have to do open -a "Google Chrome" index.html rather than just something like "chrome index.html". The same also seems to be true for ...
0
votes
1answer
23 views

terminal folder access

having a trouble to access few folders in my root user. For example: cannot access - Ideas Infinitas, Treehouse workshops folders. At the same time I can access test_app and some other folders. My ...
2
votes
1answer
142 views

How to replace all Finder files with a placeholder file for each

I have lots of files from a database which are to be copied to a new database, but the files for these are corrupt (They are zero-byte in size and contain no data). Rather than the new database ...
0
votes
1answer
94 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
0
votes
0answers
106 views

Configure: error: clang version 3.0 or later is required - but I already have it

I'm trying to follow this RVM installation guide, supposedly for Snow Leopard 10.6.8 (I should point out that $ rvm -v returns -bash: rvm: command not found), but when I run $ curl -L ...
2
votes
2answers
123 views

Creating a Bridged Network Connection in Terminal

Okay, I'm struggling a bit here. I'm not all that good with Terminal and sorting out network issues using it but I've managed to scrape by so far. Without using Internet Sharing (because controlling ...
1
vote
1answer
278 views

Homebrew says my Python installation could cause issues and I'm not sure what to do

I'm just getting started with web development and I'm trying to set up my environment, and I can't do that until Dr Homebrew has discharged me from N00bcake Hospital. This is what I'm getting: ...
1
vote
2answers
185 views

How do you disable Printer Sharing via terminal?

I am looking for a command/script to disable the printing sharing feature via terminal. Does anyone have any idea or know how to go about doing this?
4
votes
3answers
403 views

Script to change downloaded mac wallpaper automatically?

I want to change my mac wallpaper daily with microsoft bing images. I found this script that download the daily picture automatically, but I sill have to set the wallpaper automatically. Is it ...
1
vote
1answer
17 views

In which file Terminal.app stores its windows?

Usually after reboot/crash all Terminal windows are re-open automatically, this time they weren't. Where (which folder/file) Terminal.app stores the session/information about its windows which ...
1
vote
2answers
666 views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
2
votes
1answer
27 views

Mac nl only takes lines 2048 chars long

I'm having an issue where the Mac version of nl will mark a new line after 2048 characters. I tried it on linux, and it doesn't do this. Any idea why it does on Mac, and how to fix it?
5
votes
1answer
41 views

Is there a way to force clockwise pane rotation in iTerm2 with the shortcut keys?

I've often found that when using iTerm2, I'll have like 3 or 4 panes open in one tab. And the shortcut keys for moving between them Cmd + ] and Cmd + [ are very useful, but unpredictable. The reason ...
2
votes
1answer
81 views

How to gain insight into spotlight index?

I'd like to get a list of all indexed files and their path that spotlight came across. How would I do that ? mdutil does not seem to be of any help.