Using programs and commands that do not have a graphical user interface (GUI) but are rather controlled by typing text commands into a terminal program, or shell.
1
vote
2answers
18 views
Is there a way to set an Application Shortcut in the Keyboard Preference Pane via Terminal?
I'd like to have a bootstrap for my custom keyboard shortcuts to use on multiple machines...
1
vote
2answers
68 views
Save and restore data with command line
I will zip a file with a password. Then, I will write a script and ask:
if (have the password saved) {
unzip file
} else {
ask password
save password
unzip file
}
I want the user ...
3
votes
1answer
88 views
How do I monitor the total physical and virtual memory usage of a process and all of its descendants?
From the command line, how would I get the total physical and virtual memory usage of a process and all of its descendants (not just 1st-level children)?
This is useful when you want to monitor the ...
2
votes
1answer
248 views
Controlling iOS apps via command line
I have jailbroken iPad (iOS5.1.1) with the shell utility installed.
I'd like to be able to launch and control applications via the command line, as I would normally do in Unix or Linux. Say I want to ...
2
votes
1answer
211 views
How do I emulate Internet Sharing from the command line?
I'm trying to set up my Macbook Air to share an OpenVPN connection for use while I'm on the road and don't want my iOS traffic to go over the open Internet. Sadly, Mountain Lion's Internet Sharing ...
0
votes
1answer
67 views
Set Keystroke for Service from Terminal
I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the ...
0
votes
1answer
372 views
Can not successfully re-install MYSQL 10.8.2
Removed the old installation as explained here:
http://superuser.com/questions/129193/how-do-i-uninstall-mysql-on-mac-os-x-snow-leopard
Installed the package contained in the mysql 5.1.67 DMG ...
0
votes
1answer
60 views
Using dictation in the command line (e.g. transcribe an audio recording to a text file)
I have some audio recordings and would like to transcribe them into text files. I was wondering whether there is a command line tool that could use the built-in Dictation to do that? And if so, is ...
0
votes
1answer
384 views
Alternative to additemtodock from Henri Shustak
I am using a commandline script to add items to the dock via scripts
http://www.macupdate.com/app/mac/23653/add-item-to-dock
But it seems to have a lot of Bugs and maybe even "kills" my Dock config ...
3
votes
0answers
396 views
How can I use RSVG with ImageMagick?
I'd like to use the RSVG for SVG processing in ImageMagick (the included library is fairly incomplete). RSVG is a supported delegate but needs to be installed separately.
I've installed librsvg and ...
2
votes
0answers
64 views
“df” command making network requests?
I was watching Little Snitch for another process, and noticed df was making requests to various servers. I thought df was only for checking free disk space locally, but it appears to be doing more ...
1
vote
0answers
592 views
How do I force a partition and format on a USB key in OS X Mountain Lion Disk Utility or from CLI diskutil?
I have a brand new Memorex TravelDrive 64GB USB disk which is being troublesome.
It's formatted FAT16 on MBR, which is not so nice, and I'd like to put it on HFS+.
I've tried to do this through ...
1
vote
0answers
215 views
Is it possible to download Apple's Command Line Tools for Xcode from the command line?
Background
My job gives me temporary MacBook Pros for travel purposes. I get them with a fresh OS install before I leave, and when I return, they blank the hard drive. The trips usually require some ...
1
vote
0answers
26 views
How to install Writer2LaTeX in command line
This is the app I want to install, in ubuntu it was done automatically, but somehow in Mac it seems that I have to install manually.
Writer2LaTeX
http://writer2latex.sourceforge.net/
In the ...
1
vote
0answers
142 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
209 views
Is there a OS X equivalent for iproute2?
I am searching a command line tool collection like iproute2 on Linux.
Network Utility is OK, but I would like it on the command line.
1
vote
0answers
156 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
528 views
curl gives error - possibly fink related?
When I try and run curl in the OS X Terminal I get the following error:
dyld: Library not loaded: /usr/local/lib/libcurl.4.dylib
Referenced from: /usr/local/bin/curl
Reason: Incompatible library ...
0
votes
0answers
11 views
prevent doubleapple files creation when tarring directories (Snow Leopard)
Still trying to find a solution for preventing the creation of the ._DoubleApple files when tarring a directory.
I need to upload these directories to a webserver and it is a real pain to delete all ...
0
votes
0answers
84 views
GDB (GNU Debugger) with TUI (Text User Interface, or 'layout' command) on Maountain Lion
Anyone who has tried GDB's nifty layout interface must be impressed by its convenience. Unfortunately, however, Apple developers never realized this, so Xcode, even with its optional command line tool ...
0
votes
0answers
22 views
hdiutil(1) and I/O errors: how to debug with “ifd-ignore-io-errors” = 0;
Observation
Debug output from hdiutil (example) typically includes
"ifd-ignore-io-errors" = 1;
In that context, I guess the 1 means that I/O errors are ignored.
The question
If that guess is ...
0
votes
0answers
93 views
Adding Ricoh C4501 printer via command line - Installable options
I need to deploy one Ricoh MFP to ~50 Mac users. I thus wan't to do this through ARD/CLI. I'm looking for the correct lpoption tags for the Ricoh MP C4501. I want to set the "Finisher" (SR3020) and ...
0
votes
0answers
103 views
Mounting a Flash Drive in Single User Mode
I am planning on copying over and viewing some files on a Mac of mine, namely they are in the system folders. I have done a TON with the UNIX command line, and I am acquainted with Single User Mode. ...
0
votes
0answers
83 views
Use asr and/or mount to image a mac with a dmg located on a network machine
I don't have OS X Server and want to image a mac over my network. I've been attempting this through the terminal inside the recovery console (can't boot into the OS). I have the dmg which I packaged ...
0
votes
0answers
194 views
Booting with specific netboot image automatically (commandline)
It try to figure out how to reboot a mac automatically with a sepcific netboot Image
via bless you can reboot the mac and let it bot from the default netboot image of a specified server. But as long ...
0
votes
0answers
78 views
Fink::SysState: Could not resolve inconsistent dependencies
fink update-all is telling me the following:
Information about 6311 packages read in 25 seconds.
The following 20 packages will be installed or updated:
gconf2 gconf2-dev gconf2-shlibs imagemagick ...
0
votes
0answers
123 views
iCloud Find My Mac configuration using script
A Macbook Pro from a friend of mine was stolen and I am trying to create a script in order to activate the 'Find My Mac' feature of is iCloud account configured in his Macbook Pro.
Is there a way to ...
0
votes
0answers
140 views
curl installed but ec2 api could not find
I am trying to get the ec2 command-line api work on my OS X 10.7.4 without much success. The commands are complaining about curl but it looks like curl is installed and is available. See below:
...
0
votes
0answers
114 views
Changing a users desktop picture in terminal
just for fun, I'm trying to change the desktop picture in another account on my iMac (10.6.8) using a terminal command.
Is this possible?
Thanks
0
votes
0answers
764 views
How to remove group membership from user using the Lion Terminal?
How to remove a self created daemon user named '_denyhosts' from group 1025(workgroup), 403(com.apple.sharepoint.group.2), 404(com.apple.sharepoint.group.3) and 405(com.apple.sharepoint.group.4) using ...
