976 B
976 B
description |
---|
In this lab, we explored basic BASH scripting |
Lab09 - BASH Scripting
Commands to find Information on BASH Environment
bash -version | grep version
- BASH version installedwhich bash
- where the BASH program residesecho $PATH
- Path Environment Variableenv
- Environment Variableshistory
- shows previous commands executed
Check if substring is in string
if [[ $string =~ "substring" ]]; then
- Ping sweeper script

- nslookup script