‼
To give you the best experience, this site uses cookies. Continuing to use
9bis.net
means you agree to our use of cookies.
Special_variables
(
fr )
Dernière modification : 2013/01/26 19:17
Index
/
Changements récents
/
Informations
/
Forum
/
Télécharger
/
Contact
Éditer (
Aide
) /
Renommer
/
Historique
There are some special variables managed by the shell that should not be used for personal use. Here is the list of these variables: '|| ||$HOME||The HOME directory of the actual user|| ||$HOSTNAME||The name of the actual host|| ||$MSH_SELF||The path to the running MSH shell|| ||$MSH_TEMP_DIR||The MSH temporary directory (Ex: used by pipe command)|| ||$MSH_DATE_FORMAT||The format for internal date|| ||$MSH_FLOAT_FORMAT||The format for printing float|| ||$MSH_PROMPT||The current [prompt]|| ||$MSH_VERSION||The version of the running MSH shell|| ||$MSH_HISTORY||The path to the MSH command history file|| ||$PATH||The directories lit where to look for external commands|| ||$PWD||The path of the current directory|| ||$USER||The name of the actual user|| ||$$||The process id of the running shell|| ||$!||The process number of the last background command|| ||$?||The return code of the last command|| ||$#||The number of arguments passed to this shell|| ||$0||The name of this running command|| ||$1 ... $9||The first ... the 9th argument passed to this running command. If more than 9 parameters are passed to the shell, use the shift command to offset parameters list by one step. $1 will contain the 2nd parameter ... $9 the 10th. Use shift any time you need.|| ||$_||Reserved for futur use|| ||'
Mot de passe :
Wiki utilisant
PumaWiki 1.0
2025/05/09 09:24 -- fr -- 3.129.92.14