Categories
Tags
Tag Archives: command line
Checking response headers using the command line (console)
Use the command below to view the response headers for a given URL. The “–spider” option in the call prevents wget from actually downloading the page/file; it just checks that it exists and returns the headers. References http://www.gnu.org/software/wget/manual/html_node/Download-Options.html
Memory: Clearing the cache
> sync > echo 3 > /proc/sys/vm/drop_caches