Useful Linux Commands

I guess it is all part of getting old. I just cannot remember those linux short-cut keys which I found so useful last time. I have been scratching my head to try to recall how to get to the end of the file from vi… (this is sometimes useful when you are dealing with a very large file).. but I just cannot. Darn.

So decided to keep another on-going blog-post whenever I discover something useful. :P Sigh… now I am becoming like my Kuma. Need to take notes liaoz…

Splitting Large Log files into smaller more manageable ones

When-to-use: When you vi just hangs there and does not respond when you try to open the file

split –bytes=50m catalina.out catalina_small_

VIM: going to the end of the file.

Ctrl + G

Leave a Reply

You must be logged in to post a comment.