cat /etc/passwd | awk '{ print $1 $3 }'
cat /etc/passwd |awk 'NR==22'
cat /etc/passwd |awk 'NR==1 || NR==3'
cat /etc/passwd |awk 'NR>=1&&NR<=3'
cat /etc/passwd |awk 'NR>=1&&NR<=3 || NR>=32&&NR<=36'
cat /etc/passwd |awk -F: 'NR>=1&&NR<=3 || NR>=3&&NR<=5 { print $1 }'
cat /etc/passwd |awk '/Jethro/'
cat /etc/passwd |awk -F: '/ae/ { print $1 } '
awk '{ sum+=$1} END {print sum}' file_with_numbers.txt
awk '/POST/' bigfile.log | awk '{gsub("/","_",$3); print $10>> $3; close($3) }'
awk '$3 ~ /^VZ|^VU/ {print $1" "$2" " $3}'
awk '{$1=toupper($1);print $0}' file_to_convert.txt
awk -v r=$remote -v l=$local -v n=$name -v z=$zero '{print "The name " n " from "$1" brings the "$2" to "r >l}'
awk -F: '{gsub("\\[", "");gsub("\\/", " ");gsub("nov","11"); print $1" "$2}'
awk -v p="output_file" '{ if($2 ~/^-/) { gsub("^-2", "2", $2 ); print "0 "$2"-" $1 >p} else{print >p} }' input_file
awk -F\; '{print $1}' original_file.txt |tr '[:upper:]' '[:lower:]' >up2low_collumn1.txt
awk -F\; '{print $2}' original_file.txt >collumn2.txt
paste -d ";" $up2lowfinal $title_name >complete_again.txt
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS