Here is how you can get the HTTP status code of a URL : Sample output :
Archive for the ‘tips & tricks’ Category
This is very useful if you have a server with multiple IPs configured on it and you want to make sure the an IP is working : You may also use the option -I 70.134.17.9 ( replace the IP address with your actual IP address ) and you will get the same output.
Mount /tmp and /var/tmp with no exec
Posted: 12th April 2010 by BritishSongWriter in gentoo, tips & tricksWe create some files that we'll use to mount at /tmp and /var/tmp. I've installed bind in a chrooted environment, so to keep things simple, the chosen location of the files which will be mounted is /chroot. Create 100MB file for our /tmp partition. If you need more space, make count size larger. Create 1000MB [...]