chmod Numbers Explained: 600, 644, 700, and 755
Decode numeric chmod permissions, choose common file and directory modes, verify the result, and avoid unsafe recursive changes.
Decode numeric chmod permissions, choose common file and directory modes, verify the result, and avoid unsafe recursive changes.
Use chown to change a file or directory owner and group, verify the result, and avoid unsafe recursive ownership changes.
Confirm a process and its PID, send SIGTERM first, verify the result, and reserve SIGKILL for a process that will not stop cleanly.
Use chmod 600 for a private SSH key and 700 for its directory, then verify both permissions and ownership before reconnecting.
Use ps in Bash to list running processes, read PID and owner columns, inspect one process, and choose when a live top view is more useful.
Build a Bash backup script that validates its source, avoids silent overwrites, removes partial archives, and verifies the tar file.