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.
4
votes
4answers
2k views
0
votes
1answer
861 views
How do I change GNU Screen's meta-key to Cmd-a?
GNU Screen's default meta-key is Ctrl-a, which is really inconvenient for me because I frequently use Ctrl-a and Ctrl-e to move the cursor to the beginning or end of the line.
I'd prefer to change ...
3
votes
1answer
486 views
Connect to Server as guest from command line
I have a SAMBA share I mount on my Mac from time to time. I do this in Finder with Go > Connect to Server..., typing smb://192.168.1.1 into the Server Address field and pressing Connect. On the ...
2
votes
1answer
317 views
Why setting image as its own icon with sips result a blurred icon? Are there any alternatives?
I've successfully changed icons using the procedure described in an another question: Changing or setting a file or folder icon programmatically. Either my sips (or Finder) got broken afterwards or I ...
5
votes
1answer
6k views
How do I format a disk partition from the command line on OS X?
How do I format a disk partition from the command line on Mac OS X?
In case someone wonders why: because for some people Disk Utility fails.
2
votes
3answers
1k views
How to correctly pipe output into “say” in terminal
I realized that the "say" command can be great when combined with another command/program because it can read you the output. I tried to pipe the output from "leave" to "say" by typing the following ...
1
vote
3answers
244 views
How to force a diff format for TextMate?
I have this alias:
alias hgd='hg diff|mate'
The problem is that for some reason the temporary file thus created will be a .txt, while I'd need it to have the diff syntax highlight.
If I manually ...
5
votes
6answers
1k views
Why use the terminal in daily non-programming life
Disclaimer: I'm a Windows boy awaiting his first mac. I never bothered learning/using command-line interfaces.
I've been looking at the Terminal Tips and Tricks topic and I don't see how any of those ...
4
votes
2answers
4k views
How do I create a symbolic link to a directory with a space in it?
I was trying to create a symbolic link using the following command:
ln -s "~/Foo Bar/" Foo
... but it didn't work (i.e. when I go into finder and try double clicking it, it says that it's pointing ...
0
votes
2answers
996 views
Setting a custom log
I have to get all the chromium and firefox info logs out of /var/log/system.log and into a nice quiet /var/log/{chromium,firefox}.log.
However I can neither recall or find how to set that in ...
2
votes
1answer
188 views
How can I run a shell command at login time without showing a Dock entry? [duplicate]
Possible Duplicate:
How to run something automatically when the system boots or a use logs on?
I need to automatically run a command when I log in but I don't want to add an item to the ...
1
vote
1answer
211 views
How to disable coalescing of log messages in OS X?
I've been using Console to debug some things on my Mac, and I keep seeing --- last message repeated one time --- in the log. Apparently it's not really essential, and you can turn it off on the ...
3
votes
3answers
219 views
How to make preview jump to a specific line on startup
I am using TexLipse for working with latex, producing pdfs as output. I have configured it to use preview as viewer using this command line:
open -a "/Applications/Preview.app" %fullfile
Where ...
5
votes
1answer
2k views
What command combo at terminal will output a list of directories with human-readable sizes?
I'd like to open Terminal.app and enter a command like:
my-macbook-pro:~ my-username$ ls -lh
Instead of seeing the size of the folders in bytes that are in my current working directory, I'd like to ...
2
votes
1answer
269 views
Remember desktop state after reboot
Does anyone know if desktop switching can be done programatically? Exposé activation and deactivation? I know of the screencapture command for the last part of my proposed solution.
I would like to ...
8
votes
3answers
298 views
Drag & Drop vs mv - Any difference?
Is there a difference between bulk-moving files with Drag & Drop vs mv?
Use case:
Volume External_Drive_A has about 8000 files totalling 9GB. External_Drive_B has 74GB of free space. The ...
