§2024-10-02
The env command lists all the environment variables currently defined in your shell session.
The printenv command also displays the environment variables.
The set command shows both environment variables and shell functions. It lists all the variables (including local and global) currently defined in the shell.
You can use the declare command with the -p option to display all variables, including environment variables.
$ echo -e "\033[0;33mThis text will be yellow\033[0m"
echo -e "\033[0;33mThis text will be yellow" <-- without restoring
echo "This is another line of text to test if it's still yellow"
Return to Top