Linux 102|105 Shell ^ DM

|^^| Customize_Shell

Topic 105: Shells, Scripting and Data Management

105.1 Customize and use the shell environment

Weight: 4

source: https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-a-linux-vps

OTHER SOURCES:

http://www.informit.com/library/content.aspx?b=red_hat_linux7&seqNum=247

Online Tools:

http://explainshell.com/explain?cmd=setserial+-a+%2Fdev%2Fcua0

Printing Shell and Environmental Variables

Each shell session keeps track of its own shell and environmental variables. We can access these in a few different ways.

We can see a list of all of our environmental variables by using the env or printenv commands. In their default state, they should function exactly the same:

printenv

[rex@ssi ~]$ printenv SHELL /bin/bash

105.2 Customize or write simple scripts

Weight: 4

105.3 SQL data management

Weight: 2

eof