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…
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…
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…
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…
control-a: to start control-e: to end alt-b: back a word alt-f: forward a word
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…
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 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…
LINUX – Remove empty lines – remove double returns NOTE TO SELF REMOVE NEW LINES (EMPTY LINES) command | egrep -v "^$" with sed find a line that starts with anRead More…
Raid Analysis Download the text file “raid analysis.txt” its below and download notepad++ and view the text file with notepad++, as it has a great feature of zooming out with the control key +Read More…
COPY OF SITE – I have an OCD thing about thinking peoples sites might be down one day, so I copy paste the material out, but I still give full credit whereRead More…