Linux

Linux Modules

Room: https://tryhackme.com/r/room/linuxmodulesarrow-up-right

  • du --time -ahd 1 . is equivalent to ls

  • to check file ownership, use stat filename

  • egrep and fgrep is equivalent to -E and -F flag in grep

  • awk '{print}' file.txt is equivalent to cat file.txt

  • sed '1,1d' file.txt is like cat but without the first line

  • besides ASCII, there's also EBCDIC encoding

  • ss is an alternative to netstat

  • diff command checks for difference between 2 files, byte-by-byte -- might be useful in forensics

Last updated