GNU Screen - Dynamic Window Titles, etc - tmux after this

So in one of my previous posts I told you about terminal multiplexing and also mentioned how cool it was. Now is the time to introduce you to GNU Screen. The wikipedia page is a good introduction already. But I should talk about it from my point of view, about how I use it. To be honest, if I knew of the abilities of tmux at the time I got to know about screen, I would have just started using tmux. It isn’t too hard to switch though. It would just take a day or two of getting used to the new short cuts. Or you could go ahead and manually configure your shortcuts to keep you happy. ...

February 2, 2014 · 7 min · 1451 words

BASH - keymap and binding

Hello there folks! I have been using [BASH](http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) for quite a long time. Yet I feel like there is a lot that I don’t know. The irony is that I am doing the BASH and Linux Basics training for new hires at my firm. I am not that bad, you see. It is just that there is so much to know. And I am never happy with what I know. ...

January 26, 2014 · 3 min · 571 words · eakangk

Bash v/s Cshell - Functions and their definitions - useful 'type' keyword

Hey if you have worked on Linux then you have interacted with bash. Maybe not. But it is mostly likely that your default shell is bash. I’m not surprised. I’m among the few people on this planet who regularly interacts with cshell also. Thanks to the kind of work I do. One great feature of bash that I miss in cshell is: Functions. Surprised? Cshell doesn’t support functions. It doesn’t have any concept of function. If you wanted to simulate a function, you have to write another cshell script that does what your function would do and define an alias that calls it. ...

June 9, 2013 · 3 min · 460 words

xargs saved my day

So I was doing my regular job, writing new queries to test out my team’s new databases on Vertica. And suddenly my senior manager sends out an email to all in the team asking an estimated disk space requirement for each of our work. I had to find out how much space the raw data files for a complete history that were used to load my databases occupy on disk. ...

February 6, 2013 · 6 min · 1112 words