Command-line interface

using `!#$’ to referance backward-word

2011/11/03

Image by jeffalldridge via Flickr […] Here is something that I found on the commandlinefu cp /work/host/phone/ui/main.cpp !#$:s/host/target Ah well…its very interesting and very useful. Some …

Compare files excluding certain lines.

2011/10/18

Quick tip, you can use any expression for the sed commands in the (). With this trick you can redirect the stdout of 2 commands to the diff command. This might become very useful, if you want to …

Thumbnail

Introducing /run – what is this directory doing in my root directory?

2011/04/13

Image via Wikipedia […] http://lwn.net/Articles/436012/ There is a suggestion to add /run directory that will be mounted as tmpfs. This directory will be mounted early in the boot process and …

some bash exercise for you

2011/02/15

Here is some teaser for you, can you figure out how this works:

shopt causes bash completion to stop working.

2011/01/25

Couple of days, I added some scripts to my bash startup and suddenly realized that bash completions stopped working. This is tricky situation in bash to figure out what went wrong. So, I set my foot …

Shell Scripting

2011/01/05

Here are some links for bash programming that you may find useful. http://tips-linux.net/en/content/pro-bash-programming http://tips-linux.net/en/content/expert-shell-scripting …

Thumbnail

Empty a file

2010/12/26

<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a …

Thumbnail

Bash Script Beautifier

2010/12/23

<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a …

Make any command read line enabled (on *nix)

2010/11/25

Make any command read line enabled (on *nix) […] <td> <div class="text codecolorer"> rlwrap sqlite3 database.db </div> </td> </tr> Enable readline even …

Broadcast your shell thru port 5000

2010/11/20

Broadcast your shell thru port 5000 […] <td> <div class="text codecolorer"> mkfifo /tmp/fifo;(nc -q0 -l 5000 < /tmp/fifo &);script -f /tmp/fifo </div> …

Screen enable/disable logging in all windows

2010/11/19

If you use screen command a lot then this is something that you will like 🙂 Screen enable/disable loggin in all windows […] <td> <div class="text codecolorer"> bindkey ^l …

Browser Conkeror – fast, versatile, easy and configurable

2010/10/20

Conkeror is a browser that uses XULRunner and is a highly configurable and programmable browser. Here is the description of the browser from the homepage: […] Conkeror is a keyboard-oriented, …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it