How to Create Swap Partition in Linux

April 5th, 2016 by usage | 0 | Full Post

How to Create Swap Partition in Linux Result Edit the /etc/fstab, and the following entry.   Source: http://www.webtrafficexchange.com/solved-mysql-crash-fatal-error-cannot-allocate-memory-buffer-pool count= was supposed to be K, but in the article it’s in MB






df

March 27th, 2016 by usage | 0 | Full Post

Show free disk space Show how many inodes are available  






md5deep – How to Calculate MD5 checksum of a Directory

December 17th, 2014 by usage | 0 | Full Post

  Related http://www.linuxquestions.org/questions/linux-software-2/how-to-create-md5sum-for-a-directory-689242/






mytop

October 5th, 2014 by usage | 0 | Full Post

Mytop is one of my classic open source and free console-based (non-gui) monitoring tool for MySQL database was written by Jereme Zawodny using Per. You’ll be asked to enter a password   related: http://www.tecmint.com/mytop-mysql-database-monitoring-in-rhel-centos-fedora/






truncate

August 7th, 2014 by usage | 0 | Full Post

How to reduce file size by truncating it truncate -s 0 {filename.txt} src: http://www.cyberciti.biz/faq/truncate-large-text-file-in-unix-linux/






find

January 25th, 2014 by usage | 0 | Full Post

How to find files larger than 25MB in linux find / -type f -size +25000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ Credit: http://www.cyberciti.biz/faq/find-large-files-linux/ http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/  






zip

January 19th, 2014 by usage | 0 | Full Post

How to create a zip archive zip -r9 content.zip folder_to_zip/ -r is for recursive -9 is for maximum compression






gzip

January 19th, 2014 by usage | 0 | Full Post

How to gz compress a file without deleting the original. gzip < file > file.gz credit: http://unix.stackexchange.com/questions/46786/how-to-tell-gzip-to-keep-original-file






process memory usage

March 18th, 2013 by usage | 0 | Full Post

ps -e -o pid,vsz,comm= | sort -n -k 2 http://superuser.com/questions/398862/linux-find-out-what-process-is-using-all-the-ram






svn

September 20th, 2011 by usage | 0 | Full Post

Subversion  is  a  version  control  system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS.   Subversion  keeps  a single  copy  of the master sources.  This copy is called the source “repository”; it contains all […]