Feeds:
Posts
Comments

Archive for the ‘linux’ Category

bash has a great feature called dynamic-complete-history that will allow you to complete text at point with contents from your bash history list. examine the following workflow : $ touch file1.txt file-with-a-long-name.txt file3.txt $ some commands $ some more commands $ change directory $ touch file… at this point you want to type touch file-with-a-long-name.txt [...]

Read Full Post »

guys when i run a code i get a lot of text dump on the console so i m in the habbit of issuing “tmux clearhist && ./a.out” so that when i scroll back i only see dump pertaining to only the current execution of a.out . turns out that this interacts weirdly with the [...]

Read Full Post »

there have been some situations where i needed a custom grid on a 2-dimensional plot in gnuplot instead of a regularly placed grid. in order for me to set up a customized grid i have to first set up a customised xtics and/or ytics. gnuplot does provide a way of providing user preferred tics by [...]

Read Full Post »

better bash history

let me first describe the problem that way annoying me for a long long long time. i use tmux and do my compiling and coding in one window and then many a times i need to open a new window to do some other stuff. the problem i face is that the bash commands that [...]

Read Full Post »

make sure that your ~/.Xresources file contains the following line

Read Full Post »

urxvt-tabbed

am having a lot of fun experimenting with archlinux and learning the proper way to approach linux … the arch philosophy.  so far i have had lots of fun learning various things about the way linux operates … the archwiki is a wonderful place to learn about so many things … the #archlinux irc channel [...]

Read Full Post »

gnuplot annoyance

i hate myself for writing that post title… the joy of free/libre software should muffle any feeling of annoyance or hatred towards a software, so i apologize in advance. anyways… i wonder why the following does not work in gnuplot while the following does why should the order be important? i m sure it has [...]

Read Full Post »

bash has emacs key binding if you need to navigate around the current command and edit it … most novices ( that includes me as well) use the arrow keys to navigate and fix the errors or change the commands however i watched a nice screen cast on bash command line editing which explained how [...]

Read Full Post »

emacs cpu hog

i m on ubuntu 8.04 ( hardy heron ) and every once in a while emacs freezes … i use htop to find out that emacs and X are hogging up cpu cycles … when i kill emacs it all returns to normal. some times i see the same thing happening when i have firefox [...]

Read Full Post »

this pertains to ubuntu 8.04 hardy heron though it might work for others too. the problem:: the dhcp client renews the resolv.conf file to the following domain cc.iitk.ac.in junta.iitk.ac.in .iitk.ac.in nameserver 172.31.1.1 nameserver 172.31.1.130 though i want it to read domain cc.iitk.ac.in junta.iitk.ac.in .iitk.ac.in nameserver 172.31.1.130 nameserver 172.31.1.1 notice the order of the nameservers have [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.