CARVIEW |
Earn Rewards, Reputation, and Badges
Redeem the reputation points you've earned from participating in O'Reilly Answers for O'Reilly books, videos, courses, and conferences.
Topics: bash
Feed subscription
Email subscription
Questions Only Feed
Questions Only Email

Please sign in or register to post.

Please sign in or register to post.
-
-
Keep SSH Sessions Active, Or Reconnect?
By lazyweb: 04 February 2010 - 04:43 PM
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...
-
How to find the top domains currently being processed by your postfix mail queue.
By Jim-J: 01 February 2010 - 11:07 AM
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...
-
How to find the number of requests being processed in a postfix mail queue
By Jim-J: 01 February 2010 - 10:44 AM
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...
-
How to Clean Up after a Tarball or Zipball Explodes
By mike-loukides: 29 January 2010 - 05:53 PM
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 ...
-
set -o vi : invalid option
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 >
-
Domain-Specific Languages--in bash?
By mike-loukides: 10 November 2009 - 12:38 PM
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,...
-
Just how does aslmanager work exactly?
Asked by ridogi : 05 November 2009 - 08:30 PM
Answered by ridogi: Nov 30 2009 12:53 PM
I figured out why aslmanager is clearing my logs early: I backed up the default aslmanager.plist in the LaunchDaemons directory, and while I thought I disabled that original file, I did not. So effect... full answer >
-
How to Customize the Bash Prompt for ssh
By carlaschroder: 13 October 2009 - 12:47 PM
Sure, you know that the prompt changes to display the remote hostname when you're logged in via SSH. But it's just a dumb little black-and-white prompt, and it's easy to make mistak...
-
Redacting Accidental Passwords in Your .bash_history File
By tcpiplab: 24 September 2009 - 09:07 PM
If you use the bash shell (in Unix/Linux) you know how awesome and helpful the .bash_history file is. It lets you hit the up-arrow on your keyboard over and over to review/edit/re-use complex commands...
- 1
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |