dot file or configuration files

CodeMaven

When setting up a new account on a Linux machine there are many things one can configure. This is a collection of the "dot files", (the ones that usually start with a dot and therefore are hidden) that I use.

Bash

alias xssh='ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
alias myscp='scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias ll='ls -l'
alias l='ls -la'
export HISTSIZE=1000
export EDITOR=vim
```

Make bash write to the `.bash_history` file immediately and read it on every command.
Allowing you to search and use the history created in one terminal to be used in another terminal.

```
shopt -s histappend
export PROMPT_COMMAND="history -a; history -c; history -r;"

ssh config

Host 10.* 172.31.* 172.32.* 172.33.* 172.34.*
   StrictHostKeyChecking no
   UserKnownHostsFile /dev/null

in ~/.ssh/config

Author

Gabor Szabo (szabgab) Gabor Szabo