Linux Command Summary
Part 02 of 02
Pattern Matching with Grep
The name grep is a contraction of get regular expression and print. Grep uses patterns which are known as regular expressions. Examples of regular expressions are.
. Any single character.
\c A literal c character.
[. . . ] Matches any one of the characters in the brackets.
[c1-c2] Any character in the range c1−c2.
[ˆc1-c2] Any character not in the range c1−c2.
ˆ The start of a line.
$ The end of a line.
expr* Matches zero or more copies of expr.
expr1expr2 Matches the first expression followed by the second.
expr1|expr2 Matches either the first or second expression.
(. . . ) Parentheses can be used for grouping.
Some examples:
ˆ$ Empty lines.
ˆSTART$ The word START on a line by itself.
ˆ[0-9] Lines beginning with a digit.
function Lines containing the word function.
Office-Style Applications
There are a number of applications which provide the same kind of functionality as Microsoft Office. Documents can be exchanged with Office if they are saved in the correct format (e.g. .doc, .xls, . . . ). The following applications are part of the free software Open Office suite.
oowriter Word processor.
oocalc Spreadsheet.
ooimpress Powerpoint style presentations.
oodraw Drawing program.
oomath Equation editor.
In addition the following applications provide useful functionality.
gnumeric Spreadsheet.
abiword Word processor.
acrobat Adobe Acrobat reader.
gsview PostScript viewer.
scribus Page layout (like Pagemaker).
Graphics Applications
gthumb Graphics viewing program.
gimp Photoshop-like graphics program.
xfig Vector-dsrawing program.
Data Processing Applications
Our systems have a number of useful data processing applications installed.
R Local statistics software.
Splus A commercial version of R.
sas A database system for corporations
which does some statistics.
perl A report generation language.
awk An older report generation language.
sed A non interactive (stream editor).
Software Development
Unix is without peer when it comes to software development. Many developers produce software by developing it under Linux and simply cross-compiling for Windows.
java Java runtime.
cc C Compiler.
c++ C++ compiler.
f77 Fortran77 compiler.
gfortran Fortran95 compiler.
python A hot new scripting language.
ruby A less hot new scripting language.
tcl An older scripting language.
umb-scheme A scheme (aka Lisp) interpreter.
octave A language like Matlab.
anjuta A integrated C/C++ development environment.
make A software build utility.








No comments:
Post a Comment