Category: Linux

Recording Sound in Linux

To record a sound in wav format from Mic, just use this command… arecord -f cd test.wav Use Ctrl+C to…

Text to Speech – Hear a File

Festival is a speech synthesizer for Linux. You can use this with the following commands… Enter a festival console for…

List All Files in a Folder Recursively

Save the list of all files in a folder – recursively. find .|sed ‘s/\.\///;’ Another option is ls -R -1…

Download Entire Folder using Wget Command in Linux

wget -m http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/ -m, –mirror shortcut for -N -r -l inf –no-remove-listing. wget -H -r –level=1 -k -p http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/ -r,…

Change the Extension of Multiple Files in Linux

In this example, we will change all files with extension ‘.info’ to ‘.txt’. Rename all *.info files in one folder…

CVS Through Proxy

Command to import a CVS project’s code through a proxy Checkout code from remote server(No Proxy) cvs -z3 -d:ext:binnyva@nexty.cvs.sourceforge.net:/cvsroot/nexty co…

Command to Compress/Uncompress tar.gz and tar.bz2 files

Compress folder Test/ to Test.tar.gz tar czfv Test.tar.gz Test/ czfv = ‘Compress Zip File Verbose’ If you want bzip files,…

Remove CVS Information from a Folder

find -name CVS -exec rm -rf {} \; NOTE: Works only with bash

Backup Using Rsync

Backups the script folder to a remote location. Original Article… rsync -avze ssh Scripts/ binnyva@binnyva.com:backup/Scripts/

Mount MDF Image files

mount image.mdf /mnt/image -o loop=/dev/loop0