Get header information with cURL
There are many online tools where you can test your website's headers. But there is a simply way to check the headers for one site with a local tool - cURL. cURL (Client URL) is a tool for transferring information…
There are many online tools where you can test your website's headers. But there is a simply way to check the headers for one site with a local tool - cURL. cURL (Client URL) is a tool for transferring information…
There are many situations when you might want to search for specific words in files. This can be obtained with the use of the Linux grep utility. With the grep utility you can search in a single file, but you…
wc is a Linux utility that allows you to get details about files - like how many lines, words etc a file has. The most useful options of the command are: -w, --words prints the number of worlds -l, --lines…
Do you want to block access to your site outside of working hours or on specific days? We'll show you how to accomplish this. To prevent access on specific days of the week, use: # prevent access on specific days…
When creating websites, you may need to modify the timezone for Apache/PHP. There are two ways - you can set the timezone in the .hatccess file or in a PHP file (index.php or another file that will be loaded first).…
Many times, the Linux distributions you are using choose to not update the software you are using (in our case, nano) to the latest version. This in most cases because of security concerns. For example, in our case, the latest…