my fav handy-tools for bash

Here I go to share my favorite handy tools with you all. I basically lazy and wish to be always.So here goes my tools make your life too.

Issue:

I miss my favorite commands/shortcuts :

kesavan@kesavan-Ideapad-Z460:~$ lsn
bash: lsn: command not found
kesavan@kesavan-Ideapad-Z460:~$ LS
bash: LS: command not found

Solution:

Download latest .profile.open & .vimrc from kesavanm – handytool – GitHub

kesavan@kesavan-Ideapad-Z460:~$ wget https://raw.githubusercontent.com/kesavanm/handy-tools/master/.profile.open
--2015-03-06 18:34:08--  https://raw.githubusercontent.com/kesavanm/handy-tools/master/.profile.open
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.40.133, 23.235.46.133, 23.235.37.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11796 (12K) [text/plain]
Saving to: ‘.profile.open’
100%[==============================================================================================================================>] 11,796      --.-K/s   in 0.01s   
2015-03-06 18:34:08 (1.01 MB/s) - ‘.profile.open’ saved [11796/11796]
kesavan@kesavan-Ideapad-Z460:~$ wget https://raw.githubusercontent.com/kesavanm/handy-tools/master/.vimrc
--2015-03-06 18:40:32--  https://raw.githubusercontent.com/kesavanm/handy-tools/master/.vimrc
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.40.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 776 [text/plain]
Saving to: ‘.vimrc’
100%[==============================================================================================================================>]  776         --.-K/s   in 0s      
2015-03-06 18:40:32 (23.6 MB/s) - ‘.vimrc’ saved [776/776]

Move to your bin

kesavan@kesavan-Ideapad-Z460:~$ cd bin/  

Download latest .todo & .todo_list under your bin  from kesavanm – handytool – GitHub

kesavan@kesavan-Ideapad-Z460:~$ wget https://raw.githubusercontent.com/kesavanm/handy-tools/master/.todo
--2015-03-06 18:44:48--  https://raw.githubusercontent.com/kesavanm/handy-tools/master/.todo
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.44.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.44.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1595 (1.6K) [text/plain]
Saving to: ‘.todo’
100%[==============================================================================================================================>]  1,595       --.-K/s   in 0s      
2015-03-06 18:44:48 (35.3 MB/s) - ‘.todo’ saved [1595/1595]
kesavan@kesavan-Ideapad-Z460:~/bin$ wget https://raw.githubusercontent.com/kesavanm/handy-tools/master/.todo_list
--2015-03-06 18:45:01--  https://raw.githubusercontent.com/kesavanm/handy-tools/master/.todo_list
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.44.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.44.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43 [text/plain]
Saving to: ‘.todo_list’
100%[==============================================================================================================================>]  43          --.-K/s   in 0s      
2015-03-06 18:45:01 (1.99 MB/s) - ‘.todo_list’ saved [43/43]

Edit .profile to include .profile.open

kesavan@kesavan-Ideapad-Z460:~$ vim .profile

Give permissions too :

kesavan@kesavan-Ideapad-Z460:~$ chmod +wx ~/bin/.todo

You’re done! Just start action.

kesavan@kesavan-Ideapad-Z460:~$ source .profile
Be lazy
Be always double lazy
Your #TODO action(s)
1: watch movie
2: have dinner
kesavan@kesavan-Ideapad-Z460:~$

WOW ! I got it.

kesavan@kesavan-Ideapad-Z460:~$ lsn
total 404
775 drwxrwxr-x 2 kesavan kesavan   4096 Jan 25 20:46 bin
755 drwxr-xr-x 3 kesavan kesavan   4096 Mar  3 07:55 Desktop
755 drwxr-xr-x 3 kesavan kesavan   4096 Feb 22 22:59 Documents
755 drwxr-xr-x 8 kesavan kesavan  20480 Mar  6 15:10 Downloads
755 drwxr-xr-x 9 kesavan kesavan   4096 Jan 27 19:26 firefox
755 drwxr-xr-x 2 kesavan kesavan   4096 Jan 25 15:55 fontconfig
664 -rw-rw-r-- 1 kesavan kesavan 329502 Dec 14 18:45 indexer.htm
755 drwxr-xr-x 2 kesavan kesavan   4096 Apr  1  2014 Music
775 drwxrwxr-x 3 kesavan kesavan   4096 Dec 27 16:41 OpenELEC-RPi.arm-5.0.0
777 lrwxrwxrwx 1 kesavan kesavan     40 Jan 25 19:37 ownCloud -> /media/kesavan/Home-Old/kesavan/ownCloud
755 drwxr-xr-x 2 kesavan kesavan  12288 Mar  5 13:31 Pictures
755 drwxr-xr-x 2 kesavan kesavan   4096 Apr  1  2014 Public
755 drwxr-xr-x 2 kesavan kesavan   4096 Apr  1  2014 Templates
775 drwxrwxr-x 6 kesavan kesavan   4096 Dec 31 16:19 tmp
755 drwxr-xr-x 2 kesavan kesavan   4096 Aug 27  2014 Videos    
kesavan@kesavan-Ideapad-Z460:~$ LS Desktop
93M        Desktop
kesavan@kesavan-Ideapad-Z460:~$ LS Documents/
128K        Documents/
kesavan@kesavan-Ideapad-Z460:~$ LS Pictures
52M        Pictures
kesavan@kesavan-Ideapad-Z460:~$

Share me if you’ve any questions.

This entry was posted in gnu, linux, technology and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


1 × four =