-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding week 4 aliases for days (#13)
- Loading branch information
1 parent
d092086
commit d2a6c48
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Week 04 ( aliases for days ) | ||
|
||
- [Week 04 ( aliases for days )](#week-04--aliases-for-days-) | ||
- [Pre-reqs](#pre-reqs) | ||
- [Why](#why) | ||
- [Examples](#examples) | ||
- [Resources](#resources) | ||
|
||
## Pre-reqs | ||
|
||
- bash setup | ||
- [video](https://youtu.be/mfP8R1yr80A) | ||
- [writen instruction](/install_methods/) | ||
|
||
## Why | ||
|
||
1. make life easier 😁 | ||
2. nested aliases are bae 🙃 (automate your automation) | ||
3. possible attack | ||
4. how to thwart :arrow_up: | ||
|
||
## Examples | ||
|
||
```bash | ||
help help | ||
help -d *alias* | ||
exit | ||
help alias | ||
alias -p | ||
pe-bash | ||
ls --help | less | ||
ls --help |& less | ||
ls -a | ||
ls -A | ||
la | ||
alias la='ls -A' | ||
la | ||
alias -p | ||
unalias la | ||
alias -p | ||
alias ls='rm -rf /' | ||
ls | ||
exit | ||
pe-bash | ||
ls | ||
ls -a bash_tricks | ||
rm -rf !$ | ||
exit | ||
vagrant provision && vagrant ssh | ||
pe-bash | ||
pe-cleanup | ||
pe-bash | ||
help unalias | ||
alias -p | ||
alias ls='rm -rf /' | ||
alias -p | ||
\unalias -a | ||
alias -p | ||
``` | ||
|
||
## Resources | ||
|
||
- [my vagrant aliases (nesting)](https://github.com/elreydetoda/all-linux-tings)* (work in progress) | ||
- [github dotfiles](https://github.com/search?q=dotfiles) |