Edit this file with Vi
# vi /etc/TIMEZONE
Change TZ=US/Eastern or US/Central or etc...
The futime zones are listed in /usr/share/lib/zoneinfo
Have a nice Day!
Monday, April 25, 2011
Flush DNS in Windows/Linux/Solaris
In Microsoft Windows:
run this command from dos prompt C:> ipconfig /flushdns
In Linux
Login as root and run this command # /etc/init.d/nscd restart
If you find dnsmasq dns cache, then use this command also:
/etc/init.d/dnsmasq restart
In Solaris
Login as root
Check PID using : ps -ef : grep nscd
Kill it using : pkillor kill
and restart the nscd daemon with : /usr/sbin/nscd
To verify for the running process use : ps -ef : grep nscd
Have a nice day!
run this command from dos prompt C:> ipconfig /flushdns
In Linux
Login as root and run this command # /etc/init.d/nscd restart
If you find dnsmasq dns cache, then use this command also:
/etc/init.d/dnsmasq restart
In Solaris
Login as root
Check PID using : ps -ef : grep nscd
Kill it using : pkill
and restart the nscd daemon with : /usr/sbin/nscd
To verify for the running process use : ps -ef : grep nscd
Have a nice day!
Subscribe to:
Posts (Atom)