Created
January 18, 2020 13:44
-
-
Save harish2704/99261547bab6b835fec929273a72083b to your computer and use it in GitHub Desktop.
Create a new bash session and save/load all the command history in current directory
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
#!/usr/bin/env bash | |
export HISTFILE=$PWD/.bash_history | |
bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment