Please enable JavaScript.
Coggle requires JavaScript to display documents.
Command line skills (Aliases (An alias can be used to map longer commands…
Command line skills
Aliases
-
-
Aliases created this way only persist while the shell is open. Once the shell is closed, the new aliases are lost
control statement
-
-
Double Pipe
command1 || command2
The double pipe || is a logical "or". Depending on the result of the first command, the second command will either run or be skipped.
Variable
Local variable
Local or shell variables exist only in the current shell, and cannot affect other commands or applications. When the user closes a terminal window or shell, all of the variables are lost.
Environment variable
Environment variables, also called global variables, are available system-wide, in all shells used by Bash when interpreting commands and performing tasks. The system automatically recreates environment variables when a new shell is opened
-
internal command
Also called built-in commands, internal commands are built into the shell itself
-
Additional Move Options[cp command, the mv command ]
-
-
-
-
-
-
The echo command is used to display output in the terminal. To display the value of the variable, use a dollar sign $ character
-
-
-
-
-
-