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.

Nee Paartha Paarvaikkoru Nandri Song Piano Notes

Nee Paartha Paarvaikkoru Nandri Song Piano Notes


Nee Paartha Paarvaikkoru Nandri

G     G G       G D# D D#    C F

Namai Sertha Iravukkoru   Nandri

G G     G G     G D# D D#    C F

Ayaradha  Ilamai Sollum Nandri Nandri

C C C C   C C C   C D#   D A#    F G

Akalatha Ninaivu Sollum Nandri Nandri

C C C C   C C C   C D#   D A#    F G

Uyire   Vaaa

G G# A#    BA#

Mouna Ragam BGM Piano Notes

Mouna Ragam BGM Piano Notes

D5# G4 G4# G4
D5 G4 D5# G4
E5 E4 A4 E4 B4 E4 C5 E4

D5# G4 G4# G4
D5 G4 D5# G4
E5 E4 A4 E4 B4 E4 C5 E4

D5 F4 G5 F4
D5   G4 B4 C4     E4 F4 E4
C5   F4 A4 A4#    D4 D4# D4
B4   D4 D4# D4

F4 D4   G4 D4    A4 D4
G4 A4   A4# C5  D5 D5#

G4# G4

D5 G4   D5# G4
E5 E4   A4 E4   B4 E4   C5 E4 

Saturday, April 22, 2017

Kooda mela Kooda vachu Song Keyboad Notes

Koodamela Kooda Vechu Koodalooru Poravale

E G F# G    F# E    E E     D E F# E     D C B E

Un  Kooda Konjam Naanum Vaaren Kootikittu   Pona Yenna

EE  E G     F# G     F# E       E E      D E F# E   D C    B E 

Othayila  Neeyum Pona  Athu  Nyaayama

B B B E  E E        E E     D E   F# E D  

Unnudane  Naanum  Varen  Oru   Orama

B B B E     E E          E E      D E   F# E D

Nee Vaayennu Sonnalae Vaazhvaene Aatharama

B     B C A        A B G      G A G           F# G F# E

Nee Venaanu Sonnaale Povendi   Seythaarama

B      B C A     A B G       G A G      F# G F# E


Wednesday, September 14, 2016

Find all files containing given string in unix

$ grep -r  "string to search"  /directoryPath

It will list all the files which contains given search string under the directory 

Tuesday, September 13, 2016

List TAR file content without extracting in unix

$ tar -tf  filename.tar

If TAR contains more files and directories, you can use "less" option for easier viewing

$ tar -tf  filename.tar | less

If you wish to see file directory information then you can use "tvf" option

$ tar -tvf  filename.tar | less

Friday, September 9, 2016

vi editor copy, paste and new line

Copy and paste command in vi editor

yy - It will copy the entire line
p - It will paste the copied line after current line
P - It will paste the copied line before current line


Create new blank line in vi editor

o - It will open new line after the current line
O - It will open new line before the current line

Thursday, September 8, 2016

Friday, September 2, 2016

Creating directory trees in unix

$ mkdir -p /test1/test2/test3

It will create directory trees like below

$ cd /test1/test2/test3
$ pwd
/test1/test2/test3

Thursday, September 1, 2016

Wednesday, August 31, 2016

Display line numbers in a file

$ cat -n filename.txt

It will display line numbers on the left hand side for each line in a file


If you want to display line numbers in vi editor

$ vi +linenumber filename.txt

In command mode you just type :set nu to display line numbers