what do u mean by $#,$* in unix programming?

Answer Posted / satyabrata

$# it contains the no of positional parameters
$* it contains all positional parameters as a single string

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell application?

550


What does .sh file contain?

533


What is mac default shell?

592


What can scripts do?

646


Write down the syntax for all the loops in shell scripting.

638






What is the use of .sh file?

583


How do I run a .sh file?

590


How would you compare the strings in a shell script?

523


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

2207


What is inside a seashell?

619


What command needs to be used to take the backup?

513


What is path variable bash?

548


What is a beat in a script?

521


State the advantages of shell scripting?

577


How do you create a shortcut in linux?

565