Some Bash commands to simplify certain Apache operations in Ubuntu
To install, clone this repository, then add the following into your ~/.bashrc
source /path/to/apache.sh
replacing "/path/to" with the actual file path
- Apache commands
httpHeaders
- get HTTP headers for a remote web page- argument $@ web page URL
- Usage example:
httpHeaders text.example.com
httpDebug
- download a remote web page and show info on what took time- argument $@ web page URL
- Usage example:
httpDebug text.example.com
display_errors_on
- turn display errors on in php.inidisplay_errors_off
- turn display errors off in php.ini