-l hello “hello world”
$0 $1 $2 $3
i don,t understand these symole in shell..
-l hello “hello world”
$0 $1 $2 $3
i don,t understand these symole in shell..
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
$0-executable file name(its tells ur file name which u currently used)
$1,$2:no of commands/parameter
such as if we type a sentence”hello world”
here hello is rep. $1
nd world is rep. $2
three more commands r also used………..
$#:list of parameter(its tells how many parameter we used or simply count the parameter)
$@:string in double quotes………..
$*:parameters(such in above example hello hello world..
both $* and $@ O/p is same so nowdays $@ is not widely used…….