惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
Engineering at Meta
Engineering at Meta
I
InfoQ
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 【当耐特】
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
腾讯CDC
雷峰网
雷峰网
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
D
Docker

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
linux lab
Aisalkyn Aidarova · 2026-06-26 · via DEV Community

Aisalkyn Aidarova

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?