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

1
vote
0answers
345 views

Is there a console interface for the Client Monitor on OSX?

I'm writing a bash-script at work for controlling our Mac-computers (OS X Mountain Lion) remotely. Since we use FileWave in our Company we just have to remove an Application and restart the computer. ...
1
vote
0answers
307 views

Resource efficient way to monitor file change and execute shell scripts on change

I know at least three ways to monitor a folder/file for changes and execute a shell script on change. First, use "Folder Actions" of Automator Second, the launchd.plist approach but it seems the ...
1
vote
0answers
487 views

Cannot write to SMB Share with Terminal OS X 10.8

I am trying to copy some files from my local drive to a SMB share I have set up on my home network using Terminal, but I keep getting this error: fchmod failed: Permission denied The share is set ...
1
vote
0answers
225 views

Midnight Commander installed via Ports to support scp

I have installed Midnight Commander via Ports, but I am unable to connect to a remote computer to copy files as: cd #sh:user@server.net I keep getting: "Cannot CHDIR to #sh:user@server.net". ...
1
vote
0answers
554 views

How to include the failing username on saslauthd failure in a log file in Lion?

How can the verbosity of logging be increased for SASL authentication failures? To be more precise, to include the failing user name in a log file on Mac OS X 10.7 (Lion) Server? Linux hosts have ...
1
vote
0answers
84 views

why does less seem to think my terminal has more lines than it does?

Don't know if this is really an OS X question, but: less seems to insist that my terminal (whether I'm using the builtin Terminal or iTerm2) has more lines than are actually displayed, and so the top ...
1
vote
0answers
283 views

Signals sent to command-line programs when exiting terminal.app

When using tmux, if I CMD-W, or otherwise quite out of terminal, my tmux session persists, as it should. However, it still lists itself as "attached", whereas on other platforms, (e.g. Ubuntu) when ...
1
vote
0answers
470 views

After updating oh-my-zsh prompt is weird on startup

I have been using the default installation of oh-my-zsh (robbyrussell theme) without issues. I just did a 'git pull' and now on startup I see a weird prompt. As soon as I press any key the prompt ...
1
vote
0answers
239 views

Proxy won't work without telnet

This isn't a problem as such, more an irritant that's begging for a clean solution. At work we have a couple of Macs which I'm trying to get integrated nicely into Active Directory. We enforce all ...
0
votes
0answers
9 views

To get newer man pages in OSX?

I noticed that my manuals are very old in my system although all updates done. Etc man cmp tells about the flag -l -l --verbose Output byte numbers and values of all differing bytes. ...
0
votes
0answers
9 views

Nano: how to obtain syntax highlighting?

I have a default installation of nano under /usr/bin/, and I am trying to make nano highlight the bash scripting language code. I have been searching around, but I had no success: I got always some ...
0
votes
0answers
15 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
13 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
12 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
18 views

Trying to Install WWW:Mechanize and Getting Localhost Error

Okay . . . I've been trying to install WWW::Mechanize through CPAN and it always chokes at this line: t/local/back.t ........... 1/47 Error GETing http://localhost:60603/: Can't connect to ...
0
votes
0answers
11 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 ...
0
votes
0answers
33 views

SSH configration periodically gets overwritten and lost in yosemite

On Yosemite 10.10.3 my ssh configuration "~/.ssh/config" for hosts and keys will always get lost and gets overwritten with only this one line UserKnownHostsFile="/Users/user/.ssh/known_hosts" I ...
0
votes
0answers
22 views

rsync error: connection unexpectedly closed

I'm trying to backup some folders on an ubuntu server to an external G-Drive, connected through thunderbolt to my iMac, in this manner: $ time nohup sh -c 'rsync -avz myuser@myserver:/home/user/ ...
0
votes
0answers
12 views

Silent installer for remote macines

I am trying to create a script to install logmein silently (or in the background) with out enduser input. I have the process to download the zip and create an admin user (for later login) however I ...
0
votes
0answers
11 views

Incompatible library version with mpicxx

I am trying to compile a c++ code to a dynamically linked library on my Mac v10.10 I am hoping the error I receive isn't specific to the c++ code, rather thatI am missing some dependencies. I run ...
0
votes
0answers
15 views

Making a Damaged USB Writable for Drive Genius?

Apologies for being (sort of) a repost from Unable to be Repaired & Further Problems but I had some further questions and I was worried they wouldn't be answered. I followed Froggard's advice and ...
0
votes
0answers
25 views

os.Popen command is not working

I'm writing a python script that is suppose to change default display settings for all users. I run the script as sudo because it needs to change every display. This line is suppose to change the ...
0
votes
0answers
16 views

MacPorts issue with FreeType10.10

I'm using MacPorts to run Windows executables through Wine, everything went fine until all this suddenly went kaput for this reason: Wine cannot find the FreeType font library. To enable Wine to ...
0
votes
0answers
32 views

UNIX Script to Change Desktop & Screensaver in 10.8

I'm setting up LaunchAgent .plists that start up UNIX bash scripts to automatically change the desktop and screensaver for various different users for a Mac image that will be deployed to multiple Mac ...
0
votes
0answers
29 views

Help with “Couldn't start dropbox” message

My MacBook Pro is running Mavericks (10.9.5.) I restored a backup into my computer and then tried to use my Dropbox account and it wasn't working: I got the "Couldn't start dropbox" message. Before I ...
0
votes
0answers
18 views

Help modifying an Automator script for ditto

I posted this question over on SuperUser but this may be a more appropriate forum. In OS X Mavericks 10.9.5 and on Yosemite OS X 10.10.3 I'm using an Automator Service and an AppleScript combo that is ...
0
votes
0answers
85 views

How to enable true color mode in an OS X Terminal?

NeoVim recently added support for True Color mode in terminals that support it. I've tried both Terminal 2.5.3 (343.7) and iTerm 2.1.1, and neither one can display more than 256 colors by default. ...
0
votes
0answers
37 views

Enable internet sharing from command line (without using applescript)

I have perfected a couple of scripts which can enable and disable the sharing interactively using applescript, but I want a way to be able to do everything without the applescript. My aim is to learn ...
0
votes
0answers
17 views

change bash color profile on su $username

With my useraccount I use a .bash_profile that contains this line: export PS1='\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ ' With my adminaccount I use a .bash_profile ...
0
votes
0answers
38 views

Bash Terminal Environment variables = dollar sign

I think I'm having trouble with environment variables (I'm trying to install seismic unix, the make install doesn't work, and I think that environment variables are the problem). The makefile calls a ...
0
votes
0answers
47 views

GIT_AUTHOR variable overrides git config variables

When I commit a change, instead of using the email address I configured, git uses an invalid one of the form: MyMacUsername@NameOfMyMac.local I have tried all 3 git config commands (--global ...
0
votes
0answers
43 views

Trying to run commands in bash causes Homebrew error

Whenever I try and run any commands in terminal (bash), my window goes crazy and it keeps looping through an output of: /usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ...
0
votes
0answers
99 views

Full screen always enabled when opening app in OS X Yosemite

How can I set my Macbook Air to always open new apps in full screen mode? Some apps already do it (Mail for example), but others are always opening as a small window, especially Safari when I close ...
0
votes
0answers
58 views

OS X lets me run softwareupdate command without sudo: is this normal?

I am able to run and install updates with the softwareupdate command without prefixing sudo. Is this normal, can anybody else do this on there system? The man page states that admin privileges are ...
0
votes
0answers
43 views

Rendering a pixel font on Retina display

I've got this simple custom pixel font I use for programming: creep. I recently purchased a new MacBook with Retina display and noticed that the font's pixels don't quite match up with the screen's ...
0
votes
0answers
42 views

How to Set my Mac's $PATH back the way it was before

I'm just getting started with Terminal, the other day I might have messed something up with my urs/local/bin. When executing echo $PATH it returns me with ...
0
votes
0answers
44 views

Unable to complete ssh connection and open shell on server

I'm trying both the native OpenSSH (appears to be OpenSSH_6.2p2) which comes with Yosemite to connect to several Ubuntu servers. In the past few days it almost never works, but I installed putty which ...
0
votes
0answers
17 views

How do you toggle “Animate opening applications” from terminal?

The setting is located inside the Dock preferences. defaults write com.apple.dock no-bouncing -bool TRUE is only for toggling the nag notice, not the opening animation.
0
votes
0answers
32 views

Cannot type shift L in Terminal

As title says, I cannot type 'L' (uppercase letter) in Terminal. When I type 'bind -p' 'L' do not appear on the list. I have no problem typing l (lowercase letter). I cannot paste in 'L' neither. ...
0
votes
0answers
12 views

terminal self-populates

Troubleshooting erratic cursor behavior I tried to launch the new USB Disk Warrior stick, which requires a terminal command in OS X Recovery. As soon as I open Terminal, the following string appears ...
0
votes
0answers
21 views

To search contents of symlink

I want to search documents from by disc2 to which I created a symlink to disc1. However, I think this is not the way to go by creating a symblink to a current folder: ln -s ...
0
votes
0answers
9 views

Does Behavior of non-ASCII filenames change?

I have some similar music libraries which I would like to remove duplicates on (which are contained in a Disc Volume I'm loading wirelessly from a QNAP server). I know there are applications which can ...
0
votes
0answers
30 views

can't commit network settings via shell

I'm writing a Python script that changes network settings with shell commands like networksetup -setv4off 'PANTECH UML295' and networksetup -setdhcp 'PANTECH UML295'. When I enter these in Terminal, I ...
0
votes
0answers
19 views

how to change dialog box default size

After last update to 10.3.3 "Open File" dialog is very small by default (much too small on a a hi res screen).I believe the default size can be changed using Terminal. But how? Small dialog boxes were ...
0
votes
0answers
452 views

Single User Mode not starting

First of all, there's no firmware password or anything fancy. I'm trying to diagnose a late-2011 MacBook Pro 15", and I'm trying to get into the single user mode. I press and hold Cmd+S (the left Cmd, ...
0
votes
0answers
19 views

2011 MBP won't go into Terminal or let me log in

I have a complicated issue, please bear with me! I seem to have really screwed myself over. My 2011 MacBook Pro (Maverick) won't let me access Terminal. Once or twice it showed up for a second but ...
0
votes
0answers
113 views

Why can I open an app from Contents/MacOS/app but not by clicking the icon?

I have an application that is fully functional when opened from Show Package Contents > /Contents/MacOS/app however when I click the icon in the Applications folder the icon just keeps bouncing. ...
0
votes
0answers
154 views

Terminal Sudo “3 incorrect password attemps”

Every time I do something in Terminal where you need a password following thing comes: Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts ...
0
votes
0answers
60 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 ...
0
votes
0answers
60 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 ...