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

1
vote
0answers
172 views

Adjusting Brightness, or executing any keypress, on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
1
vote
0answers
168 views

Correct Way to Check if Spotlight Has Indexed a Folder's Contents

Okay, so I've written a script that uses mdfind to more quickly match files, however, I need to find the best way to check whether a target directory is indexed or not, so I can fall back to using ...
1
vote
0answers
122 views

Battery value in terminal different to battery value in menu bar

My MacBook Pro Retina is currently reporting 100% battery in the menu bar, however if I run the following command in terminal; ioreg -l -w0 |grep Capacity The following is returned; | | "...
1
vote
0answers
639 views

Building netgen on Mac OS 10.9 - problem with tcl and tk

I am a very beginner in building from source on Mac. (It's my first request here...) I am trying to build netgen and ngsolve. Mac OS 10.9, Xcode 5.0.2, macports version 2.2.1 After installing tcl 8....
1
vote
0answers
29 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
1
vote
0answers
58 views

Is there another way apart from screencapture to take a screenshot of a background window?

I'd like to take a screenshot of a background window given its title. I know this can be made with screencapture -l idwindow output but unluckily I can't use this method because I'm on a 10.5.8 ...
1
vote
0answers
55 views

iTerm2 and CLI menus

How do I get iTerm2 to show CLI menus properly? I usually use those menus over ssh.
1
vote
0answers
105 views

Rails Command Fails Because of Space in Path

I tried setting up a Ruby on Rails project on my nice safe volume called "Data RAID". The set up failed with some strange errors that I eventually tracked down to the space in the path name. It works ...
1
vote
0answers
223 views

Sudo works for a whole day and then stops working until a reboot

I currently have admin access to a Macbook Pro running OSX 10.8.4. I have been sudoing at the terminal for the whole day with no restart until sudo stops working. I rebooted the operating system and ...
1
vote
0answers
157 views

Compiling a gimp plugin

I wish to compile the Gimp plugin "Save for Web" on Mac 10.8.4. I use brew for package management but libgimp2-dev is missing. I've downloaded Gimp 2.8.6 from here . I've downloaded the latest ...
1
vote
0answers
1k views

FocusFollowsMouse, cut-paste from browser to Terminal in 10.8 (duplicate)

Added: this was discussed in focus-follows-mouse-plus-auto-raise-on-mac-os-x on SO in 2010. In short, accept it, or buy an addon: how-can-i-make-focus-follow-the-mouse-cursor. The sequence: cut ...
1
vote
0answers
3k views

FTP: active vs. passive, command line vs. browser

Here's a weird one for everyone. I'll use AskDifferent because my test bed is on a Mac, but I don't know that the underlying issue is specifically Mac. My Mac is behind a NAT wall. Let's call my ...
1
vote
0answers
1k views

My MBP (13 inch, MID 2010) will not start up

I have used the internet for the past 2 weeks in search of something that will help me troubleshoot/repair my MBP. It wont boot in Safe Mode using the SHIFT key. Following is everything I have tried ...
1
vote
0answers
477 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
412 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
236 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
679 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
88 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
346 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
603 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
281 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
8 views

How to prevent KeyRepeat settings from typing repeated keys when no key is depressed

Initially, my issue was that I could not type a series of the 'A' character by holding down shift-a. Instead, I was presented with a bubble above the held letter for all sorts of 'A's with umlauts, ...
0
votes
0answers
17 views

External Hard Drive Not Showing Up after dragging it to Terminal?

So from the left side of the Finder I accidentally dragged my external hard drive and now it doesn't appear there. I would like to see it there, I know it's reading it because I did an ls /Volumes and ...
0
votes
0answers
28 views

Is there a way to turn off/on user account without deleting it running on OS X El Captain?

I want to turn off a user account without deleting the account and its content, so it won't appear in the login window and be able to turn it on again. I tried sudo dscl . create /Users/hiddenuser ...
0
votes
0answers
29 views

FFMPEG Unable to find a suitable output format for [partial path from input]

Up until a little bit ago I had an Automator app with applescript and embedded bash for video conversion with ffmpeg and it worked great. Now for some reason I keep getting the following error: [NULL ...
0
votes
0answers
12 views

Script or App that identifies corrupt music files?

I'm wondering if there is a Terminal command or AppleScript or any sort of app that can scan a collection of MP3s, WAVs, and FLACs, and determine if they are corrupt. iTunes skips songs once it hits a ...
0
votes
0answers
26 views

Calling terminal command (pdfcrop) either directly from python or from within applescript (do shell script)

on OSX, I am using applescript to get a latex string from an application (OmniOutliner), process it via a python script that calls pdflatex and pdfcrop, and paste the final cropped pdf back into ...
0
votes
0answers
8 views

How Deep Do I Need To Define Paths for the Cosign Terminal Command?

My company is registered as an Apple Developer. Our firm has created Mac apps outside of Xcode that we want to code sign. They will run on OS X 10.8+. This link shows the tasks needed to code sign ...
0
votes
0answers
31 views

xcode build of citra not working

My machine: MAC OSX Yosemite 10.10.5. Situation: Installing citra (following the instructions on https://citra-emu.org/wiki/Building-For-OS-X). Everything works except the last step. Running in ...
0
votes
0answers
17 views

glxgears throwing Error: couldn't open display (null)

I installed glxgears through Macports with sudo port install glxgears. I am now trying to run glxgears by typing glxgears in my terminal, but the error comes up: Error: couldn't open display (null). ...
0
votes
0answers
21 views

How do I remove bookmarks from Terminal window?

With El Capitan, the Terminal app can automatically create marks, and bookmarks. However, there seems no obvious way to delete a bookmark that one's created (by accident). How can one delete a ...
0
votes
0answers
18 views

Trying to install CANDLE in Mac OS X. Following Error report is showing. Should I install LibXm.so, if yes, how?

For more information about CANDLE(Collection & Analysis of Nuclear Data using Linux nEtwork): http://www.iuac.res.in/NIAS/Downloads/candle.txt
0
votes
0answers
50 views

Unable to start XVfb with XQuartz 2.7.9

Is there some issue with XQuartz-2.7.9 ? After installing XQuartz in my Mac 10.10 the command - /usr/X11/bin/Xvfb :4 -dpi 200 -screen 0 1000x1200x8 fails with the following error: ...
0
votes
0answers
12 views

How to set a folder as an time machine backup?

I updated my MacBook Pro and it now it won't boot. I am using my hard drive in an enclosure and an external hard drive to extract the data from the SSD that's inside the Mac. The HD that's in the ...
0
votes
0answers
9 views

Mount AS400 share on OSX 10.10 missing files

Running 10.10.x and trying to mount to our corporate IBM AS400 share via: mount -t smbfs "//user:pass@192.168.10.43" /Volumes/AS400 Works, however if I navigate to the folder I need ls /Volumes/...
0
votes
0answers
26 views

Virtualbox passthrough USB token From Commandline

I need to change ownership of a USB token from the host to the Guest Virtual machine in VirtualBox - without removing the token from the Mac. I have it working that you can start up the VM and then ...
0
votes
0answers
18 views

Merge system and terminal clipboards

I experienced an issue starting from few days ago. I cannot copy/paste (cmd+c cmd+v) from the terminal to other programs anymore, the opposite holding true. For instance, let's say I open my terminal,...
0
votes
0answers
5 views

Stop per directory zsh_history zsh 5.2

I must've goofed and changed an ENV. Any directory I'm in a zsh_history is created of any commands done in that directory. config: zsh 5.2 oh-my-zsh No plugin to cause this. I tried reverse ...
0
votes
0answers
23 views

Air Apps for Mac OSX: Code object is not signed at all

I have already developed and published several Air Apps for Mac OSX before. The last one was published on the Mac App Store in July 2015 - everything worked fine back then. This week I've finished ...
0
votes
0answers
23 views

alternative to Dterm for quick terminal

I love Dterm but it is no longer maintained. Is there an alternative? I also use Alfred's term launcher and iTerm but those are not as efficient for context sensitive one liners.
0
votes
0answers
16 views

Help fix my xampp/mamp/mysql installation

I've installed xampp,mamp on my iMacbook air running OSx 10. At first they seem both running well, but several months later, there are a lot of problems going on and they seem interwined. I can't ...
0
votes
0answers
14 views

Certain Icons with a Specific Size on desktop

Is there a Terminal command or setting to edit the registry of a Mac to change the size of a specific icon on the desktop (not all) smaller or larger? This feature would help me organize my mac and ...
0
votes
0answers
52 views

How to factory reset a broken mail app via terminal OSX El Capitan?

I opened my mail app this noon I wanted to send an email, as usual I clicked on the compose email button I wrote my mail and sent it. Now after that the mail app started acting strange. It switches ...
0
votes
0answers
32 views

Extract Icon of File using Terminal

I need a way to extract the icon image of a file or directory and save it as a PNG or JPG, using the CLI. For example, if the file were a PDF document, the extracted image would be of it's icon: the ...
0
votes
0answers
29 views

Why does my terminal in Macbook show this message? What should I do to preclude that message?

Last login: Mon May 23 11:29:54 on ttys000 -bash: /Users/karthy/Library/Enthought/Canopy_64bit/User/bin/activate: No such file or directory
0
votes
0answers
33 views

programatically reload Safari extension

How can I programatically reload extension I created in Safari? This image shows the reload button that I manually have to click every time I update my extension: Any way to this is programatically?...
0
votes
0answers
25 views

How can I undo sysctl commands?

I was troubleshooting an issue connecting my PS4 to my MAC to share my VPN connection and I typed this into my terminal: sudo sysctl -w net.inet.ip.forwarding=1 sudo sysctl -w net.inet.ip.fw.enable=1 ...
0
votes
0answers
22 views

replace folder using Terminal

How can I replace a folder using Terminal? I tried this, but this code copies the folder, but it doesn't replace it when the folder is already present. Is manual deleting before copying the only way? ...
0
votes
0answers
10 views

Screen Sending EOL After Each Character

I just connected my Anthem AVM20 audio/video controller to my Mac Mini via an USB to RS232 cable. I've been able to bring up a screen session. The problem is that it appears to be sending some sort of ...