Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

linux lab

Lab 1 – Linux Navigation & Files (20 points) Task 1 Create the following structure. /home/student/ ├── project │ ├── logs │ ├── scripts │ └── backup Requirement…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Cloud & Tech-Stack · 3 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung




Lab 1 – Linux Navigation & Files (20 points)






Task 1



Create the following structure.




/home/student/
├── project
│ ├── logs
│ ├── scripts
│ └── backup






Requirements




  • create all directories

  • create




app.log
error.log
install.sh






inside correct folders.









Task 2



Move




app.log






into




backup












Task 3



Delete




error.log












Task 4



Find




install.sh






using only one command.









Lab 2 – Permissions (20 points)



Create




secret.txt






Requirements



Owner




  • read/write



Group




  • read



Others




  • no access



Verify permissions.






Create a new user




developer






Switch to that user.



Can the user read




secret.txt






Explain why.









Lab 3 – Processes (20 points)



Start a process



Example




sleep 500






Questions



Find




  • PID



Kill the process



Verify it stopped.






Bonus



Find the top five processes using the most memory.









Lab 4 – Disk Space (20 points)



Create a directory




practice






Generate a file about 100 MB.



Questions



How much disk space is used?



How much free disk space remains?



Which command shows directory size?









Lab 5 – Networking (30 points)



Find



Your




  • hostname

  • private IP

  • default gateway

  • DNS server






Ping




8.8.8.8






Questions



Did it work?






Ping




google.com






If this fails but




8.8.8.8






works,



what is the problem?






Display



All listening ports.






What service is listening on port 22?









Lab 6 – Troubleshooting (40 points)






Scenario 1



A user says




"Internet is not working."




Show the commands you would run.



Expected ideas




ip addr
ping 8.8.8.8
ping google.com
ip route
cat /etc/resolv.conf






Explain each step.









Scenario 2



A website is down.



Questions



How do you verify




  • server is running?

  • nginx is running?

  • port 80 is listening?

  • firewall issue?

  • logs?



Commands should include




systemctl status nginx

journalctl -u nginx

ss -tuln

curl localhost

systemctl restart nginx












Scenario 3



SSH stopped working.



How would you troubleshoot?



Expected




ping server

ssh localhost

systemctl status ssh

ss -tulpn

journalctl -xe

systemctl restart ssh












Lab 7 – Mixed Practical (Best Assessment)



Tell students:




You are the new Junior DevOps Engineer.




The manager asks you to prepare a server.



Complete all tasks.









Task 1



Create user




developer












Task 2



Create




/opt/application












Task 3



Create




run.sh






Make it executable.









Task 4



Create a file




server.log






containing




Application started












Task 5



Find your IP address.









Task 6



Show free disk space.









Task 7



Start




sleep 300






Find its PID.



Terminate it.









Task 8



Find every




*.log






file under




/opt












Task 9



Display the routing table.









Task 10



Explain the difference between




ping 8.8.8.8






and




ping google.com












Oral Questions (Ask During the Lab)




  • What is the difference between a process and a service?

  • Why do we need DNS?

  • What is the difference between a private IP and a public IP?

  • What happens when you type google.com into a browser?

  • What is the purpose of the default gateway?

  • What does chmod 755 mean?

  • What is the difference between find and locate?

  • What does sudo actually do?

  • Why do Linux servers typically not have a graphical interface?

  • If a website is down, what would you check first and why?

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

🔍 CTI & Forensik

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar · Exploit-Belege
IoC Intelligence
1 Indikatoren · Defanged · STIX 2.1
8[.]8[.]8[.]8
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
4 Knoten · 3 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität

Verwandte Story-Cluster & Quellen (Vektor-KI)

6 Cluster
28 Quellen
GOG Black Friday sale is live, plus multiple Lara Croft games enter the GOG Preservation Program
GamingOnLinux Latest Articles vor 39 Min.
27 weitere Quellen
Latest from TechRadarvor 54 Min.Black Friday Sonos: the best deals on wireless speakers, soundbars and more Latest from TechRadarvor 48 Min.Black Friday discounts on Seagate's Expansion Desktop Hard Drive make it one of the cheapest of its kind, with discounts of up to 22% on higher storage capacities Latest from TechRadarvor 44 Min.The best Black Friday Philips Hue deals: save on smart bulbs, string lights, and light strips Latest from TechRadarvor 42 Min.Newegg knocks $348 off its AMD Ryzen 7 5800X3D PC bundle for Black Friday Latest from TechRadarvor 41 Min.The best early Black Friday Garmin deals, picked by a smartwatch tester Latest from TechRadarvor 31 Min.Work like it's 1998: Aura Displays' retro-inspired Bondi Blue Triple Aero ’98 Pro Max laptop screen extender gets a 16% discount for Black Friday Latest from TechRadarvor 31 Min.The Disney+ and Hulu Black Friday streaming deal for just $5 has returned Golem.devor 40 Min.Anzeige: Beliebter WLAN-Repeater für nur 23,32 Euro im Black Friday Angebot Androidvor 51 Min.Bose Black Friday: Diese Kopfhörer, Soundbars und Boxen sind heute reduziert Latest from TechRadarvor 1 Std.Black Friday phone deals: 35 hand-picked deals on Apple iPhones, Pixels, Samsung phones, and more PC-WELTvor 58 Min.Black Friday: Saugroboter von Dyson, Roborock und Mova heute zum Amazon-Tiefstpreis PC-WELTvor 58 Min.Black Friday: Saugroboter von Dyson, Roborock und Mova heute zum Amazon-Tiefstpreis Latest from TechRadarvor 1 Std.Apple's lightweight 2026 M5 MacBook Air gets $250 off for Black Friday Engadgetvor 1 Std.Five solar generators going for deep discounts on Black Friday The Vergevor 1 Std.Xteink’s pocketable X4 Classic e-reader is down to just $55 for Black Friday PC-WELTvor 1 Std.Mein liebstes Produktivitäts-Gadget: Stream Deck zum Black Friday günstiger PC-WELTvor 1 Std.Apple Mac mini wird immer günstiger: Diese Mini-PCs sind im Black-Friday-Sale PC-WELTvor 1 Std.Mein liebstes Produktivitäts-Gadget: Stream Deck zum Black Friday günstiger Codropsvor 2 TagenBlack Friday 2026: 10 Deals for Web Designers and Front-End Developers CNETvor 12 TagenSave $112 on Sony’s Flagship WH-1000XM6 Headphones This Black Friday CNETvor 1 Std.Save $56 on Baseus Inspire XC1 Open Earbuds With This Black Friday Deal Golem.devor 1 Std.Anzeige: Ankers Soundcore-Lautsprecher zum Black Friday für 18 Euro bei Amazon PC-WELTvor 2 Std.Black Friday: MacBook, Surface & Co. jetzt bis zu 630 Euro günstiger Latest from TechRadarvor 1 Std.Thousands of Black Friday deals are live right now. These are the 175 best Latest from Windows Centralvor 2 Std.XBOX 25th anniversary hardware has a perfect companion for mobile gaming — and it's 20% off for Black Friday PC-WELTvor 1 Std.Das beste Tool, das ich je für unter 14 Euro gekauft habe – jetzt als Black-Friday-Schnäppchen CNETvor 2 Std.Shop Top Apple Watch Black Friday Deals, Starting at $179
3 Quellen
Twilio's New 10DLC Rejection Codes (Dec 2026): What Each Means and How to Avoid Paying for a Rejection
DEV Community vor 28 Min.
2 weitere Quellen
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten linux lab

Thematisch verwandte Begriffe: linux · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag