Ed, I think that could be quite helpful, especially to people like me, because though I've been using Linux for years now, I tend to avoid the things I don't know how to do (like setting up CUPS, which I still haven't done.) I know there are a lot of "how to's" scattered across the web, and that the Linux Documentation Project is a great resource. But sometimes it feels like I'm searching for the proverbial needle in a haystack. Another thing that would be very helpful (and I wish I had time to work on it now; maybe next month :-)) would be a kind of meta-faq or glossary that would help newbies find the right resources on the web. One of the hardest things (for me anyway) with approaching a new body of knowledge is learning its lingo. One example: years ago I picked up an SQL manual and immediately wondered, "where are all the read and write commands?" It took me a while to figure out that "select" was one of the most powerful things you could do. Vaughn On Friday 11 June 2004 10:43, you wrote: > I have something for the PLUG Website that should be of interest to > newbies and possbly even old-farts such as myself. For some years I've > slowly accumulated a list of notes on doing various things in Linux. I > think of it as my personal "big dummy" list -- it's how to do various > things that I don't do often enough to memorize. Some of the things go in > categories (setting up CUPS, printers and printing files in various ways) > and some things end up in a "one-liners list" of simple, one-line commands > for various purposes. Some are entries gleaned from this mailing list, by > the way. (Thank you!) I'm looking for a "good place" on the PLUG website > but the content crosses the boundary between FAQ (or more likely, "Not So > FAQ But Wish I Had") and something in the Downloads which, unfortunately, > ends up somewhat buried and hidden. > Where do you think it should go? > Here's a brief sampling: > > Abbreviated version > EdskiHowTo.txt: How To Do Things I Sometimes Forget How To Do > No warranty, no guarantees, etc... > Indeed, if you blindly follow the instructions herein, you will almost > certainly destroy your system. Have Fun! > > Add edski (me) to sudo database > As root, edit /etc/sudoers (should be one there already) > After the line about root, add a new line (with no leading whitespace): > edski ALL=(ALL) NOPASSWD: ALL > > vi Tricks > ma # "Mark" the current line as "a" > 'a # Go to mark "a" > > :'a,. !sort # Alpha-sort the lines between mark "a" and "." (here) > > Allow anyone to mount the first USB storage device (such as a digital > camera) As root > mkdir /mnt/usb > Edit /etc/fstab: add the following (but no leading whitespace) > /dev/sda1 /mnt/usb vfat noauto,user 0 0 > Then, as a normal user > Ready the USB storage device > [Put the camera into playback (not record) mode] > [Maybe wait several seconds before attempting the mount?] > [fdisk -l /dev/sda1 # (May be helpful?)] > mount /dev/sda1 # OR mount /mnt/usb > find /mnt/usb -print # See what's there > ... whatever (such as "cp /mnt/usb/... elsewhere" > umount /dev/sda1 # OR umount /mnt/usb > > Various single-Line Commands > INDEX=22; sed -n "${INDEX}p" filename # Print one line from a file > fdisk -l /dev/hda # (May be informative) > pushd .; cd elsewhere; do some stuff; popd # go back, can be multi-line > ( cd elsehwere; do some stuff ) # Equivalent, must be done as one line > fuser filename # Show PIDs having filename open > fuser -k filename # Kill processes having filename open > fuser -k /dev/dsp # Kill processes using sound card > ps xaf # Show all processes with parentage > find BB PT -print | zip music -@ # Create music.zip for a Windows system > a2ps -1 file # Print file (1-up) > a2ps -4 file # 4-up print file (text, postscript, PDF, whatever!) > a2ps --portrait --columns=1 filelist # 1-up print lots of files > a2ps --delegate=off file # Print plain ASCII regardless of content/name > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss