Category: Linux
Reboot Linux when hung
To Reboot Linux when hung hold down the Alt and SysRq (Print Screen) keys. While holding those down, type the…
Convert FLV file to MPEG
Convert FLV file to MPEG using ffmpeg ffmpeg -i myFile.flv -ab 56 -ar 22050 -b 500 -s 320×240 myFile.mpg
Find All Connected Harddisks
<p class=”intro”>If you have many IDE harddisks connected to the system(but not mounted), this command will find it. This will…
Watch a Log File for Changes using tail
This command will let you watch a log file for changes as soon as they happen
Installing DC++ in Linux
LinuxDCPP is a linux client for the DirectConnect protocol. This is how you install it… #Get the code sudo cvs…
Command for Converting Video Format Using Mencoder
Convent video using mencoder in linux… mencoder input.mpg -o output.avi -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc http://www.mplayerhq.hu/DOCS/HTML/en/mencoder.html http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide
Backup All Databases in MySQL
Backup all files in /var/lib/mysql to another folder To restore, stop mysqld if it is running service stop mysqld Move…
Read Tarballed Text File
How to read a big text file that is tarballed – without extracting the whole thing… bzcat enwiki-20070802-pages-articles.xml.bz2 | head…
Create a Folder’s ISO image
How to make an ISO image from contents of a directory? mkisofs -V label-name -r directory-name > iso-image.iso [tags]iso,image,folder,linux,mkisofs[/tags]
Adding a Windows Entry to Grub
The code to add a Windows loading section in Grub title Windows rootnoverify (hd0,1) chainloader +1 [tags]grub,windows,linux,boot,loader[/tags]
Recent Comments