What does $# in unix mean? | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


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

What does $# in unix mean?

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-21-2008
tadip18 tadip18 is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 21 August 2008, 10:35 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
What does $# in unix mean?

I am a beginner to unix. What does $# in unix mean?

-Harry
Sponsored Links
    #2  
Old 08-21-2008
vidyadhar85's Avatar
vidyadhar85 vidyadhar85 is offline Forum Advisor  
The Tutor
 
Join Date: Jun 2008
Last Activity: 9 April 2014, 1:31 AM EDT
Location: INDIA, Bangalore
Posts: 2,049
Thanks: 16
Thanked 106 Times in 102 Posts
its the no of arguments passed to a script..
Sponsored Links
    #3  
Old 08-25-2008
broli's Avatar
broli broli is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 23 July 2014, 5:32 PM EDT
Location: Argentina
Posts: 219
Thanks: 0
Thanked 0 Times in 0 Posts
this will of great help
Internal Variables
Special Characters
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How does unix system administration, unix programming, unix network programming differ? thulasidharan2k UNIX for Dummies Questions & Answers 0 06-09-2011 09:40 AM
Running UNIX commands remotely in Windows box from Unix box avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 05:24 AM
Unix History Question: Why are filenames/dirnames case sentsitive in Unix? deckard UNIX for Dummies Questions & Answers 3 03-26-2005 12:59 PM



All times are GMT -4. The time now is 11:27 AM.