Tag Archives: StupidLinuxTricks

crontab backups: a simple, time-saving holiday gift idea for DBAs and sysadmins

[I originally posted this over at the Pythian blog. If you're not following it, you should! Way more content, by far smarter people than lil ol' me.] It’s holiday season in many parts of the world, but it’s not all parties and egg-nog. Caretakers of critical IT systems often have significant work to do as […]

Build an E-Business Suite 12.1.3 sandbox in VirtualBox with one hour of work

How to convert the EBS 12.1.3 templates for Oracle VM Server for use in VirtualBox, saving yourself the trouble of installing Linux and the software itself. Originally appeared on the ” title=”">Pythian blog

Downloading OTN software using wget

One of my most frequently-visited blog posts is Retrieving Oracle patches with wget. Recently, a commenter asked about using wget to download software from Oracle Technet (OTN). It’s a little more complicated to use wget to download from OTN, because there are cookies involved. This post discusses how to extract the relevant cookies from Firefox and Google Chrome, and use those cookies with wget to retrieve files.

Using the rpm “queryformat” option to display package architecture

A quick demo of using the –queryformat option to rpm to retrieve the architecture of an installed RPM.

Unix shell geekery: Finding the ten largest residents of a directory

Strange things can happen when people ask themselves a question and are unwilling to let go of it. Some retreat into seclusion to ponder the meaning of life. Some waste hours reading ultimately unrelated content on Wikipedia. Some spend way too much time writing marginally (if that) useful solutions to their questions. In this post, I’m guilty of that last one, though I’ve also been known to do the Wikipedia thing. My question? “Hey, if how could I find the largest files and subdirectories in this directory?”

Retrieving Oracle patches with wget

While working from home this evening, I had to download some patches to a remote Linux system, and was struck, not for the the first time, by the inconvenience of it all. So I wrote a quick shell function that helps me grab patches using wget. And then, I decided to share with the world, or at least the really small portion of the world that visits my blog.