13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30Chapter 1An Embarrassment of Riches: The <strong>Linux</strong> Envir<strong>on</strong>mentThere are other help systems available, such as info and some GUI-based<strong>on</strong>es. But man provides some of the quickest and most terse help when youneed to check the syntax of a command or find out if there is an opti<strong>on</strong> thatdoes what you need.1.4REVIEWWe’ve looked at commands that will show you where files are in your directorystructure, show files’ permissi<strong>on</strong>s and sizes, change the permissi<strong>on</strong>s, show youwhat is in a file, look for files by searching for strings, and look for files based<strong>on</strong> names or other properties.Even so, we’ve given <strong>on</strong>ly the briefest coverage to <strong>on</strong>ly a few of the scoresof <strong>Linux</strong> commands worth knowing. Tops am<strong>on</strong>g these is the shell, bash inour case. Whole books have been written <strong>on</strong> this subject, and you would dowell to have <strong>on</strong>e at hand.1.5WHAT YOU STILL DON’T KNOWThe shell is a powerful language in its own right. While you think of it mostlyas a command interpreter used for running other commands, it is, in fact, alanguage, complete with variables, logic and looping c<strong>on</strong>structs. We are notsuggesting that you write your applicati<strong>on</strong> in shell scripts, but you will find ituseful for automating many repetitive tasks. There is so much that can be d<strong>on</strong>ewith shell scripts that we encourage you to read more about this and to talkwith other <strong>Linux</strong> users.<strong>Linux</strong> is replete with so many different commands. Some are powerfullanguages like awk and perl, others are simple handy utilities like head, tail,sort, tr, and diff. There are hundreds of other commands that we d<strong>on</strong>’t evenhave time to menti<strong>on</strong>.1.6RESOURCES• Camer<strong>on</strong> Newham and Bill Rosenblatt, Learning the Bash Shell, O’ReillyAssociates, ISBN 1565923472.• Ellie Quigley, <strong>Linux</strong> Shells by Example, 4th ed., Prentice Hall PTR, ISBN013147572X.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!