Monthly Archives: February 2010

Command Line Basics: Monitor Processes With Top

There are many different GUI based process monitors available for Linux systems. It seems that each desktop environment or window manager has its own solution. The one common process monitor is the command line terminal based top command.

Give it a try. To run top, simply open a terminal window and enter: Continue reading

The Perennial Year of the Linux Desktop

It’s become a tradition (and a bit of a running joke) for bloggers and tech pundits to declare that this year (whatever year you’re in) will be The Year of the Linux Desktop. So in following with that tradition, I’m here to declare that 2010 will be The Year of the Linux Desktop, but not in the sense that many other bloggers have stated. You see, every year is The Year of the Linux Desktop. Continue reading

Bash to Basics: The For Loop

Previously I’ve shown how to use the bash while loop in a bash script. Today I’m going to show how to use another type of do loop in bash: the for loop.

The for loop is a little different from the other looping structures in bash. The other loop structures work by evaluating whether an expression is true or false. The for loop works on lists of values. As long as there are items left in the list, the for loop will execute.

Here’s a basic example. Continue reading