Advanced Linux Workshop

From GSLISWiki

Jump to: navigation, search

btw: The workshop is confirmed for the 28th, 6:40ish-8:00 pm in Room 52 at GSLIS.


See the workshop page: http://leep.lis.uiuc.edu/publish/jtgorman/LinuxWorkshop/Advanced/workshop.html I'll be adding the review pages over the weekend. I'm hoping to get some of the hacks up by Monday too. The Workshop:

My current plan of hacks to cover:

  • Review and preparation
    • navigational commands
    • get the tarball
    • How to read a Man page and use apropos
  • Hack 1: Redirects and piping
  • Hack 2: Find, xargs, and grep. Kicking Hack 1 up a notch
  • Hack 3: backing up files, or Kicking it up yet another notch
  • Hack 4: Automate it all (cron), kicking it up the final notch
  • Hack 5: Simple Sed tricks
  • Hack 6: Edit multiple files at once with perl -p -i -e
  • Hack 7: Spell-check websites
  • Hack 8: Change your shell.
  • Hack 9: cut, sort, and manipulate log files
  • Hack 10: Aliases (not the show, but just as exciting)

I'm guessing each hack to average about 10 minutes. We may not get to Hack 10. I'll be coming up with pages to link to.



--JonGorman 17:16, 13 March 2006 (MST)




Previous Workshop Info

[edit] =============================================================================

So I've been hoping to do a series of workshops. I gave a basic tutorial in Linux yesterday, but I'd like to do some more advanced stuff. I realize a couple people who expressed interest appear to follow the Wiki, so I figured this would be a good forum to ask questions and mention some basic details.

I'm thinking mid-March in room 52 with a target of an hour to an hour and a half. I would like it to be a mixture of my babbling and people who show up actually doing some things in your own accounts.

I'm going to assume some basic knowledge, such as how to log into the classrm servers and several common commands such as cp, mv, less, mkdir. Some knowledge of how permissions work will be nice. I'll have materials on how to do all of this so people can try to get caught up if they don't know it.

I'll go over some basic piping and redirects (using | and >).

The format at this point I'm thinking of show a Hack, and people then can try to implement some suggested Variations on the Hack.

Some Hacks I'm thinking about:

  • Sending annoying errors to the grave (/dev/null)
  • Getting Help (how to read a man page and use apropos)
  • Find + xargs (how to apply commands to a select group of files such as files ending in htm or html)
  • Back it up, back it up (beep beep beep) - using find and tar to back up files
  • Cron for automating
  • Become a hermit crab and change your shell
  • Changing horses in midstream: using sed
  • Pie in the sky, using perl -p -i -e to edit multiple files at once
  • skeleton directories
  • Emacs in 30 seconds
  • Vi in 30 seconds
  • doorbell, or how to be alerted when someone else logs in
  • your own custom ls, using ls, cut, and sort.
  • Is there an echo? Using echo to keep track of complex pipe sequences.
  • Grepping, finding text in multiple files
  • Screen-scraping, or grabbing text/source from webpages
  • Spell-check webpages that are on the net (as opposed to sitting in your folder

I figure it would be useful to know who is interested, what they already know, and if there is anything in particular they would like to learn.


--JonGorman 11:40, 22 February 2006 (MST)

At this point I'm thinking the end of March might be the best, most likely the 28th. I'll start looking into reserving room 52 and the leep equipment for that night.

Anyone have a better date?


--JonGorman 08:28, 2 March 2006 (MST)

I've only had one person mention that they like to take the session. I've been thinking and have decided I'll do some sleuthing this weekend and see if a few more people might be interested. If there is only one or two it doesn't seem sense to go through the whole leep broadcast process. I'll probably just not do the class.

--JonGorman 07:41, 8 March 2006 (MST)

Personal tools