Difference between revisions of "Advanced Problems"

From FreekiWiki
Jump to navigation Jump to search
(class is not currently offered.)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Navigating==
+
this class is not currently offered. [[User:Laurel|Laurel]] 21:31, 31 July 2010 (UTC)
=== Commands ===
+
== Introduction ==
cd = change directory
+
Here are a series of pages that will teach you something about different aspects of the command line. Each page has a short introduction which gives you some information, often some new commands to learn, possibly some examples and then a short quiz. Hopefully by using the man pages and a little experimentation you'll be able to go through each of these lessons so that you'll learn a lot more about the command line interface.
ls = list directory contents
 
  
=== Abreviations ===
+
[[CLI Navigating]]
/  = the root directory
 
.. = the parent directory
 
~  = your home directory
 
-  = the last directory you were in (not used in paths)
 
  
=== Quiz ===
+
[[CLI Variables]]
# How would you change to the root directory?
 
## How would you change back to your home directory?
 
  
== Variables ==
+
[[CLI Piping]]
=== Assignment and Dereferencing ===
 
To assign a value to an environment variable you simply type the variable name, '=', then the value. For example,
 
FOO=Rob
 
BAR=Love
 
  
To get the value of the variable (i.e. dereference) you place a '$' before the variable name.
+
[[CLI Process Management]]
  
#echo $FOO
+
[[CLI I/O Redirection]]
#Rob
 
#echo $BAR
 
#Love
 
  
=== Commands ===
+
[[CLI Flow Control]]
env  = Shows you the environment variables that are currently defined.
 
echo = Displays a line of text.
 
  
=== Quiz ===
+
== Possible Classes ==
# What is the value of the "HOME" environment variable?
 
# How would you create an environment variable named GEEK that's contents are "FREE GEEK is the best!"?
 
  
 
 
==Piping==
 
grep, less, wc, cat, multiple files, lsof, xargs, find, sort, awk
 
 
==Networking==
 
 
ifconfig, ping, wget, traceroute
 
ifconfig, ping, wget, traceroute
  
==While/For==
+
=== Apt ===
write, touch
 
 
 
==Apt==
 
 
can we set up a xen instance to let students have root?
 
can we set up a xen instance to let students have root?
 
* show studnets that they can have root in our current ltsp setup.
 
* show studnets that they can have root in our current ltsp setup.
 
* add the ability to have debian livecd over the net - or something like that.  
 
* add the ability to have debian livecd over the net - or something like that.  
  
==Advanced Syntax==
+
=== Advanced Syntax ===
 
*, --sort, &c.
 
*, --sort, &c.
  
 
+
[[Category:CLI Quizes]]
 
[[Category:Classes]]
 
[[Category:Classes]]

Latest revision as of 14:31, 31 July 2010

this class is not currently offered. Laurel 21:31, 31 July 2010 (UTC)

Introduction

Here are a series of pages that will teach you something about different aspects of the command line. Each page has a short introduction which gives you some information, often some new commands to learn, possibly some examples and then a short quiz. Hopefully by using the man pages and a little experimentation you'll be able to go through each of these lessons so that you'll learn a lot more about the command line interface.

CLI Navigating

CLI Variables

CLI Piping

CLI Process Management

CLI I/O Redirection

CLI Flow Control

Possible Classes

ifconfig, ping, wget, traceroute

Apt

can we set up a xen instance to let students have root?

  • show studnets that they can have root in our current ltsp setup.
  • add the ability to have debian livecd over the net - or something like that.

Advanced Syntax

  • , --sort, &c.