Skip to content

Instantly share code, notes, and snippets.

View wazoox's full-sized avatar

Emmanuel Florac wazoox

  • Intellique
  • France
View GitHub Profile
@wazoox
wazoox / Bash_tricks.sh
Last active October 19, 2018 14:08
Bash tricks
# bad wrapping of commands in bash
export HISTCONTROL=ignoredups:erasedups
# also try
export HISTCONTROL=ignoreboth
# if the terminal window was resized try
shopt -s checkwinsize
# one history common to all terminals:
@wazoox
wazoox / Sysadmin_tricks.sh
Last active October 20, 2018 10:09
Linux SysAdmin tricks
# network tricks
#identify a network card:
ethtool --identify eth7
#Copy a directory tree without the files:
rsync -a -f"+ */" -f"- *" source/ destination/
#monitor NFS traffic
watch -d "netstat -plaute | grep nfs | sort -k 4,5"
@wazoox
wazoox / keybase.md
Created June 4, 2019 20:53
keybase proof

Keybase proof

I hereby claim:

  • I am wazoox on github.
  • I am wazoox (https://keybase.io/wazoox) on keybase.
  • I have a public key ASDQchPWm67XEAz5kx_UJK_0kIhOI91ZzPKYXKsgfPb3rQo

To claim this, I am signing this object: