Mobile version of this page
Previous:
Helpdeskshow - a quick review
Next:
Private functions in Javascript?
ztar - my wrapper on tar -z
Good posture website
pwdf - a mix of ls and pwd
Catching a carriage return in bash
Read in passwords with bash
Geeking with Eterm and Tkinter
Helpdeskshow - a quick review
Next:
Private functions in Javascript?
Related blogs
File check before deleteztar - my wrapper on tar -z
Good posture website
pwdf - a mix of ls and pwd
Catching a carriage return in bash
Read in passwords with bash
Geeking with Eterm and Tkinter
Related by category
type - Writing shell scripts
http://linuxcommand.org/writing_shell_scripts.phpshell scripts tutorial, shell builtin, type program, shell, tutorial, bash
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.







Save this page in del.icio.us
what will i say to u. it is only a task and nothing else