HOW-TOs

If I play video games they're usually pretty low tech ones. One of the few games I miss from the old days is Duke Nukem, and I'm talking about the Duke before he went 3D. If you have an old DOS game that you'd like to run, or for that matter any old DOS program, check out DOSBox. Even if you don't have any DOS programs that you'd like to run, you might want to try downloading some of the old DOS games that are now available free online.

I just wrote a bit of Python to generate some reports from the contents of a database. The one program that was more than just "display the data" was the one to print the transaction log. It included some sub-totals for various fields and paginated output.

The one task remaining was to give it some options. That is, to pass it some criteria that would modify the report.

When running bash scripts that take a long time to run it's often useful to know how long it took for the script to run. In addition to the overall run time, it's also often useful to know how long certain parts of the script took to run. The time command doesn't really help because it's meant to time a single command, not a sequence of commands. By using the %s format

Bash Sub Shells

November 11th, 2008 by Mitch Frazier in

When writing bash scripts you sometimes need to run commands in the background. This is easily accomplished by appending the command line to be run in the background with an ampersand "&". But what do you do if you need to run multiple commands in the background? You could put them all into a separate script file and then execute that script followed by an ampersand, or you can keep the commands in your main script and run them as a sub-shell.

Product Review

Once upon a time, one computer was all you needed. All of your documents lived on that computer, or a stack of floppies or CD-Roms nearby, and nowhere else. Those days are gone, much like the one-car, one-TV, and one-iPod days.

More From LinuxJournal.com

We'd love to have you on our Reader Advisory Panel, so please read on if you are interested!

Have a friend or family member who loves Linux? While you're shopping on this Black Friday, consider this shopping list of all things Tux.

More from the SuperComputing '08 floor. Editor Shawn Powers talks about RAID, ethernet, power conservation, InfiniBand, global super computing networks, programming tools, storage and more.

More from the SuperComputing '08 floor. Editor Shawn Powers talks about Mathematica, CUDA, quiet, efficient servers and more.

Continuing at the SuperComputing '08 floor, Editor Shawn Powers talks with exhibitors about everything from spaceships to clusters to virtualization.

We're here at SuperComputing '08 in Austin, Texas catching up with a few exhibitors. If you can't be here with us, we'll bring a little of the show to you. We're searching the show floor for the coolest Linux stuff (besides Linux Journal of course) and bringing it to you.

Breaking News

Blogs and Opinion

Cycles and Simplicities

December 5th, 2008 by Doc Searls

Om Malik calls this "dave winer's best post of the year". I can't recall a better one, but ranking isn't what matters here. What matters is perspective and experience, and Dave has plenty of both. What he says is,

The Community Comes Through

December 3rd, 2008 by David Lane

As I wrote back on November 27, there is nothing more frustrating than trying to make software beyond its end-of-life work, and it is even more frustrating when it is really the best tool for the job.

DIY RC FIY

December 3rd, 2008 by Doc Searls

I've always had a thing for remote control (RC) aircraft. The kid and I have several half-broken ones to prove it. So now I'm thinking about taking it to the next level. Literally. With a DIY Drone -- a kind of aerial robot.

Can I vent here for a moment about well meaning, but clearly out-of-the-loop, friends who seem to think everything on the Internet, especially when it comes to safety, is a real situation that needs our attention and should be sent to every mailing list they are on?

Keeping Linux Safe Since 1994

November 30th, 2008 by Doc Searls

Typeanalyzer says Linux Journal is one of The Guardians. That is,

The organizing and efficient type. They are especially attuned to setting goals and managing available resources to get the job done.

For those of you familiar with twitter, the "microblogging" social-networking tool, you know that it can be a fun way to gather data from a large group of people. If you have a substantial enough group of followers, inevitably, a few are paying attention most of the time, and you will get a handful of interesting responses to almost any question.

Over the years, I have turned to Linux and the Open Source community for a number of solutions to obscure and difficult problems. And, rarely, has the community let me down. But the community, like software development in general, has limited resources and sometimes limited interest.

For some in the world of free software, libraries are things that you call, rather than visit. But the places where books are stored – especially those that make them freely available to the public – are important repositories of the world's knowledge, of relevance to all. So coders too should care about them alongside the other kind, and should be concerned that there is a threat to their ability to provide ready access to knowledge they have created themselves. The good news is that open source can save them.

As I was standing in the shower this morning, ruminating over the firings of several Verizon employees for snooping into President-Elect Obama’s phone records, I began to think about privacy and what it means and what it will evolve to mean in the coming days and years. After all I was in one of the most private places a person can be right?

Mounting Miss Piggy

November 25th, 2008 by Shawn Powers

I was in Houston last week, and I found myself doing some remote tech support over the phone. Everyone in the Houston office patiently waited for me to finish, but gave me the strangest look when I told my assistant back in Michigan, "You're going to have to reboot Gonzo and Fozzie, because they need to mount Miss Piggy."

On Technology

November 24th, 2008 by David Lane

Over the past month, two things struck me as indicative of our current time in space, and both are related to the availability of technology.


Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Featured Videos

The November 20, 2008 Linux Journal Live!. After returning from SuperComputing in Austin, Shawn talks about some things he saw, and what's on the horizon in the world of powerful Linux clusters.

From the Magazine

December 2008, #176

The Oxford English Dictionary says the word "gadget" is a placeholder name for a technical item whose precise name one can't remember. Like that book-reader thingy from Amazon...what's it called? Spindle, Gindle...Kindle, that's it. Check it out in this month's gadget issue.

Other gadgets covered include the Nokia tablets, the BlackBerry, the Neo FreeRunner, the Dash Express, the Roku Netflix Player, the Kangaroo TV, The TomTom GO 930 and the MooBella Ice Cream System. On the larger hardware front, read the reviews of the Acer Aspire One and the YDL PowerStation. On the software front, check out the articles and columns on memcached, Samba security, Mutt, desktop gadgets, bash and Puppet. To wrap it all up, read Doc's thoughts on Google and the browser platform.

Read this issue