Foundations session for learners who need a reliable CLI baseline before pentest, SOC, or malware labs.
Session goals
- Navigate the filesystem without getting lost.
- Read permissions and ownership with intent.
- Inspect processes and open network sockets.
- Capture command output for notes and writeups.
Suggested agenda (90 minutes)
- Shell orientation —
pwd,ls -la,cd, tab completion, history. - Reading the system —
cat/less,head/tail,grep, pipes. - Permissions —
ls -l, user/group/other bits,chmod/chownconcepts (practice on disposable files only). - Processes —
ps,toporhtop, signals overview (killcarefully in labs). - Networking glance —
ip a,ss -tulpn(ornetstatwhere available), DNS lookup withdigorgetent. - Note-taking habit — redirect useful output to a dated notes file; never paste secrets into public repos.
Practice drills
- Find world-writable files under a lab home directory.
- Identify which process is listening on a given port in a container or VM.
- Explain what
rwxr-x---means for a shared lab script.
Safety
Work in isolated VMs or containers. Do not run destructive commands (rm -rf, disk wipes, firewall flushes) on shared or production hosts.
linuxfoundationsworkshop
Published 28 Sept 2026. External links open destinations outside CyberCrew — verify them before use in workshops.
