Command Line Basics: Monitor Processes With Top

February 28, 2010 by Linerd · 1 Comment
Filed under: HowTo, command line, linux 

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: Read more

Bash to Basics: The For Loop

February 14, 2010 by Linerd · 2 Comments
Filed under: HowTo, Ubuntu, bash, linux 

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. Read more

Next Page »