Batch file notes - xthouxand/itc-136 GitHub Wiki

to figure out what shell your running on the command prompt use the command "echo $SHELL"

df -h shows you how much space you have on your file system. du stands for disk used (its also an command)

/dev/sda1 is the hard drive

fist part of bash scirpt is the shabang line? #!/bin/bash

echo "This is the /usr/local/bin/itc136

when you echo things text will come through as text. Varibles will resolve to whatever value they have.

To execute: sudo chmod +x /usr/local/bin/stats