From zero to oriented in one page โ the ground floor of every security career.
| pwd | Where am I? |
| ls | What is here? |
| cat <file> | What does it say? |
| history | What has been done here โ by me, or by someone else? |
| chmod 600 <file> | Owner read+write, nobody else anything. The setting for secrets. |
| chmod 400 <file> | Owner read-only. For files that must never change. |
| r=4 w=2 x=1 | The math behind every permission number: owner ยท group ยท everyone. |
| ps | What is running. Learn a healthy list by heart; the stranger is the incident. |
| tail /var/log/auth.log | The diary's latest page. |
| grep Failed /var/log/auth.log | Every failed login, isolated. |
| grep -c <pattern> <log> | Count, don't print. Scale decides severity. |
Anything you do three times, script. Your shell history is the first draft of every script: run a sequence once, save it, replay it forever. In the Hackbydoing Academy Linux classroom you do all of this hands-on, in a simulator, in about 35 minutes.
Free from the Hackbydoing Academy โ the game that teaches real cybersecurity, attack and defense, on simulated networks. Play free at hackbydoing.com ยท Print this page (Ctrl/Cmd+P) for a clean paper copy.