linux

LINUX- show progress bar during dd copy using pv

Warning & Disclaimer: dd is a low level tool. if you are not familiar with it  please do NOT use it. If wrongly used it can wipe off all your data. Always run or play with such commands on TEST Machines first. If you follow this post , you accept you are doing it at your own risk.

Method 1:

dd if=FILE1 of=FILE2
pkill -USER1 dd  

To see output being refreshed continuosly:

watch -n 10 pkill -USR1 dd

Method 2:

pv FILE1 | dd of=FILE2

EXAMPLE: sudo pv /dev/sde3 |dd of= /tmp/mybackup.img

WHERE: /dev/sde3 is the data partition (the input) on my usb drive
AND /tmp/mybackup.img  is the output (the backup)

I have taken this post & modified a bit to make it more clear from Robert’s Blog.

 

The Tao of UBUNTU

A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed.

~ Archbishop Desmond Tutu, 1999

Source: http://ubuntuforums.org/showthread.php?t=1016501

Get a Free Techie custom email address

do you want  an email address that look more professional ? one that make you feel techie?

while digging deeper in google, i found some free email providers:

mail.com

The main drawback: no option to forward mail to another account such as gmail (feature available in premium account)
You can create email account in the form:

name@linuxmail.org
name@bsdmail.com
name@techie.com
name@programmer.net

name@hackermail.com

There is more to choose from.You will find a long list when you sign up.

easy.la

Good news is that it allows to forward to another account (as specified on their website).
You can create email account in the form:

name@admin.la

Again,there is more to choose from.You will find a long list when you sign up.

Nano Syntax Highlighting Config Files

A list of nano syntax highlighting config files  (*.nanorc) can

be found here:

http://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc

