$ tar -xvf {tarball.tar} {path/to/file}
$ tar -zxvf tarball.tar.gz etc/some/file
$ tar -xvjf tarball.tar.bz2 etc/some/file <- did not work, (extracted whole archive)
Login as root and type the following command # /etc/init.d/httpd reload OR # apachectl -k graceful This is also known as gracefully restarting the Apache httpd daemon. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them.
//JQuery falovered , adds the Authorization headers to each Ajax request - I store them in local storage
$.ajaxPrefilter(function( options ) {
if (options.beforeSend) {
options.beforeSend = function (xhr) {
xhr.setRequestHeader('Authorization', 'Bearer '+localStorage.getItem('token'));
}
}
});