
shell - is a special user program which provides an interface to the user to use operating system services.
Basic commands- cat - output contents of file (used for more than one file)
- more - loads entire file and allows scrolling with arrow keys
- less - loads portion of file as you scroll (faster than "more")
- pwd - print (current) working directory
- ls - list files and directories in bare format
Add to "~/.bashrc" or "~/.bash_profile", this
allows users to run git commands without inputting credentials.
*Prerequisite - create ssh keys, add public key to git settings, and clone with ssh.
if ps -p $SSH_AGENT_PID > /dev/null
then
echo "ssh-agent is already running"
else
eval `ssh-agent -s`
fi