Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh my god! How did I not know about this! Thank you! Are there any other useful tips like this one?




You are most welcome. Probably hundreds but I don't know what you don't know. It's worth learning some old-school command-line history fu as well because that is often useful. I've written up some things I have found helpful here[1]

One thing which is not in the writeup but should be (and I mention it in a sibling thread) is "rlwrap" which is a readline wrapper which imbues whatever program with readline editing and history niceness.

So say you have to use some crufty cli like a sql cli or something that doesn't have commandline editing or history. You run "rlwrap horrible_sql_cli" aaand now it does. Really helpful.

[1] https://www.uncarved.com/articles/unix/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: