Version 2 can be found here: version2 (note version 2 isnt necessarily better, its just shorter) What is this? This is how you make a backup job with linux or windows (withRead More…
rsync – how to exclude
RSYNC EXCLUDE ############## Imagine the source /from folder looks like this where / is the real root of the filesytem * /from/folder1 <– this has lots of files & subfolders in itRead More…
Command not working with * because too many files/arguments – like rm
LINUX – rm not working – too many arguments – or any command not working with * because too many files/arguments FIRST MAKE SURE YOUR IN THE RIGHT FOLDER: cd /folder_which_will_have_everything_in_it_deleted DeletingRead More…
Daylight Saving Time – DST
daylight saving time note ########################## http://www.timeanddate.com/time/dst/2014.html http://www.timeanddate.com/time/dst/daylight-savings-time.html * “daylight saving time” is ON in the summer time * Easy to remember: day has light & summer has light (day and summer bothRead More…
COPY FILES LETTERS AT A TIME ( And find out their size ) – find – xargs – rsync – du – awk
COPY FILES LETTERS AT A TIME ( And find out their size ) ############################################################ Lets say your in a folder and you want to copy out every movie that begins with theRead More…
HOW TO CAPITILIZE, UPPERCASE, LOWERCASE HTML
HOW TO MAKE HTML TEXT UPPERCASE – CAN USE IN MOST HTML ######################################################## <style type="text/css"> <!– .allcaps { font-variant: small-caps; text-transform: uppercase; } –> </style> <p class="allcaps">This is all caps </> Read More…
BASH navigating around with control and alt on big or small command lines
control-a: to start control-e: to end alt-b: back a word alt-f: forward a word
GREP/FIND IPS IN A FILE – ALSO – HOW TO JOIN LINES WITH SPACE OR COMMAS
GREP/FIND IPS IN A FILE ######################## CITATION: http://www.unix.com/shell-programming-scripting/185469-grep-ip-address-file.html *** ANSWER – FIND IPS ANYWHERE IN A FILE (valid ips as i understand) – puts its finds on a new line – BESTRead More…
HOW TO INCREASE THE upload_max_filesize FOR php IN WORDPRESS or APACHE2 PROPERLY
The maximum size of an upload and maximum post size is not changed in wordpress settings but with php settings. PHP loads different settings for different programs/uses. PHP loads different php.ini inRead More…
resizing logical volume (lvm) and ext filesystem – ex: resize one filesystem and grow another
resizing logical volume and ext filesystem – by example: resize one filesystem and grow another HOW TO RESIZE VOLUME GROUPS ########################### GOOD LINKS: http://blog.shadypixel.com/how-to-shrink-an-lvm-volume-safely/ http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html http://www.techrepublic.com/blog/linux-and-open-source/how-to-use-logical-volume-manager-lvm-to-grow-etx4-file-systems-online/ WHAT I WILL DO: I willRead More…