tag: unix

setuid, setgid, and sticky bit in Linux and Unix (macOS)
Maria D. Campbell
Learn how setuid, setgid, and sticky bit work in Linux and macOS — what they do, how to set and remove them with chmod, and when to use each one.
#chmod, #file permissions, #linux, #linux mint, #unix, #macOS, #principle of least privilege, #special permissions, #setuid, #setgid, #sticky bit

Changing permissions using symbolic mode and numeric mode in Linux and Unix (macOS)
Maria D. Campbell
A practical walkthrough of the chmod command in both symbolic and numeric mode, with real terminal output from Linux Mint and macOS.
#linux, #macOS, #unix, #file permissions, #numeric mode, #symbolic mode

The pipe (|) and tee commands in Linux and Unix (macOS)
Maria D. Campbell
In this post, I discuss the pipe and tee commands and how they interact with commands such as cat and wc, which accept stdin. I also talk about how the history command interacts with pipe and tee, and I provide live, practical examples of how these commands work together.
#command line, #linux, #unix, #macOS, #pipe, #tee, #wc, #cat, #history

Linux/Unix Command Line Commands applicable to Cybersecurity
Maria D. Campbell
In this post, I gather together some commands with live examples which I believe to be applicable to cybersecurity. They pertain to access control, network visibility, and investigation/forensics.

Compressing and uncompressing directories from the command line
Maria D. Campbell
How to compress and uncompress directories from the command line and why one way may be preferable over another.
#command line, #compressing directories, #macOS, #tar, #unix