Eg. > 1.Suppose you store some sql comands in a file then you can use input > redirection in mysql like this > $ mysql dbname <sqlcommanfile > > 2. Using you use input redirection in bc. Store the commands in a file and > run bc like this > > $ bc <yourfile
Some more examples: $ gzip -c </etc/passwd >passwd.gz this will compress /etc/passwd file and generates a new compressed file passwd.gz $ cat </dev/urandom >/dev/sdb1 NOTE: DONT TRY THIS UNLESS YOU UNDERSTAND WHAT YOU ARE DOING. This command will randomize bytes in your USB drive (or second hard drive) so that data will be thrashed. I think no forensic tool can recover the data. Thanks, Mohan R _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
