If this is the problem running in your head then the following one liner will be helpful to you.
$ echo "1234567890" | sed -e ':a' -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta'
1,234,567,890
$ echo "1234567890" | sed -e ':a' -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta'
1,234,567,890
$ ffmpeg -i myVideo.vob myvideo.avi
$ export LD_LIBRARY_PATH=/usr/local/lib/ && ffmpeg -i myVideo.vob myvideo.avi
$ sudo apt-get install libavcodec52 libavutil49
function isINetAddress($ipaddr){
if( preg_match( "/^((?:25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9]).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])$/m",$ipaddr) > 0)
return true;
}
NUM=1
for SONG in ./*
do
mv $SONG song$NUM.mp3
let NUM=NUM+1
done
mv $SONG song$NUM.mp3 in any way you like. But Remember the second argument to the mv command must vary for each loop, otherwise you will end up deleting all files except the last one.
Though I specified this as ubuntu problem in title, it the problem of alsa; it's not recognizing your device.
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils \
"pulseaudio-*"
sudo apt-get install linux-sound-base alsa-base alsa-utils \
libasound2-plugins "pulseaudio-*" paman padevchooser \
paprefs pavucontrol pavumeter
cat filename | grep "phrase"cat filename | grep -v "phrase"cat filename | grep "phrase1\|phrase2"sed -i "s/phrase1/phrase2/g" ./filenamesed -i "s/[ ]*\(.*\)[ ]*/\1/g" ./filenameawk '{if($7=="2") $7="5"; print;}' fileuptime | awk 'BEGIN {FS=" "} { gsub(",",""); if (index($0,"day")) {gsub(":"," hours, ",$5);print $3" "$4", "$5" minutes"} else {gsub(":"," hours, ",$3); print $3" minutes"}}'ls | grep -v 'file or folder or regex' | xargs -I{} mv {} /target/folder/sudo sh -c "apt-get -y remove gedit && apt-get -y install scite"
sudo update-alternatives --install /usr/bin/gnome-text-editor \
gnome-text-editor /usr/share/scite 1
dpkg -i ./path/to/websms_1.01_all.debapt-get install googlizerThe core thing that the googlizer does is just copies the text in X'selection and appends it to the end of the link that you provide, and finally opens it in Browser. If you do not provide any link then it uses "http://www.google.com/search?q=".