Quote of the day (06.17.14)
The grass ain't always greener on the other side, it's green where you water it. ~ As Long As You Love Me (song) by way of Neil Barringham ...
The grass ain't always greener on the other side, it's green where you water it. ~ As Long As You Love Me (song) by way of Neil Barringham ...
...Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the 'present'. ~ Kung Fu Panda (movie) by way of Alice Morse Earle ...
A true leader has the confidence to stand alone, the courage to make tough decisions, and the compassion to listen to the needs of others. He does not set out to be a leader, but becomes one by the equality of his actions and the...
Think twice before you speak, because your words and influence will plant the seed of either success or failure in the mind of another. ~ Napoleon Hill ...
Just some commands that I found useful since using Linux: http://mysql-apache-php.com/ Above is a good link to get a web server up and running. /etc/init.d/apache2 start - start apache services /etc/init.d/apache2 stop - stop apache services /etc/init.d/apache2 restart - restart apache services apt-get install <package> - install packages apt-get upgrade - upgrade...
Here is an example of a loop that will compress and send how ever many files are found to another server. !/bin/bash first_list='/ [path] / [to] / [files] / *.*' for raw in $first_list do gzip -9 $raw done second_list='/ [path] / [to] / [files] / *.gz' for gz in $second_list do scp $gz [user]...
Here is a breakdown of some iptable commands. udp - User Datagram Protocol (streams without checking) tcp - Transmission Control Protocol (checks if destination is available) # input and output commands -A OUTPUT -d [IP ADDRESS] -o eth0 -p tcp --dport [DESTINATION PORT NUMBER] -j ACCEPT -A INPUT -d [IP...
Here is a breakdown of the crontab structure (remember to check env to see if parameters need to be set) * * * * * | | | | | | | | | +----- day of week (0 - 6) (Sunday=0) | | | +------- month (1 - 12) | | +--------- day of...