Rejoining class chat Most of you probably already know this but I thought I would throw it on here for quick reference. So to join a class chat session do:

$screen irssi
/server irc
/join nameOfYourCouse

Using vi/vim

  1. i this will put you into input mode. (This will place characters before the courser.
  2. a this will insert after the courser.
  3. I this will insert at the beginning of the line
  4. A this will insert at the end of a the line.
  5. o this will start on the next line.
  6. O this will start you on the line before.
  7. Navigation
    1. h go left
    2. l go right
    3. j down
    4. k up
    5. w right by word
    6. b left by word
    7. {} these jump up and down by stanza
  8. Manipulation
    1. X remove character left (cut)
    2. x remove character right (cut)
    3. p place to the left of cursor (paste)
    4. P place to the right of cursor (paste)
    5. . this will run the last command
  9. How to save from vi - in command mode hit : then w then fileName (:w myFile)
  10. How to leave the vi text editor
    1. :wq - save and quit
    2. :w - name save as
    3. :q - quit
    4. :q! - with without saving

Viewing files in a directory with Wildcards

Wildcards

Some basic scripting stuff and cool commands…

* If you would like to use a command but need to have a “-something” the “-” would make the command try and use “something” as an argument. So if you need to have a “-” in something you need in a command you can use to negate the later “-”. An example of this: grep -q – '-greppingForThis'

$ cat <<name
>stuff here.
>More things.
>name
$ cat <<< "Stuff"
Stuff
...
550 echo "hello"
551 echo "$test"
$ !550
hello