Linux and Unix cheatsheet
Linux Netfilter tweaks for High traffic servers
If you are serving a high traffic web/DNS server, and recently having PING loss to the server and not all HTTP request were successful to i...
TIME_WAIT in netstat
So, ever wonder what all those TIME_WAITs are doing in your netstat listing? Okay, for those of you who don't spend all your waking hou...
How do I telnet/check UDP ports whether it is open or not?
How do I telnet/check UDP ports whether it is open or not? Use nmap as below, port UDP 123 is the common ntp daemon port. $ nma...
add timestamp to bash history?
wish to add timestamp to bash history?
$ echo 'export HISTTIMEFORMAT="%F %T "' >> /etc/bashrc
Logout and re-login, and you shall be able to see timestamp on your "history" command.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment