Skip to content
Archive of posts tagged bash

On screen display of a command

Bookmark this category delay: 2d On screen display of a command. $ date|osd_cat This is very useful if you need to show someone some text from a distance. (Like someone standing over your shoulder…) I\’d recommend aliasing it to something like: alias osd_cat=\”osd_cat -o 400 -s 8 -c blue -d 60 -f osd_cat -f -*-bitstream [...]

Get list of git repositories from command line.

Earlier I had posted a small blog on teamgit. The problem still is that you have to manually go to the git.kernel.org page and get the list of the repo\’s that you can download. How about a command line to get the same. Here\’s one: wget -O – http://git.kernel.org |grep \”class=.list.\” |grep -v title|awk -F\’>\’ [...]

Change user, assume environment, stay in current dir

Bookmark this category Change user, assume environment, stay in current dir $ su — user I\’ve used this a number of times troubleshooting user permissions. Instead of just \’su – user\’ you can throw another hyphen and stay in the original directory. * View this command to comment, vote or add to favourites * View [...]