Kwissle

My real-time quiz battle game Kwissle.com

Crosstips.org

My fun Crossword solver project. Crosstips.org & Krysstips.se

Kung Fu

Fujian White Crane Kung Fu

Photos

Photoalbum, both old and new.

Twitter

Follow me on Twitter

Contact me

My contact details and how to contact me.

 

KungFuPeople.com
Do you train Kung Fu?
Or know someone who does?
Then check out KungFuPeople.com


Mobile version of this page Mobile version of this page


 
Linux

type - Writing shell scripts

http://linuxcommand.org/writing_shell_scripts.php

28th of April 2006

I've started skimming through the lovely Writing shell scripts tutorial and even though I'm just in the beginning of it I've already learnt one very useful thing: the type program. With it you can find out "what type of command it is". This is useful because sometimes you want to know where some command is coming from. I'll let this example explain its usage:

 peterbe@trillian:~ $ type jed
 jed is /usr/bin/jed
 peterbe@trillian:~ $ type cvs_commit 
 cvs_commit is /home/peterbe/bin/cvs_commit
 peterbe@trillian:~ $ type alias
 alias is a shell builtin
 peterbe@trillian:~ $ type sjed
 sjed is aliased to `sudo jed'

I'll read more of this after the weekend.



Comment

Anonymous - 27th August 2006  [«« Reply to this]
what will i say to u. it is only a task and nothing else
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.