Monthly Archives: September 2012

Robocopy – Automate Your Windows Copy

I backup my files regularly using the Windows scheduler. For example, several folders from my Windows preferences folder on drive C (C:\Users\dellxps\AppData\Roaming) to another drive, D:\Users\Ronald\AppData\Roaming. There is a built-in smart copier in Windows that not many people know about, … Continue reading

Posted in DOS, Operating System | Leave a comment

Displaying Linux Distro Version and Showing 32Bit or 64Bit OS

Checking whether you have 32bit linux or 64bit linux. From the code below we can see that it is a 64 bit linux. 12[user1@ubuntu 17:14:37 ~/dev]$ uname -mrs Linux 3.2.0-30-generic x86_64 Checking which distro you’re using: 123456[user1@ubuntu 17:14:48 ~/dev]$ lsb_release … Continue reading

Posted in Linux, Operating System | Leave a comment

Find and Replace File Content using Linux Command Line

1find . -name "*.pgsql" -print | xargs sed -i ‘s/STRINGTOREPLACE/REPLACERSTRING/g’

Posted in Linux, Operating System | Leave a comment