Linux2

From SourceWiki
Revision as of 10:08, 27 February 2008 by Jprenaud (talk | contribs)
Jump to navigation Jump to search

Leveraging the power of the Linux command line

Getting the content for this practical

The necessary files for this practical are hosted in a version control system. To obtain them, just type the following command:

$ svn export http://source.ggy.bris.ac.uk/subversion-open/linux2/trunk linux2

This will fetch all necessary files and put them in a folder called linux2/. Ignore the cryptic syntax so far, an introduction to version control using subversion (svn) will be given later on.

Output redirection

pipes between simple commands

Automating things

"batch files"

Launching, monitoring and controlling jobs

Background, bg, jobs, fg, nohup, top, kill

Shell Scripting

Environment Variables

SHELL PWD PATH (LD_LIBRARY_PATH)

Uploaded example scripts for:

  • Environment Variables
  • Conditionals
  • For loops
  • Functions
  • Arithmetic

Text Processing

sed, awk.

Managing Data?