π System Commands
grep Command
grep command is used to filter output text
Notations
-v ==> Used to print any other string which is/are not specified as string in the command
-r ==> recursive files and folderscut Command
cut command is used to seperate words from an output text
Notations
-d ==> delimeter [used to specify string which are replaced and words are seperated as list]
-f ==> string positions to filter and print as outputwc Command
wc is used to count the characters, words, lines etc of a file
Basic Command
wc -m payload.php
Notations
-m ==> Counts bites length
-l ==> Counts number of linesFind Command
Find files
find / -type f -name "*flag.txt" 2>/dev/null
Find SUID Files
find / -user root -perm -4000 -print 2>/dev/null
sudo -l
Last updated
Was this helpful?