O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
In this tutorial you will learn:
Downloading DocBook DocumentationWriting DocBook in XcodeValidating DocBook XMLsGenerating PDF from DocBook XMLs
To download MacPorts, go to: http://macports.org/
To...
Is bash not working the way you want it to? Change the way it behaves with this handy list of options from Arnold Robbins' bash Pocket Reference.
Bash provides a number of shell options, settings...
bash has long been the go-to shell for quick one-off scripts. If you're in the midst of writing such a script and could use a handy reference of the built-in shell variables, than this excerpt from ...
Answered by KBenson : Mar 17 2010 03:23 PM
Part I
It may help to think of the file descriptors as variables that contain a value, and the value determines where the output goes (STDOUT, STDERR, a file, etc).
When redirecting 2 (STDERR) to 1 ... full answer >
Over on Slashdot user borjonx writes "Is it safer to log out of an SSH session, and re-establish it later, or just keep the connection open? Like many of you, I use OpenSSH to connect to my Slack...
If you want to get a glimpse of what's grinding away in your postfix MTA's mail queue, this simple bash one liner will give you the top 15 domains that it's working with:
$ mailq | g...
If you have a very active postfix MTA, it can take a while for the number of requests that it is currently processing to scroll past the screen.
If you just want a quick answer of how many messages i...
Don't you hate it when someone sends you a big fat tar or zip file full of lots of files, and didn't bother to put everything in one folder? If you extract it unawares, you get dozens--maybe ...
Asked by augustpasimio : 09 December 2009 - 06:58 AM
Answered by sboss : Dec 09 2009 08:10 AM
on linux I put the following in my .bash_profile:
set -o vi
on MacOSX Snow Leopard I put the following in the my .bash_profile:
set -o vi
and on both platforms it works for me.
Also it works for me... full answer >
That's perhaps overstating it, but you can use bash shell functions to create things that are very similar to domain-specific languages. Here's a stripped-down extract from one of my scripts,...