Sponsored Content
Full Discussion: $$ and $#: what do they mean
Top Forums UNIX for Dummies Questions & Answers $$ and $#: what do they mean Post 302547130 by deb-_iem on Sunday 14th of August 2011 07:10:02 AM
Old 08-14-2011
Data $$ and $#: what do they mean

Hi,

I need to know what the below variables are used for in UNIX.
1.$$
2.$#
i am a newbie in UNIX and need to debug some shell scripts where i have spotted these. I am aware about the $? which gives the exit code of the last executed command but not the above two.

Regards,
Debo
 
installer(1M)						  System Administration Commands					     installer(1M)

NAME
installer - Solaris Web Start installer utility SYNOPSIS
installer [-locales list] [-nodisplay] [-noconsole] [-debug] DESCRIPTION
The installer utility invokes a Web Start install wizard sequence which will lead the user through a sequence of installation panels. This installer utility is found on many CDs that are shipped with Solaris and it will be found among the top level files of these CDs. When the installer is on a CD being accessed from a desktop file manager, the installer can be double clicked to start the installation sequence. If the user is not currently the system's root user, the root user password will be requested. The installer utility can also be run from other UNIX scripts. Usually, a script is used in conjunction with the utility's -nodis- play option. Add the -noconsole option for non-interactive scripts. OPTIONS
The following options are supported: -locales list Selects product translations for install, corresponding to the specified list of locales if the specified locale transla- tions are present on the installation media. Locales are supplied in a comma-separated list following the -locales option. An example list would appear as follows: installer -locales fr,de,it This would install products with translations for the French, German, and Italian locales. -nodisplay Runs the install without a graphical user interface. Use the default product install unless it was modified by the -locales options. -noconsole Run the install without any interactive text console device. Useful when paired with -nodisplay for non-interactive UNIX script use. -debug Outputs extra information about what the install is doing. Mainly for install diagnostic purposes. FILES
/var/sadm/install/logs location of installation log files SEE ALSO
prodreg(1M) SunOS 5.10 11 December 2001 installer(1M)
All times are GMT -4. The time now is 06:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy