Last active
October 5, 2020 13:18
-
-
Save MrChrisWeinert/ff390d9c649a9e4703bedfffd735b6ff to your computer and use it in GitHub Desktop.
The start of some stuff I usually do for a new linux install
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
apt-get -y update | |
#Terminator console emulator | |
apt-get -y install terminator | |
apt-get -y install bat | |
#Setup custom aliases | |
echo "alias ll='ls -l'" > .bash_aliases | |
echo "alias nmap='nmap -g53 --randomize-hosts --script-args http.useragent=\"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0i\" '" >> .bash_aliases | |
echo "alias cat='bat --style=grid'" >> .bash_aliases | |
echo "alias myip='curl ifconfig.me/ip'" >> .bash_aliases | |
source .bashrc | |
##This stuff also goes into the .bashrc | |
#export HISTCONTROL=ignoredups:erasedups # no duplicate entries | |
#export HISTSIZE=100000 # big big history | |
#export HISTFILESIZE=100000 # big big history | |
#shopt -s histappend # append to history, don't overwrite it | |
## Save and reload the history after each command finishes | |
#export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment