11 30 - Herrscherr0Z/SYS255 GitHub Wiki
cut -d, f1 file2 output: field1
cut -d, -f1,2 file2 output: field1,field2
cut -d, f1-3 file2 output: field1,field2,field3
cut -d" " -f1-4 file1 output: field1 field2 field3 field4
cut is used to extract field in a specific file
cut -d:" " -f1,3,7 /etc/passwd
sed = stream ( i think i heard stream) line editor = search for a key word and replace it with something else
Example: head -n1 access.log |head -n1
sed 's/GET/GOT/g' access.log |head -n1