3Oct/120
shell: how to find files matching multiple name patterns
below command will help you find files with multiple name patterns
find /location -name "name_pattern" -o -name "other_pattern"
please note, -o parameter can be replaced with -or instead
1Sep/120
debian: how to synchronize time with ntp server
install ntpdate package
apt-get install ntpdate
issue ntpdate command
ntpdate pool.ntp.org
28Aug/120
debian: how to remove broken package
if you are struggling with broken package on debian follow instructions below:
manually remove package
cd /var/lib/dpkg/info sudo rm <package_name>
use dpkd to remove the package
sudo dpkg --remove --force-remove-reinstreq <package_name> sudo dpkg --purge <package_name>
and you are done !