The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
read arguments from shell DNAx86 High Level Programming 1 05-11-2008 08:56 AM
read number of arguments in c shell skumar11 Shell Programming and Scripting 1 09-07-2007 01:11 PM
Bash: Reading 2 arguments from a command line Vozx Shell Programming and Scripting 0 12-08-2005 02:23 PM
Shell script with arguments sankar6254 Shell Programming and Scripting 3 12-22-2003 06:21 AM
Arguments to a shell program csvenkata UNIX for Advanced & Expert Users 3 10-23-2001 06:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-10-2008
Registered User
 

Join Date: Jan 2008
Posts: 69
Question Bash Shell - # of arguments

Hi!,

How can I check the number of arguments passed from the shell in a bash shell ?
Reply With Quote
Forum Sponsor
  #2  
Old 01-10-2008
Registered User
 

Join Date: Jul 2007
Posts: 93
one way
Code:
 echo $#
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0