indiWiz.com
SiteSearch:
Jump:

Site Map | WizTools.org | jCraze Blog

Home : Linux : Apps

ps & kill || disk free || disk usage || gtop || uptime & w
ispell || more&less || Calculators

ps & kill

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

Disk Free

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

Disk Usage

Find the size of individual files using this command:
$ du

Top

gtop

This is the total system analysis tool. Killing a process is as simple as select, right-click & kill!

Top

uptime & w

Monitor how long you have been using your computer with these two apps. w is more comprehensive than uptime.

Top

ispell

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:
CommandFunction
RReplace the mis-spelled word completly
SpaceAccept the word this time only
AAccept the word for the rest of the session
IAccept the word, put it in your private dictionary
UAccept & add lower-case version to private dictionary
O-nReplace with one of the suggested words
LLook up words in system dictionary
XWrite the rest of this file with misspelling, ignoring misspelling & start next file
QQuit immediately
!Shell escape
^LRedraw screen
^ZSuspend 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

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

Calculators

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



Tutorials | Applications | Tips | Miscellaneous

Sign Guestbook | Who is Subhash?
The contents of this site are copyright© 2000-2008, indiWiz.com. All Rights Reserved.