Command-line interface

bash script to run a command and take screenshot in every loop.

2010/09/24

Couple of days back, I had posted a command to display a stop timer with bash and echo. There I had also put the following gif file: <img class="size-medium wp-image-2555" …

cURL – Tutorial

2010/09/15

Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful. http://curl.haxx.se/docs/httpscripting.html …

Use the last command\’s output as input to a command without piping and bind to it to a key sequence in bash.

2010/09/01

Use the last command&#8217;s output as input to a command without piping and bind to it to a key sequence in <a class="zem_slink" title="Bash (Unix shell)" …

Typing the current date automaticly in any application with a key binding.

2010/07/20

$ xvkbd -xsendevent -text $(date +%Y%m%d) I don&#8217;t want to waste time to all the time type the current date. I have set this snippet in my kde shortcuts with meta+l. All the <a …

Magic space on the current command line

2010/06/25

# For how to set up magic space for Bash see: # – http://www.ukuug.org/events/linux2003/papers/bash_tips/#slide15 # – http://codesnippets.joyent.com/posts/show/1690 man bash 2>/dev/null | less -p …

wmctrl – window control manager

2010/06/16

What is <a class="zem_slink freebase/en/wmctrl" title="Wmctrl" rel="wikipedia" href="http://en.wikipedia.org/wiki/Wmctrl">wmctrl? wmctrl is a command that …

Verify all the paths in the PATH directory

2010/06/08

Here is the command to test that all the directories in your path actually exist. […] (<a class="zem_slink freebase/en/internal_field_separator" title="Internal field …

command not found – packagekit plugin

2010/05/27

If you run into problems where you run some command and the command is not found and you have to install it and run the program again then why not use the command not found <a class="zem_slink …

Find out why a program can’t seem to access to a file

2010/05/05

$ strace php tias.php -e open,access 2>&1 | <a class="zem_slink freebase/en/grep" href="http://en.wikipedia.org/wiki/Grep" title="Grep" …

vim understanding the various modes and using the yanking more efficiently.

2010/04/06

We will look at the vim modes today. Sometime back , I was looking at copying a function body. So I was basically looking to copy the lines till matching &#8221;}&#8221;. I found a plugin …

whohas

2010/01/16

Example output for

Display the output of a command from the first line until the first instance of a regular expression.

2010/01/04

| perl -n -e 'print "$_" if 1 … /«a class="zem_slink freebase/en/regular_expression" title="Regular expression" rel="wikipedia" …


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