Home : Linux : Apps
ps & kill || disk free || disk usage || gtop || uptime & w
ispell || more&less || Calculators
Under Windows the most commonly used keys are Ctrl+Alt+Del. Under Linux too, sometimes some app may crash. You use kill command to force close such app. But first you have to see which apps are running. Give the ps command with the following option:
$ ps -A
You will be given some data in a table form. The first column is 'PID', the second is 'TTY', the third is 'TIME' & the last one is 'CMD'. The 'CMD' column gives the app name. See if your crashed app appears there. If so, see the corresponding number (in the first column 'PID'). Next issue the command:
$ kill <PID-number>
to kill the rebelling app. If you find this commands difficult, try these:
$ top
or use the app bundled with GNU Interactive Tools:
$ gitps
Top
Use the disk free command to view your disk-space usage:
$ df
If you want to view this information graphically, give this command:
$ gdiskfree
Top
Find the size of individual files using this command:
$ du
Top
This is the total system analysis tool. Killing a process is as simple as select, right-click & kill!
Top
Monitor how long you have been using your computer with these two apps. w is more comprehensive than uptime.
Top
ispell is the spell checking utility under Linux. Using this you can spell check your ASCII text files. You have to load the text file through the command-line:
$ ispell <file-name>
The spell-checking commands are:
| Command | Function |
| R | Replace the mis-spelled word completly |
| Space | Accept the word this time only |
| A | Accept the word for the rest of the session |
| I | Accept the word, put it in your private dictionary |
| U | Accept & add lower-case version to private dictionary |
| O-n | Replace with one of the suggested words |
| L | Look up words in system dictionary |
| X | Write the rest of this file with misspelling, ignoring misspelling & start next file |
| Q | Quit immediately |
| ! | Shell escape |
| ^L | Redraw screen |
| ^Z | Suspend program |
| ? | Show help screen |
Using ispell interactively
Start ispell thus:
$ ispell -a
Now enter the word you want to spell check & press 'Enter'. If the word is spelled correctly a '*' is displayed. Otherwise a list of likely replacements are given. To quit ispell from this interactive session press 'Ctrl+D'.
Top
more & less are more or less the same. They are used to view ASCII files. more is a little more restrictive than less. more just displays the content, while less lets you scroll through the displayed file. Usage:
$ more <file-name>
$ less <file-name>
Another utility which you would like to try is gless.
Top
 |
| XCalc at work... |
Top |
XCalculator is a powerful calculator. Just like the calculator found under Windows, you can operate this one completly through the keyboard. Usage:
$ xcalc
You can also start this program with the following command-line options:
$ xcalc -stipple
$ xcalc -rpn
Another calculator which you can try is the gcalc. This comes with Gnome. KDE also comes with a excellent calculator - kcalc.

Print This Article
Add Comment!
Number of comments: 0
Sign Guestbook
|
Who is Subhash?
The contents of this site are copyright© 2000-2008, indiWiz.com. All Rights Reserved.