Filename Size Rev Date Author
apache2.nanorc 2.7 KB 2 Oct 02, 2008 Lucractius
apacheconf.nanorc 6.1 KB 2 Oct 02, 2008 Lucractius
aptsrclist.nanorc 594 bytes 2 Oct 02, 2008 Lucractius
asm.nanorc 783 bytes 2 Oct 02, 2008 Lucractius
bash.nanorc 2.9 KB 2 Oct 02, 2008 Lucractius
c-file.nanorc 640 bytes 2 Oct 02, 2008 Lucractius
c.nanorc 1.5 KB 2 Oct 02, 2008 Lucractius
changelog.nanorc 1.4 KB 2 Oct 02, 2008 Lucractius
changelogs.nanorc 674 bytes 2 Oct 02, 2008 Lucractius
clike.nanorc 1.4 KB 2 Oct 02, 2008 Lucractius
conf.nanorc 478 bytes 2 Oct 02, 2008 Lucractius
config.nanorc 240 bytes 2 Oct 02, 2008 Lucractius
config2.nanorc 305 bytes 2 Oct 02, 2008 Lucractius
config3.nanorc 378 bytes 2 Oct 02, 2008 Lucractius
configfiles.nanorc 776 bytes 2 Oct 02, 2008 Lucractius
conky.nanorc 810 bytes 2 Oct 02, 2008 Lucractius
css.nanorc 596 bytes 2 Oct 02, 2008 Lucractius
debian.nanorc 680 bytes 2 Oct 02, 2008 Lucractius
default.nanorc 110 bytes 2 Oct 02, 2008 Lucractius
delphi.nanorc 587 bytes 2 Oct 02, 2008 Lucractius
desc.nanorc 356 bytes 2 Oct 02, 2008 Lucractius
dotemacs.nanorc 49 bytes 2 Oct 02, 2008 Lucractius
dummy.nanorc 1.6 KB 2 Oct 02, 2008 Lucractius
ebuild.nanorc 1.7 KB 2 Oct 02, 2008 Lucractius
ekghistory.nanorc 174 bytes 2 Oct 02, 2008 Lucractius
etc-stuff.nanorc 11.4 KB 2 Oct 02, 2008 Lucractius
etcportage.nanorc 642 bytes 2 Oct 02, 2008 Lucractius
etcxml.nanorc 791 bytes 2 Oct 02, 2008 Lucractius
gentoo.nanorc 2.5 KB 2 Oct 02, 2008 Lucractius
groff.nanorc 723 bytes 2 Oct 02, 2008 Lucractius
havp.nanorc 254 bytes 2 Oct 02, 2008 Lucractius
html.nanorc 124 bytes 2 Oct 02, 2008 Lucractius
httpstatuscodes.nanorc 523 bytes 2 Oct 02, 2008 Lucractius
info.nanorc 762 bytes 2 Oct 02, 2008 Lucractius
ini.nanorc 339 bytes 2 Oct 02, 2008 Lucractius
initng.nanorc 894 bytes 2 Oct 02, 2008 Lucractius
initscript.nanorc 1.8 KB 2 Oct 02, 2008 Lucractius
java.nanorc 610 bytes 2 Oct 02, 2008 Lucractius
js.nanorc 1.4 KB 2 Oct 02, 2008 Lucractius
log-stuff.nanorc 1.3 KB 2 Oct 02, 2008 Lucractius
maincf.nanorc 183 bytes 2 Oct 02, 2008 Lucractius
makefile.nanorc 980 bytes 2 Oct 02, 2008 Lucractius
man.nanorc 264 bytes 2 Oct 02, 2008 Lucractius
mcchangelog.nanorc 664 bytes 2 Oct 02, 2008 Lucractius
mimetype.nanorc 137 bytes 2 Oct 02, 2008 Lucractius
mutt.nanorc 95 bytes 2 Oct 02, 2008 Lucractius
named.nanorc 449 bytes 2 Oct 02, 2008 Lucractius
nanorc.nanorc 1.0 KB 2 Oct 02, 2008 Lucractius
nscd.nanorc 108 bytes 2 Oct 02, 2008 Lucractius
others.nanorc 3.1 KB 2 Oct 02, 2008 Lucractius
paludis.nanorc 3.8 KB 2 Oct 02, 2008 Lucractius
passwd.nanorc 264 bytes 2 Oct 02, 2008 Lucractius
patch.nanorc 242 bytes 2 Oct 02, 2008 Lucractius
perl.nanorc 1.4 KB 2 Oct 02, 2008 Lucractius
php.nanorc 687 bytes 2 Oct 02, 2008 Lucractius
php2.nanorc 420 bytes 2 Oct 02, 2008 Lucractius
plaudis.nanorc 3.8 KB 2 Oct 02, 2008 Lucractius
po.nanorc 607 bytes 2 Oct 02, 2008 Lucractius
postgresql.nanorc 728 bytes 2 Oct 02, 2008 Lucractius
pov.nanorc 682 bytes 2 Oct 02, 2008 Lucractius
privoxy.nanorc 1.6 KB 2 Oct 02, 2008 Lucractius
profile.nanorc 298 bytes 2 Oct 02, 2008 Lucractius
python.nanorc 486 bytes 2 Oct 02, 2008 Lucractius
rcfiles-new.nanorc 987 bytes 2 Oct 02, 2008 Lucractius
rcfiles.nanorc 352 bytes 2 Oct 02, 2008 Lucractius
rsync.nanorc 278 bytes 2 Oct 02, 2008 Lucractius
ruby.nanorc 1.4 KB 2 Oct 02, 2008 Lucractius
sh.nanorc 654 bytes 2 Oct 02, 2008 Lucractius
shlike.nanorc 716 bytes 2 Oct 02, 2008 Lucractius
softcam.nanorc 377 bytes 2 Oct 02, 2008 Lucractius
sources_list.nanorc 644 bytes 2 Oct 02, 2008 Lucractius
tab.nanorc 401 bytes 2 Oct 02, 2008 Lucractius
tcl.nanorc 2.1 KB 2 Oct 02, 2008 Lucractius
tex.nanorc 133 bytes 2 Oct 02, 2008 Lucractius
urls.nanorc 525 bytes 2 Oct 02, 2008 Lucractius
vhost.nanorc 2.7 KB 2 Oct 02, 2008 Lucractius
xdefaults.nanorc 268 bytes 2 Oct 02, 2008 Lucractius
xml.nanorc 618 bytes 2 Oct 02, 2008 Lucractius
xorg.nanorc 881 bytes 2 Oct 02, 2008 Lucractius

linux penguin ascii

------------------
< Hello,  world!  >
-------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

i got it from 
http://linuxgazette.net/67/orr.html

You can copy this ascii into /etc/motd of a server so that you get this ascii penguin
when you connect remotely via ssh.

you can also copy it in a file(e.g ascii-tux) and in /etc/bash.bashrc
add 
cat /path/to/ascii-tux
to the end.