15 / 55 · 19 Linux & Command Line · Permissions and Processes← prev⊞ allnext →☰ Read as one page
2.9Hands-On Exercise
- List all files in your home directory with full permission details. Identify which files you own and their permissions.
- Create a script
test.shwithecho "Hello". Try to run it. Fix the permission error. Run it again. - Find what process is using port 8080 on your machine. If nothing is, start a simple server and verify.
- Check your system's memory and disk usage. Is anything close to capacity?
- Run a process in the background, list it with
jobs, bring it to the foreground, and then kill it. - Use
ss -tlnpto list all services listening on your machine. Identify each one.