When writing a script in bash you can pass parameters into that script to work with. For example, let’s say I have a script file called runme.sh and I want to pass in my name and today’s date. I could do that like this. ./runme.sh “Adron Hall” “12/27/2018” Inside the script I can get access... Continue reading →
In bash, the shell reads one or more startup files. Here’s the details about what’s what and which is run when. /etc/profile is executed automatically at login. The file from the list of ~/.bash_profile, ~/.bash_login, or ~/.profile are then executed at login. ~/.bashrc is executed by every non-login shell, but if sh is used to... Continue reading →
In 1979 Unix v7 started being distributed with the original Bourne Shell. Simply, it’s a program that sits at /bin/sh and runs in the terminal. You may ask, what’s the difference between a shell and the terminal? Continue reading →