Size: 1748
Comment:
|
Size: 1785
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 82: | Line 82: |
alias ps='ps faxo pid,user:32,comm' |
bash
Bourne again shell.
Server loop
Add extra IP address to NIC
Adapted from http://unclean.org/howto/secondip.html
Add extra IP 192.168.1.5 to NIC eth0
Check port running
ColorBash prompt
https://wiki.archlinux.org/index.php/Color_Bash_Prompt
- start coloring: \[\e[color\]
- end coloring: \[\e[m\]
- \e[0;32m\] #green color
- \e[0;33m\] #yellow color
Network interface data daily
rxtxData.sh:
SSH Ubuntu bash colors
~/.bash_profile
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
~/.bashrc
alias ls='ls --color' PS1="\e[0;33m\]\D{%Y-%m-%d}T\A\[\e[m\] \e[0;32m\]\u@\H:\w\r\n\$\[\e[m\] " alias ps='ps faxo pid,user:32,comm'