Skip to content

Commit

Permalink
updating bash/git/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ari-hacks committed Jun 7, 2020
1 parent c596d6a commit 9d664e7
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ A place to quickly lookup commands ( bash, git, AWS, Docker, Terraform, Ansible)

- [x] [Bash](/bash.sh)
- [x] [Git](/git.sh)
- [x] [AWS](/aws.sh)
- [ ] [AWS](/aws.sh)
- [x] [Docker](/docker.sh)
- [x] [Terraform](/terraform.sh)
- [x] [Ansible](/ansible.sh)
- [ ] [Terraform](/terraform.sh)
- [ ] [Ansible](/ansible.sh)

## Additional Resources
- [Bash Scripting](https://devhints.io/bash)
Expand Down
81 changes: 79 additions & 2 deletions bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo #Prints text to the terminal
cd
-
..
~
~ #Home
pwd
cat
touch #Creates a file
Expand All @@ -20,4 +20,81 @@ man
-h
--help
clear
env #Displays all environment variables
env #Displays all environment variables


######################
#Directories
######################
pwd #Display path of current working direcotry


######################
#Files
######################

######################
#Search Files
######################

######################
#Search
######################

######################
#Output
######################


######################
#Network
######################


######################
#Permissions
######################

######################
#Process
######################

######################
#Help
######################

######################
#CTRL
######################

######################
#File Permissions
######################

######################
#Conditional Commands
######################

######################
#Arrow Keys
######################


######################
#Directing Output
######################



######################
#System Basics
######################
date #Show date and time
uptime #Display system uptime
cal #Show calendar
w #Display who is logged in
whoami #Display effective username
finger user #Show info about user
df #Display free disk space
du #Display disk usage stats
free #Show memory and swap usage
1 change: 1 addition & 0 deletions git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ git branch -d [branch-name] #Deletes the specified branch
git fetch #Downloads all history from the remote tracking branches
git merge #Combines remote tracking branch into current local branch
git push #Uploads all local branch commits to GitHub
git push origin master
git pull #Updates your current local working branch with all new commits from the corresponding remote branch on GitHub. git pull is a combination of git fetch and git merge
######################
#Make Changes
Expand Down

0 comments on commit 9d664e7

Please sign in to comment.