Skip to content

Instantly share code, notes, and snippets.

@tuananh170489
Last active July 31, 2020 19:00
Show Gist options
  • Save tuananh170489/02fbaed960aa1aa9f63faf14658a0f28 to your computer and use it in GitHub Desktop.
Save tuananh170489/02fbaed960aa1aa9f63faf14658a0f28 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
### Linux utilites ###
######################
echo "List of essential Linux utilites"
BASIC="man ls cd pwd grep head tail cut cat uniq sort wc tar less file ln rm"
BASIC+=" cp mkdir find xargs test time uname chmod chown groups locate basename"
BASIC+=" touch top"
LEARNER="whatis whereis which"
PROGRAMMER="git ctags diff patch"
ADVANCE="sed awk"
NETWORK="ip ss iptables ngrep dig host whois ping traceroute curl wget telnet nc"
SYSADMIN="su sudo ps kill ssh scp tmux screen nohup df du fdisk ar gdb"
SYSADMIN+=" strace ulimit useradd crontab logger md5sum xxd yes iostat"
CRYPTO="openssl shasum base64 gpg"
ALL_UTILS="$BASIC $LEARNER $PROGRAMMER $ADVANCE $NETWORK $SYSADMIN $CRYPTO"
echo "TOTAL: $(echo $ALL_UTILS | wc -w)"
for util in $ALL_UTILS
do
whatis $util
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment