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
34 views

For a bash script I want to replace a folder without changing owner and permissions

I want to replace a folder with cp -f without changing owner and permissions cp -R -f "newfolder" "oldfolder" Because I create backups of the old folder with the bash script I tried to use chmod ...
1
vote
0answers
37 views

Terminal speed up doesn't accept command line arguments from outside source?

From a previous suggestion I changed terminals startup command from default to '/usr/bin/bash' which I created as a link to '/bin/bash' which stops terminal from login in every time I open a tab ...
1
vote
0answers
36 views

Is it possible to disable forced monospace in Terminal.app?

In Terminal.app in Mavericks, regardless of which font you use, the font metrics are ignored and forced monospacing is applied instead. Is there a way to disable this? Ridiculous example of the ...
2
votes
1answer
63 views

Shell scripting: Why does only the “-” hyphen throw an error?

Goal: Cleaning up Selectively truncate filenames in my nvALT notes folder. I tried using a productivity blogger's suggestion (which eludes me after a thorough search) to prepend ^ > - + to ...
1
vote
0answers
13 views

Changed /Users folder permission at boot time [duplicate]

Some application (or script) changes the permission of my /Users folder from 755 to 777 at every boot. So, when I change it back to 755 (or repair perm with DiskUtility) it is good until the next ...
5
votes
1answer
2k views

Create a termnial command to open file with Chrome

I want to create command in terminal that would allow me to use chrome index.html and have the the given file open in Google Chrome. How can I get this working?
1
vote
1answer
42 views

Why am I using LLVM?

I was testing the 14.04 release of Ubuntu on VirtualBox, and later, after having gotten a pretty good idea of the changes, removed VirtualBox from my computer. However, when I ran the command 'python' ...
2
votes
3answers
59 views

Defining some global GIT settings to be automatically inherited

Sysnopsis Coming from a Linux background I still find Apples' modifications to the Unix hierarchy somewhat confusing. Nevertheless these subtle changes make it difficult for me to quickly do what I ...
11
votes
2answers
10k views

Will Terminal show a progress bar when I copy with “cp”?

Is is possible to display a progress bar when copying files in Terminal using cp?
2
votes
2answers
2k views

What Version of Bash comes with OSX 10.9 / Mavericks?

Trying to decide if I want to bother upgrading my bash shell to v4.x; if it comes with Mavericks, I probably won't, but I can't find much information on what versions of bash come with what versions ...
3
votes
0answers
24 views

Why is the diagnostic message history not writable as normal user?

When I use normally the OS as a plain user I get frequent console messages like: 20/05/14 08:21:28,194 SubmitDiagInfo[5376]: Launched to submit Diagnostics and Usage 20/05/14 08:21:28,735 ...
0
votes
1answer
41 views

Scrolling of the terminal does not always stick to the bottom

When my terminal gives lots of output (for example when I am compiling something), by default the scrolling automatically sticks to 'bottom' of my terminal window. But when I scroll within my output, ...
1
vote
2answers
33 views

deleting app from terminal

from the /Applications folder, I can launch apps on my Mac using the open command in the terminal like this open xcode.app open firefox.app Is there a way to delete apps from the terminal? This ...
2
votes
1answer
75 views

Downloads folder is showing empty when it's not!

My Downloads folder looks utterly empty, not a single file or folder. And I have already emptied the Trash too. But for some reason, a Terminal ls run for this folder says there are 16 items! Here's ...
0
votes
0answers
67 views

How to update applications that were moved from Application folder

All my applications in the /Applications folder are sorted in different subfolders, so that I can find them easily. I know, this is not recommended (see this question), since the Software Update looks ...
0
votes
2answers
28 views

say command says wrong text (for some voices)

I'm running 10.8.5 and installed some of the newer text-to-speech voices, including "Samantha" (aka Siri), "Tom", and "Jill". They work fine, except for the word "seq": say -v Jill seq produces the ...
0
votes
0answers
23 views

Want to Update OpenSSL with Ruby 2.0.0 Already Installed

I have Ruby 2.0.0-p451 installed via RVM. From what I have read online the newer versions of openssl need Ruby 2 installed. I'm running RVM 1.25.25. I currently host Ruby on Rails websites on my Mac ...
1
vote
1answer
70 views

ffmpeg working from command line in Terminal but not in an Automator shell script!

I have just compiled my own copy of ffmpeg on my system and it's located in the following path: /opt/local/bin/ffmpeg When I run the following command in Terminal.app, it runs smooth: ffmpeg -i ...
0
votes
0answers
43 views

Why the shortcuts `CTRL+s` and `CTRL+q` don't behave like `stty stop/start` in terminal?

Why the shortcuts <C-s> and <C-q> don't behave like stty stop/start in terminal? 1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problem in vim+terminal+bash on Mac OSX 10.9.2) ...
1
vote
2answers
33 views

Writing special characters to the clipboard with the command line

I'm trying to write the string あいうえお to my clipboard using the pbcopy command line tool like this echo あいうえお | pbcopy But what I'm getting in my clipboard is completely different : „ÅÇ„ÅÑ„ÅÜ„Åà„Åä. ...
0
votes
0answers
13 views

msmtp not looking at keychain over ssh, only looks when in terminal

I've been wrestling with setting up msmtp for some time now, only to realize that when I run it from a terminal it works as expected (uses my password from my login keychain) but when I'm ssh'ed to ...
1
vote
4answers
807 views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
3
votes
1answer
87 views

xcodebuild firing after every terminal command

After every terminal command, the prompt becomes unresponsive for 2-3 seconds. During this time xcodebuild seems to be running: Where would this hook be that's causing the xcodebuild to be fired? I ...
2
votes
2answers
275 views

Passing a password to an Automator application

I have written an Automator application with the following shell script to open an FTP connection on my system: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist osascript -e 'tell ...
1
vote
1answer
67 views

Automator service for FTP

I am currently using SFTP on my MacBook to perform file transfers with my brother's Linux (Ubuntu) system. Every time we need to share a file, I start the FTP server on my Mac by running the following ...
5
votes
1answer
172 views

Environment Variables on Mavericks

I am trying to set an environment variable that will be accessible from both a GUI application (Pycharm) as well as from the Terminal. This variable is called PYTHONPATH. I have tried Setting the ...
3
votes
2answers
90 views

Where is the screenshot property list now located in Mavericks?

Previously, the screenshot property list could be found at: ~/Library/Preferences/com.apple.screencapture.plist In Mavericks, this file no longer exists. In the past, I used to be able to manipulate ...
5
votes
1answer
258 views

How to enable Three Finger Drag from command line

I'm trying to write a shell script that will automatically set the trackpad to use the three-finger-drag option that you can find in the system preferences. I've tried a number of different things, ...
4
votes
3answers
375 views

How to search for a file by a hash value with bash script (terminal)?

I am writing a script for Mac OS X Lion 10.7 and I would like to know how I can search for files based on their SHA1 hashes. I would like to search the whole file system for the file(s) I will be ...
0
votes
0answers
64 views

GNU Radio Companion Osmosdr block

When using macports to install gnurado the build stalls and brings my MacBook Air to a snail's pace.I am running osx 10.6.8. I have a .profile file in ~/ but I have a feeling it has to do with ...
0
votes
1answer
108 views

Using visudo to edit sudoers on Mac

I have managed to make the sudoers file on my Mac erorr. eg. $ sudo visudo >>> /etc/sudoers: syntax error near line 45 <<< sudo: parse error in /etc/sudoers near line 45 sudo: no ...
0
votes
1answer
25 views

Terminal Equivalent of Finder Sort Order

One of the features I like about the Finder is that it sorts numbers "correctly", i.e - a file named "Episode 10" will come after "Episode 9" in a list, rather than after "Episode 1". However, I ...
0
votes
1answer
68 views

What are the differences between terminal types supported by iTerm2?

I am looking for a brief comparison of the terminal types supported by iTerm2, mainly to see what setup to pick in order to minimize problems. Mainly, I am connecting with Linux (Debian/Ubuntu) ...
0
votes
0answers
9 views

Services as links for context menu

Is it possible to make a link to service? I am developing service for context menu, but each time I want to check it, I need to copy this service to directory ~/Library/Services Any ideas how to link ...
6
votes
4answers
5k views

Open an app in fullscreen via Terminal

I wonder if it's possible to open a program in Lion fullscreen mode via the Terminal. I want to write a short script which starts a bunch of programs in fullscreen mode, so that I only have to click ...
3
votes
2answers
231 views

Automating ffmpeg using Automator Service

I often use ffmpeg off the command line to convert video files into mp4 on my Mac (running Mavericks). Do note, however, that I am NOT re-encoding my videos; am just changing the container from an avi ...
1
vote
0answers
25 views

Unknown Error -22 When Trying to Copy Files from Time Machine

Somehow I've managed to accumulate a bunch of files in Time Machine that don't seem to be capable of being copied out of Time Machine, citing "Unknown Error -22", like-so: sudo cp ...
1
vote
1answer
41 views

How can I get the list of allowed users for Remote Management via Terminal?

I want to use a command line tool to get the list of allowed users for Remote Management (ARD). I was able to enable ARD using kickstart, but I'm having trouble finding how you get the information, ...
6
votes
3answers
204 views

Is there a way to make the terminal's font less blurry?

I have been using a MacBook Pro for about a year or so, and I can definitely say that I am really satisfied from it. But there is one little thing that annoys me about it: the fonts in many text ...
1
vote
3answers
1k views

Clear Output Screen from C program [closed]

I am using a Macbook Air. I used system("cls"); and system("clear"). That would not work. It displays on the output screen (xcode output screen) that the command cannot be found. I am using the C ...
2
votes
1answer
66 views

Command+Tab misbehaving for apps on multiple monitors

I tend to keep a few Terminal windows open in one monitor, and another Terminal window and Chrome open in another monitor. When I'm using a single monitor, pressing ⌘⇥ remembers which Terminal window ...
0
votes
0answers
39 views

Why does changing password in System Preferences work when it doesn't through Terminal?

My question might also be put, "What does System Preferences -> Users & Accounts do to change a user's password that I'm missing in the command line?" The desktop is joined to both OD and AD ...
1
vote
2answers
37 views

Add commandline app shortcut

How do I run the app: ~/ngrok by typing ngrok? I want to add a shortcut to the ~/ngrok location so that I don't need to know the place where it is when I run the app.
2
votes
4answers
289 views

How to open a new Terminal tab in current working directory?

I want to create and run a bash function that: cd into a project's directory Open a new tab in Terminal in the same directory Open my dev tools and start dev services Item #2 doesn't work as ...
4
votes
2answers
14k views

How do I convert a suitcase font?

I have a font set - Type: Font Suitcase I am sure I have used a terminal command to convert it to a TTF or OTF. I don't really want to pay for software to do so. What is the best way of converting ...
1
vote
1answer
1k views

Terminal shows hostname from old machine, not new machine

Right now I have a Mac Mini. I migrated macbook pro data from a time machine, but I didn't do it from the beginning of my startup. I used the migration assistance to migrate the data. However, I'm ...
0
votes
0answers
42 views

Xvfb hangs while loading video extensions

I'm trying to get xvfb from XQuartz 2.7.5 running properly on 10.9. I'm starting the server with: Xvfb :30 -ac -screen 0 900x900x24 and it's hanging on Initializing built-in extension ...
2
votes
0answers
20 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
0
votes
0answers
15 views

ls doesn't work on folder after time machine restoration

i find that if i attempt to ls on a folder after transferring the folder from windows 7 to osx via a FAT32 drive, i am unable to get a directory listing. I've tried the following: attempted to ...
4
votes
1answer
46 views

Graphical man pages viewer in Terminal.app

There is a feature in terminal to view man-page of selected string in external window with ⌃⌘? shortcut. But it has a priority to display preinstalled man pages. So for example I've installed gnu ...