Category : Linux/Unix

How to Create Swap Partition in Linux

April 5th, 2016 by usage | 0

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

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

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

mytop

October 5th, 2014 by usage | 0

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

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

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

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

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

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

convert

April 24th, 2011 by usage | 0

convert – convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.