rigadicomando.org

Whatever you can cat

Secondary links

  • About
  • Contacts
  • Disclaimer

Column width in bash environment

Submitted by admin on Sat, 2008-03-29 22:42.
  • bash
  • Debian GNU/Linux OS

export COLUMNS=150

  • admin's blog

USB Stick GNU/Linux mini howto with Fix for "Boot error" Buggy BIOSes

Submitted by admin on Wed, 2008-03-05 23:50.
  • Debian GNU/Linux OS
  • howto

I was reading some articles around the web about how building your persistent GNU/Linux system on usb stick, I found many howtos but I had problems with my BIOS.

  • admin's blog
  • Read more

Clear the whole Postfix mail queue

Submitted by admin on Fri, 2008-02-22 15:07.
  • bash


~# for i in `mailq|grep '@' |awk {'print $1'}|grep -v '@'`; do postsuper -d $i ; done

  • admin's blog

Split big files for editing

Submitted by admin on Tue, 2008-01-15 14:13.
  • bash
  • emacs

If you need to edit a big file, for example a mysql full dump for recover a single database, and your editor, for example emacs, say
something like "Maximum buffer size exceeded" you can split it in many smaller files.

~$ split -b 100m ORIGINAL_BIG_FILE OUTPUT_FILE_NAME

Output files will be:

OUTPUT_FILE_NAMEaa
OUTPUT_FILE_NAMEab
OUTPUT_FILE_NAMEac

and on ... every one 100MB weight.

Then you can edit and just keep your DB for restore.

  • admin's blog
  • Read more

How do you rename files with a certain pattern in bash?

Submitted by admin on Mon, 2006-05-29 09:25.
  • bash
  • scripts

How do you rename files with a certain pattern in bash?

for i in *ABC*
do
new=$ ( echo $i | sed ’s/ABC/DEF/’ )
mv $i $new
done

Thanks Live from Yokohama

  • admin's blog
12345next ›last »

Navigation

  • News aggregator

ICT users' rights

  • New Documentary Film "Patent Absurdity: how software patents broke the system"
  • Time for nonprofits to leave proprietary fundraising software systems behind
  • Breaking the dependency on proprietary software: A call to nonprofits to refuse Microsoft Windows 7
  • Why is free software important to you? Submit your response to our new video campaign!
  • FSF works with PayPal to the benefit of the free software community
more

High Scalability Architecture

  • The cost of High Availability (HA) with Oracle
  • Strategy: Order Two Mediums Instead of Two Smalls and the EC2 Buffet
  • Hot Scalability Links for April 16, 2010
  • Parallel Information Retrieval and Other Search Engine Goodness
  • Strategy: Saving Your Butt With Deferred Deletes
more

Debian Security

  • DSA-2038 pidgin
  • DSA-2037 kdm (kdebase)
  • DSA-2036 jasper
  • DSA-2035 apache2
  • DSA-2034 phpmyadmin
more

Drupal Security

  • SA-CORE-2010-001 - Drupal core - Multiple vulnerabilities
more

EFF

  • Congress Must Investigate Electronic Searches at U.S. Borders
  • Betrayed MSN Music Customers Deserve More from Microsoft
  • EFF Report: FBI Slowed Terror Investigation with Improper NSL Request
  • State Secrets Claim Should Not Bury Important Surveillance Lawsuit
  • Courtroom Showdown for eBay Seller Over Promo CD Sales
more

Invent Geek

  • The Meeting Light Project
  • the ion cooler 2.0
  • the ultimate dance pad v1.0
  • The Thermaltake MiniFridge Case Mod
  • Inventgeek gets a facelift and a butt tuck
more

 Privacy | Disclaimer | Drupal | Creative Commons

All content on this site is ditributed under Creative Commons License, each individual author is responsible for its own posts.

RoopleTheme