From fa32279306fef53c16a67160051fc058363ea69a Mon Sep 17 00:00:00 2001 From: trimstray Date: Wed, 4 Jul 2018 10:17:57 +0200 Subject: [PATCH] README.md - updated links - signed-off-by: trimstray --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 229aa8b..c2554e8 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ performance of any of your sites from across the globe.
* [curl](#tool-curl) * [httpie](#tool-httpie) - **[Network](#network)** - * [openssh](#tool-openssh) + * [ssh](#tool-ssh) * [linux-dev](#tool-linux-dev) * [tcpdump](#tool-tcpdump) * [ngrep](#tool-ngrep) @@ -280,7 +280,7 @@ performance of any of your sites from across the globe.
System -##### Tool: [terminal](https://curl.haxx.se) +##### Tool: [terminal](https://en.wikipedia.org/wiki/Linux_console) ###### Close shell keeping all subprocess running @@ -350,7 +350,7 @@ printf "%`tput cols`s" | tr ' ' '#' ___ -##### Tool: [mount](https://curl.haxx.se) +##### Tool: [mount](https://en.wikipedia.org/wiki/Mount_(Unix)) ###### Mount a temporary ram partition @@ -363,7 +363,7 @@ mount -t tmpfs tmpfs /mnt -o size=64M ___ -##### Tool: [fuser](https://curl.haxx.se) +##### Tool: [fuser](https://en.wikipedia.org/wiki/Fuser_(Unix)) ###### Kills a process that is locking a file @@ -379,7 +379,7 @@ fuser -v 53/udp ___ -##### Tool: [ps](https://curl.haxx.se) +##### Tool: [ps](https://en.wikipedia.org/wiki/Ps_(Unix)) ###### Show a 4-way scrollable process tree with full details @@ -395,7 +395,7 @@ ps hax -o user | sort | uniq -c | sort -r ___ -##### Tool: [find](https://curl.haxx.se) +##### Tool: [find](https://en.wikipedia.org/wiki/Find_(Unix)) ###### Find files that have been modified on your system in the past 60 minutes @@ -417,7 +417,7 @@ find -type f -exec md5sum '{}' ';' | sort | uniq --all-repeated=separate -w 33 ___ -##### Tool: [diff](https://curl.haxx.se) +##### Tool: [diff](https://en.wikipedia.org/wiki/Diff) ###### Compare two directory trees @@ -427,7 +427,7 @@ diff <(cd directory1 && find | sort) <(cd directory2 && find | sort) ___ -##### Tool: [tail](https://curl.haxx.se) +##### Tool: [tail](https://en.wikipedia.org/wiki/Tail_(Unix)) ###### Annotate tail -f with timestamps @@ -443,7 +443,7 @@ tail -10000 access_log | awk '{print $1}' | sort | uniq -c | sort -n | tail ___ -##### Tool: [cpulimit](https://curl.haxx.se) +##### Tool: [cpulimit](http://cpulimit.sourceforge.net/) ###### Limit the cpu usage of a process @@ -451,7 +451,7 @@ ___ cpulimit -p pid -l 50 ``` -##### Tool: [pwdx](https://curl.haxx.se) +##### Tool: [pwdx](https://www.cyberciti.biz/faq/unix-linux-pwdx-command-examples-usage-syntax/) ###### Show current working directory of a process @@ -461,7 +461,7 @@ pwdx ___ -##### Tool: [taskset](https://curl.haxx.se) +##### Tool: [taskset](https://www.cyberciti.biz/faq/taskset-cpu-affinity-command/) ###### Start a command on only one CPU core @@ -471,7 +471,7 @@ taskset -c 0 ___ -##### Tool: [tr](https://curl.haxx.se) +##### Tool: [tr](https://en.wikipedia.org/wiki/Tr_(Unix)) ###### Show directories in the PATH, one per line @@ -481,7 +481,7 @@ tr : '\n' <<<$PATH ___ -##### Tool: [chmod](https://curl.haxx.se) +##### Tool: [chmod](https://en.wikipedia.org/wiki/Chmod) ###### Remove executable bit from all files in the current directory @@ -545,7 +545,7 @@ http -p Hh --follow --max-redirects 5 --verify no --proxy http:http://127.0.0.1: Network -##### Tool: [openssh](https://www.openssh.com/) +##### Tool: [ssh](https://www.openssh.com/) ###### Compare a remote file with a local file @@ -863,7 +863,7 @@ socat TCP-LISTEN:1234,bind=127.0.0.1,reuseaddr,fork,su=nobody,range=127.0.0.0/8 ___ -##### Tool: [lsof](http://www.dest-unreach.org/socat/doc/socat.html/) +##### Tool: [lsof](https://en.wikipedia.org/wiki/Lsof) ###### Show process that use internet connection at the moment @@ -908,7 +908,7 @@ lsof -u username -a +D /etc ``` ___ -**Tool: [netstat](http://www.dest-unreach.org/socat/doc/socat.html/)** +**Tool: [netstat](https://en.wikipedia.org/wiki/Netstat)** ###### Graph # of connections for each hosts @@ -924,7 +924,7 @@ watch "netstat -plan | grep :443 | awk {'print \$5'} | cut -d: -f 1 | sort | uni ___ -**Tool: [rsync](http://www.dest-unreach.org/socat/doc/socat.html/)** +**Tool: [rsync](https://en.wikipedia.org/wiki/Rsync)** ###### Rsync remote data as root using sudo @@ -934,7 +934,7 @@ rsync --rsync-path 'sudo rsync' username@hostname:/path/to/dir/ /local/ Programming -##### Tool: [awk](https://curl.haxx.se) +##### Tool: [awk](http://www.grymoire.com/Unix/Awk.html) ###### Remove duplicate entries in a file without sorting @@ -950,7 +950,7 @@ awk '{$1=$3=""}1' filename ___ -##### Tool: [sed](http://www.dest-unreach.org/socat/doc/socat.html/) +##### Tool: [sed](http://www.grymoire.com/Unix/Sed.html) ###### To print a specific line from a file @@ -972,7 +972,7 @@ sed -i -re ',d' ___ -##### Tool: [grep](http://www.dest-unreach.org/socat/doc/socat.html/) +##### Tool: [grep](http://www.grymoire.com/Unix/Grep.html) ###### Search for a "pattern" inside all files in the current directory