You can flush your local DNS cache in Linux by following these easy steps:
1. Open your terminal to use the command line.
2. Log in as root using the su command:
3. Restart the name service cache daemon:
root@host: /etc/init.d/nscd restart
Please note that the name service cache deamon (nscd) may not be installed by default on your Linux distribution. You should be able to install it through the package manager of your distribution – yum f...
Q: I already enabled mod_rewrite in httpd.conf file on apache server, but .htaccess configuration is not working at all. How can i fix this problem?
Make sure AccessFileName set to .htaccess
Search httpd.conf for AccessFileName directive. It defines name of the distributed configuration file:
Make sure users are allowed to use .htaccess file
What you can put in these files is determined by the AllowOverride directive. This directive specifies, in categories, what directives will be...
URL FORWARDING RECORDS
URL Forwarding records are used to redirect domains to another URL. A common purpose is to point a domain to a website or page hosted elsewhere which usually has a longer URL such as http://www.myispsite.com/~myname.html. Keep in mind that the DATA part of the forwarding record must be a complete URL like...
vi and vim have powerful searching capabilities because they bring to bear the richness of regular expressions.
To search for the next occurence of the text ‘maybe’ from the current cursor position, type:
Search backward from the current position by using ? instead of / in the command.
Once you have searched for something, you can find the next occurrence by pressing n or the previous occurrence with N.
Searching in vi/vim is enhanced with regular expressions. For example, ...
Thank you for taking the time to visit my blog! Take a second to peek around and check out some of my previous posts. Of course, I would love to find out what you think as well, so make sure to comment. See you around!