mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 19:52:14 -04:00
more bash examples
This commit is contained in:
parent
68e3f7d899
commit
4b0a965e4a
9 changed files with 199 additions and 0 deletions
12
shell_scripts/lessons/shell_variables.sh
Executable file
12
shell_scripts/lessons/shell_variables.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#! /bin/bash
|
||||
echo "The variable of the system are:"
|
||||
echo
|
||||
echo "BASH_VERSION: " $BASH_VERSION
|
||||
echo "LOGNAME: " $LOGNAME
|
||||
echo "OSTYPE: " $OSTYPE
|
||||
echo "PATH: " $PATH
|
||||
echo "PWD: " $PWD
|
||||
echo "USERNAME: " $USERNAME
|
||||
echo
|
||||
echo "Linux distribution, name, arch: $ uname -a"
|
||||
echo
|
Loading…
Add table
Add a link
Reference in a new issue