Love how @amasad consistently stands up for what’s right. Few in tech/vc have the kind of conscience and integrity he does — @paulg, @paulbiggar, and @nntaleb are among the rare exceptions
1
126
Ending the year with immense gratitude! Special thanks to @lcalcote, @theBeginner86, and uzairshaikh for being phenomenal mentors during my LFX internship. Grateful also to @meshery project for the incredible opportunity! 🎓 #LFXInternship #MesheryProject
BASH TIP #4
JUMPING TO PREVIOUS DIRECTORY
Once you have successfully changed directories, what if you need to return to your previous directory?
Fortunately, Bash remembers your previous directory, and you can return there by simply typing `cd -`.
BASH TIP #3
3. Using Command Aliases
The alias command makes it possible to define command shortcuts. These shortcuts can point to a single command with your favorite arguments, or a long pipeline of commands
I like to alias the git add . command to a shortcut like ga.
BASH TIP #2
Reuse Argument from Last Command using !$
Often you run a lot of commands against the same file or "argument". You can retrieve the argument from the last command using the !$ or !!:1 designator.
BASH TIP #1 .
1. Repeat Last Command using !!
If you want to repeat your last command, simply use the !! designator. This will echo the previous command .
if you are like me , who forgot's to put sudo before commands , this will help a lot .
6. Create Base root dirs for easy lookup
if you have a bunch of directories you want to navigate within easily?
Create base lookup using **CDPATH** variable
1
5. Jumping to previous dir .
Once you have successfully changed directories, what if you need to return to your previous directory?
Fortunately, Bash remembers your previous directory, and you can return there by simply typing `cd -`.
1
















