[ubuntu-us-in] Ubuntu-us-in Digest, Vol 15, Issue 8

brian blackburn abrianb2003 at yahoo.com
Mon May 5 16:22:00 BST 2008


Thanks, The lifehacker link looks very interesting.

----- Original Message ----
From: justin sullivan <j.p.sullivan at hotmail.com>
To: ubuntu-us-in at lists.ubuntu.com
Sent: Sunday, May 4, 2008 1:03:40 PM
Subject: Re: [ubuntu-us-in] Ubuntu-us-in Digest, Vol 15, Issue 8


.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}
hey tom, heres a good link. http://lifehacker.com/382995/ease-the-transition-to-ubuntu-with-a-cheat-sheet  , read this over and get familiar with some of the commands on this list. learn how to use the terminal, like installing programs using apt-get and ssh and what not. lifehacker.com is a good site to keep on, it has alot of good stuff in the linux topics. 

> From: ubuntu-us-in-request at lists.ubuntu.com
> Subject: Ubuntu-us-in Digest, Vol 15, Issue 8
> To: ubuntu-us-in at lists.ubuntu.com
> Date: Sun, 4 May 2008 12:00:18 +0100
> 
> Send Ubuntu-us-in mailing list submissions to
> 	ubuntu-us-in at lists.ubuntu.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-in
> or, via email, send a message with subject or body 'help' to
> 	ubuntu-us-in-request at lists.ubuntu.com
> 
> You can reach the person managing the list at
> 	ubuntu-us-in-owner at lists.ubuntu.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ubuntu-us-in digest..."
> 
> 
> Today's Topics:
> 
>    1. Re:  hard drive tools* ssh ftp suggestions (Rob Ludwick)
>    2. Re:  Ubuntu-us-in Digest, Vol 15, Issue 7 (Vern Ceder)
>    3. Re:  (no subject) (Rob Ludwick)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 04 May 2008 00:03:33 -0400
> From: Rob Ludwick <rob at rcludw.no-ip.org>
> Subject: Re: [ubuntu-us-in] hard drive tools* ssh ftp suggestions
> To: "Ubuntu's Indiana Local Community Team"
> 	<ubuntu-us-in at lists.ubuntu.com>
> Message-ID: <1209873813.6021.49.camel at tvsfrank.mst3k>
> Content-Type: text/plain
> 
> 
> > Of course a neat trick in python is to use popen2() and use dd without
> > an "of" paramter.  dd sends the data to standard out, which in python
> > through popen2() becomes a file.  (Yay!)  You know how many bytes you
> > get because you you can count them and you would get an EOF before you
> > were done reading blocksize.  At this point you would adjust your dd
> > parameters to start at the next 512 byte block on the drive.  And then
> > you can just use python to interleave the 4k blocks.  
> 
> This runs dd in popen.  
> 
> #!/usr/bin/env python
> 
> import popen2
> 
> inputfile = "/dev/zero"
> outputfile = "/tmp/test"
> 
> bs=2**16
> 
> dd = "dd if=" + `inputfile` + " bs=" + `bs` + " count=1"
> file = open(outputfile, "w")
> (outfd, infd) = popen2.popen2(dd)
> buf=outfd.read()
> if len(buf) != bs:
>   print "error."
> else:
>   print "success!"
>   file.write(buf)
> file.close()
> infd.close()
> outfd.close()
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 04 May 2008 00:14:06 -0400
> From: Vern Ceder <vceder at canterburyschool.org>
> Subject: Re: [ubuntu-us-in] Ubuntu-us-in Digest, Vol 15, Issue 7
> To: ubuntu-us-in at lists.ubuntu.com
> Message-ID: <481D380E.7040708 at canterburyschool.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On Sat, May 3, 2008 at 11:35 PM, Rob Ludwick <rob at rcludw.no-ip.org> wrote:
> > 
> > Of course a neat trick in python is to use popen2() and use dd without
> > an "of" paramter.  dd sends the data to standard out, which in python
> > through popen2() becomes a file.  (Yay!)  You know how many bytes you
> > get because you you can count them and you would get an EOF before you
> > were done reading blocksize.  At this point you would adjust your dd
> > parameters to start at the next 512 byte block on the drive.  And then
> > you can just use python to interleave the 4k blocks.  
> > 
> Actually, the whole Python popen family - popen2, popen3 and popen4 - 
> have been deprecated. You can now do exactly the same things a bit more 
> cleanly using the subprocess module. I just discovered this myself a 
> couple of weeks ago while writing some sysadmin-ish scripts.
> 
> Cheers,
> Vern
> 
> 
> -- 
> This time for sure!
>     -Bullwinkle J. Moose
> -----------------------------
> Vern Ceder, Director of Technology
> Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
> vceder at canterburyschool.org; 260-436-0746; FAX: 260-436-5137
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 04 May 2008 00:38:22 -0400
> From: Rob Ludwick <rob at rcludw.no-ip.org>
> Subject: Re: [ubuntu-us-in] (no subject)
> To: "Ubuntu's Indiana Local Community Team"
> 	<ubuntu-us-in at lists.ubuntu.com>
> Message-ID: <1209875902.6021.61.camel at tvsfrank.mst3k>
> Content-Type: text/plain
> 
> Find all the mp3's on your system.
> 
> find / -name \*.mp3 2>/dev/null 
> 
> To save it to a file:
> 
> find / -name \*.mp3 2>/dev/null >~/Desktop/mp3list.txt
> 
> 
> 
> On Sat, 2008-05-03 at 22:54 -0500, tom User wrote:
> > Hey guys.. So far, so good using Ubuntu.. Haven't really run into any
> > problems I wasn't able to figure out. Took a minute to learn the
> > repository, adding apps, and where all my files ended up, but no real
> > problem. I see the install put a "host" folder in my file system which
> > made transfer of my ITunes Songs very simple. I have one suggestion....
> > If someone could maybe, once a day, post an advanced tip so I can
> > gradually learn this system at an "expert" level. I can figure all the
> > basics,just get lost in some of your conversations. I'm trying to learn
> > some of the terminal commands now..  Thanks, Tom
> > 
> > 
> 
> 
> 
> 
> ------------------------------
> 
> -- 
> Ubuntu-us-in mailing list
> Ubuntu-us-in at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-in
> 
> 
> End of Ubuntu-us-in Digest, Vol 15, Issue 8
> *******************************************

Get Free (PRODUCT) RED™  Emoticons, Winks and Display Pics. Check it out!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-in/attachments/20080505/52dc09cf/attachment.htm 


More information about the Ubuntu-us-in mailing list