Linux special variable

In Linux bash there are special variables┬áthat their values are set on the fly, or used for special purposes: $$ - current shell process number $? - the last process' exist's code ${} - the value of the parameter that was given to the current process. $PWD - the current directory. In fact, if you … Continue reading Linux special variable


Bash variables 1

In bash in order to set a variable, you can just use the equal sign '='.So you write the variable name, equal sign, and its value. It is important not to have a space between the variable name and the equal sign. When we want to access the variable then we use dollar sign '$'. … Continue reading Bash variables 1