Monday, April 2, 2018

Finding files by size in unix

$ find /tmp/  -size +500M

The above command finds files larger than 500MB sizes

$ find /tmp/  -size +500M -size -2GB -exec du -sh {} \;

It finds files that are between 500MB and 2GB sizes and run du -sh command on each file to see the sizes

Saturday, February 17, 2018

Chinna Kannan Azhaikkiraan Song Keyboard Notes

Chinna    Kannan    Azhaikkiraan 
C  D#      D  D#       F  A#A# C

Raathaiyai    Poongothaiyai 
A#  F G        FG A# F G

Aval     Manamkonda   Ragasiya    Raagathai    Paadi 
D F#    G F  G F           G F G F      D F G F       D# DC

Kangal   Solkindra   Kavithai
BC C      C C  D       A# A# C

Ilam       Vayathil     Ethanai    Kodi......
A# A#    C D D#      A# A#      C D D# D C

Enrum   Kathalai    Kondadum   Kaviyame 


Puthumai   Malarum    Inimai 


Antha   Mayakkathil    Inaivathu    Uravukku   Perumai 

Wednesday, January 10, 2018

To see the number of CPU in Linux server

lscpu - command will display the configuration of the current linux system


$ lscpu

Also if you want only the CPU and core list, you can run below command


$ lscpu | egrep '^Thread|^Core|^Socket|^CPU\('

It will display output like below

CPU(s):                8
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1


Thursday, August 10, 2017

Germaniyin Senthen Malare Song Keyboard Notes

Germaniyin Senthen Malare - Ullaasa Paravaigal

Germaniyin  Senthen  Malare
G C G A       C BA        G F E

Thamizh  Magalin  Ponne   Silaiye
G G         C G A     C BA     G F E

Kaadhal   Dhaevadhaiye...
FG F        ED E F FG

Kaadhal   Dhaevadhai   Paarvai   Kandadhil
FG F        ED E F           FG F       ED D E

Naan  Enai   Marandhaen
ED      EED    D E EC

Friday, July 28, 2017

Top command in unix

$ top

It will show the usage of physical, virtual memory, CPU usage, load averages and the running processes

$ top -M

This -M option will display in memory in mb/gb format

List Directory size in ascending/descending order in unix

$ du -sh *

The above command will list all the directories with size

$ du -sh * | sort -h

It will list all the directories with size in ascending order

$ du -sh * | sort -h -r

It will list all the directories with size in desccending order


Thursday, July 20, 2017

Clear/Delete Browsing history in IE, Chrome, Firefox

Clear/Delete Browsing history in IE, Chrome, Firefox

To delete browsing history in browser just press CTRL + SHIFT + DEL button. It will open popup window to select the items to clear from your browser history.