Bit-breaker working in cybersecurity/IT. Only languages I know are English and Programming ones.

Sometimes I write things about technology.


If I told you the SHA256 for this sentence starts with 'c, 5, four, a, and a', would you believe me?

  • 0 Posts
  • 3 Comments
Joined 4 years ago
cake
Cake day: March 12th, 2022

help-circle
  • A couple I use (concept of not exact), that I haven’t seen in the thread yet:

    Using grep as diff: grep -Fxnvf orig.file copy.file

    Using xargs -

    xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any initial-arguments followed by items read from standard input.

    EG: $ find ~/Pictures -name "*.png" -type f -print0 | xargs -0 tar -cvzf images.tar.gz