Definition<\/strong><\/td>\n<\/tr>\n\nauto_resume<\/td>\n | This variable controls how the shell interacts with the user and job control.<\/td>\n<\/tr>\n |
\nBASH<\/td>\n | The full pathname used to execute the current instance of Bash.<\/td>\n<\/tr>\n |
\nBASH_ENV<\/td>\n | If this variable is set when Bash is invoked to execute a shell script, its value is expanded and used as the name of a startup file to read before executing the script.<\/td>\n<\/tr>\n |
\nBASH_VERSION<\/td>\n | The version number of the current instance of Bash.<\/td>\n<\/tr>\n |
\nBASH_VERSINFO<\/td>\n | A read-only array variable whose members hold version information for this instance of Bash.<\/td>\n<\/tr>\n |
\nCOLUMNS<\/td>\n | Used by the select built-in to determine the terminal width when printing selection lists. Automatically set upon receipt of a SIGWINCH signal.<\/td>\n<\/tr>\n |
\nCOMP_CWORD<\/td>\n | An index into ${COMP_WORDS}of the word containing the current cursor position.<\/td>\n<\/tr>\n |
\nCOMP_LINE<\/td>\n | The current command line.<\/td>\n<\/tr>\n |
\nCOMP_POINT<\/td>\n | The index of the current cursor position relative to the beginning of the currentCommand.<\/td>\n<\/tr>\n |
\nCOMP_WORDS<\/td>\n | An array variable consisting of the individual words in the current command line.<\/td>\n<\/tr>\n |
\nCOMPREPLY<\/td>\n | An array variable from which Bash reads the possible completions generated by a shell function invoked by the programmable completion facility.<\/td>\n<\/tr>\n |
\nDIRSTACK<\/td>\n | An array variable containing the current contents of the directory stack.<\/td>\n<\/tr>\n |
\nEUID<\/td>\n | The numeric effective user ID of the current user.<\/td>\n<\/tr>\n |
\nFCEDIT<\/td>\n | The editor used as a default by the -eoption to the fcbuilt-in command.<\/td>\n<\/tr>\n |
\nFIGNORE<\/td>\n | A colon-separated list of suffixes to ignore when performing file name completion.<\/td>\n<\/tr>\n |
\nFUNCNAME<\/td>\n | The name of any currently-executing shell function.<\/td>\n<\/tr>\n |
\nGLOBIGNORE<\/td>\n | A colon-separated list of patterns defining the set of file names to be ignored by filename expansion.<\/td>\n<\/tr>\n |
\nGROUPS<\/td>\n | An array variable containing the list of groups of which the current user is amember.<\/td>\n<\/tr>\n |
\nhistchars<\/td>\n | Up to three characters which control history expansion, quick substitution, andtokenization.<\/td>\n<\/tr>\n |
\nHISTCMD<\/td>\n | The history number, or index in the history list, of the current command.<\/td>\n<\/tr>\n |
\nHISTCONTROL<\/td>\n | Defines whether a command is added to the history file.<\/td>\n<\/tr>\n |
\nHISTFILE<\/td>\n | The name of the file to which the command history is saved. The default value is~\/.bash_history.<\/td>\n<\/tr>\n |
\nHISTFILESIZE<\/td>\n | The maximum number of lines contained in the history file, defaults to 500.<\/td>\n<\/tr>\n |
\nHISTIGNORE<\/td>\n | A colon-separated list of patterns used to decide which command lines should besaved in the history list.<\/td>\n<\/tr>\n |
\nHISTSIZE<\/td>\n | The maximum number of commands to remember on the history list, default is 500.<\/td>\n<\/tr>\n |
\nHOSTFILE<\/td>\n | Contains the name of a file in the same format as \/etc\/hosts that should be readwhen the shell needs to complete a hostname.<\/td>\n<\/tr>\n |
\nHOSTNAME<\/td>\n | The name of the current host.<\/td>\n<\/tr>\n |
\nHOSTTYPE<\/td>\n | A string describing the machine Bash is running on.<\/td>\n<\/tr>\n |
\nIGNOREEOF<\/td>\n | Controls the action of the shell on receipt of an EOF character as the sole input.<\/td>\n<\/tr>\n |
\nINPUTRC<\/td>\n | The name of the Read line initialization file, overriding the default\/etc\/inputrc.<\/td>\n<\/tr>\n |
\nLANG<\/td>\n | Used to determine the locale category for any category not specifically selected witha variable starting with LC_.<\/td>\n<\/tr>\n |
\nLC_ALL<\/td>\n | This variable overrides the value of LAN Gand any other LC_variable specifying alocale category.<\/td>\n<\/tr>\n |
\nLC_COLLATE<\/td>\n | This variable determines the collation order used when sorting the results of filename expansion, and determines the behavior of range expressions, equivalence<\/p>\n classes, and collating sequences within file name expansion and pattern matching.<\/td>\n<\/tr>\n |
\nLC_CTYPE<\/td>\n | This variable determines the interpretation of characters and the behavior ofcharacter classes within file name expansion and pattern matching.<\/td>\n<\/tr>\n |
\nLC_MESSAGES<\/td>\n | This variable determines the locale used to translate double-quoted strings precededby a “$” sign.<\/td>\n<\/tr>\n |
\nLC_NUMERIC<\/td>\n | This variable determines the locale category used for number formatting.<\/td>\n<\/tr>\n |
\nLINENO<\/td>\n | The line number in the script or shell function currently executing.<\/td>\n<\/tr>\n |
\nLINES<\/td>\n | Used by the select built-in to determine the column length for printing selectionlists.<\/td>\n<\/tr>\n |
\nMACHTYPE<\/td>\n | A string that fully describes the system type on which Bash is executing, in thestandard GNU CPU-COMPANY-SYSTEM format.<\/td>\n<\/tr>\n |
\nMAILCHECK<\/td>\n | How often (in seconds) that the shell should check for mail in the files specified in the MAILPATH or MAIL variables.<\/td>\n<\/tr>\n |
\nOLDPWD<\/td>\n | The previous working directory as set by the cd built-in<\/td>\n<\/tr>\n |
\nOPTERR<\/td>\n | If set to the value 1, Bash displays error messages generated by the getopts built-in.<\/td>\n<\/tr>\n |
\nOSTYPE<\/td>\n | A string describing the operating system Bash is running on.<\/td>\n<\/tr>\n |
\nPIPESTATUS<\/td>\n | An array variable containing a list of exit status values from the processes in themost recently executed foreground pipeline (which may contain only a single<\/p>\n command).<\/td>\n<\/tr>\n |
\nPOSIXLY_CORRECT<\/td>\n | If this variable is in the environment when bash starts, the shell enters POSIXmode.<\/td>\n<\/tr>\n |
\nPPID<\/td>\n | The process ID of the shell’s parent process.<\/td>\n<\/tr>\n |
\nPROMPT_COMMAND<\/td>\n | If set, the value is interpreted as a command to execute before the printing of eachprimary prompt (PS1)<\/td>\n<\/tr>\n |
\nPS3<\/td>\n | The value of this variable is used as the prompt for the select command. Defaults to”‘#? ‘”<\/td>\n<\/tr>\n |
\nPS4<\/td>\n | The value is the prompt printed before the command line is echoed when the -xoption is set; defaults to “‘+ ‘”.<\/td>\n<\/tr>\n |
\nPWD<\/td>\n | The current working directory as set by the cd built-in command.<\/td>\n<\/tr>\n |
\nRANDOM<\/td>\n | Each time this parameter is referenced, a random integer between 0 and 32767 is generated. Assigning a value to this variable seeds the random number generator.<\/td>\n<\/tr>\n |
\nREPLY<\/td>\n | The default variable for the read built-in.<\/td>\n<\/tr>\n |
\nSECONDS<\/td>\n | This variable expands to the number of seconds since the shell was started.<\/td>\n<\/tr>\n |
\nSHELLOPTS<\/td>\n | A colon-separated list of enabled shell options.<\/td>\n<\/tr>\n |
\nSHLVL<\/td>\n | Incremented by one each time a new instance of Bash is started.<\/td>\n<\/tr>\n |
\nTIMEFORMAT<\/td>\n | The value of this parameter is used as a format string specifying how the timinginformation for pipelines prefixed with the time reserved word should be displayed.<\/td>\n<\/tr>\n |
\nTMOUT<\/td>\n | If set to a value greater than zero, TMOUT is treated as the default timeout for theRead built-in. In an inter ative shell, the value is interpreted as the number of<\/p>\n seconds to wait for input after issuing the primary prompt when the shell is<\/p>\n interactive. Bash terminates after that number of seconds if input does not arrive.<\/td>\n<\/tr>\n |
\nUID<\/td>\n | The numeric, real user ID of the current user.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":" Linux shell is a user interface used for executing the commands. Shell is a program the user uses for executing…<\/p>\n","protected":false},"author":1,"featured_media":846,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"yoast_head":"\n What is Linux shell | Types of Linux shell<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n\n\t\n\t\n\t\n |