One of the very first things I do, to a new persistant home install... is install the pastebin.ca perl script - paste2pastebin.pl
It makes life alot easier to paste an error message to someone who's trying to help me out. A collaboration tool.
Once you have it installed, say in /usr/local/bin/paste2pastebin.pl you can paste a file or an error message you got somewhere straight from the clipboard.
To paste a named file:
To paste the contents of Klipper, make sure the hyphen is the last char of the cmdline, and then press shift-insert (or X's middle click. ) Ignore what Konsole shows you... it really did paste the whole thing... and then don't forget to hit Ctrl-D to end the input. You can even continue to type stuff on the bottom... after you pasted.Code:paste2pastebin.pl /path2/filename
First get...Code:paste2pastebin.pl -
http://pastebin.ca/download/paste2pastebin.pl and save it to somewhere like /usr/local/bin.
Edit: pastebin.ca gave me an error when I used wget at that url... so here is the proper link to use when trying to get the script.
http://pastebin.ca Tools Section
You will probably also want to change it's permission to 755 and ownership to root. In a console...Now you'll also have to install a perl module, WWW/Mechanize.pm.sudo chmod 755 /usr/local/bin/paste2pastebin.pl
sudo chown -c root:root /usr/local/bin/paste2pastebin.pl
If you haven't installed any modules before... and that is likely with Knoppix...I accepted the defaults except for the -j3 line... which is for dual cores...sudo perl -MCPAN -e shell
and I finally wound up at a perl prompt. Then
Edit:Not so fast... alot has changed since I posted this...install WWW::Mechanize
install Getopt::Long
before you install any modules... it is best to upgrade cpan itself... with
I did this as root, and selected "follow" for the dependancy option... and this time it worked. WWW::Mechanize was broken for a while... because some "test site", computers4sure.com changed their website around. Any problems you get... here is where to start looking or complainingCode:install Bundle::CPAN reload cpan o conf commit quit ... then restart it and make sure it doesn't complain. perl -MCPAN -e shell
Google Code WWW::Mechanize bug list
Now in a console
returns... Your paste URL is: http://pastebin.ca/979356lsmod | paste2pastebin.pl
Leaving a paste on a server forever is wasteful in my opinion... so
is a quickie that expires in 30 minutes.lsmod | paste2pastebin.pl --expiry="30 minutes"
Which can also be any of these options...
Expiry options:
*/Never, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 45 minutes,
1 hour, 2 hours, 4 hours, 8 hours, 12 hours,
1 day, 2 days, 3 days,
1 week, 2 weeks, 3 weeks,
1 month, 2 months, 3 months, 4 months, 5 months, 6 months,
1 year.
Since the script uses a default name of clueless... adding --name=yourname will give you an added bit of dignity.
I did it all by ading an alias in /etc/profile, but you could just edit the script itself.
alias p2pbin='paste2pastebin.pl --expiry='\''1 month'\'' --name=johnrw'
More details can be found on a similar post here:
http://www.novell.com/coolsolutions/tools/16545.html
Seagate ST24000NM002H 24TB HDD Exos X24 HD 3.5 SATA 7200 Seagate Warranty
$399.99
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404
$99.00
Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive
$99.00
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$79.99
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$110.00
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$93.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.34