Difference between revisions of "Linux2"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[category:Pragmatic Programming]] | [[category:Pragmatic Programming]] | ||
'''Leveraging the power of the Linux command line''' | '''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: | ||
+ | <pre> | ||
+ | $ svn export http://source.ggy.bris.ac.uk/subversion-open/linux2/trunk linux2 | ||
+ | </pre> | ||
+ | |||
+ | This will fetch all necessary files and put them in a folder called <tt>linux2/</tt>. Ignore the cryptic syntax so far, an introduction to version control using subversion (svn) will be given later on. | ||
= Output redirection = | = Output redirection = |
Revision as of 10:08, 27 February 2008
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.