linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
  • Introduction
  • Lessons
  • How it works
  • Simulator
  • Knowledge base
  • Interview prep
Lessons
Footer
linuxlab-TutorialsPricingAboutPrivacy & cookies
Copyright © 2026 LinuxLab. All rights reserved.

← из прошлого урока

You learned where files on the system come from: packages. Now the reverse skill: finding something in that tree. find by metadata, grep by content, and the two joined through xargs are the key to security and SRE.

← к прошлому уроку

Базовый

find and grep: searching for files and lines

14 мин · урок входит в курс «Базовый»

The ~/findlab/ directory is already filled: old and fresh logs, a "fat" binary file, an empty .tmp, and a couple of config files with notes.

Two commands cover almost all everyday searching:

  • cmd-find searches for files by predicate (name, type, time, size).
  • cmd-grep searches for lines inside files by regex.

Joining them through a pipe and xargs is usually faster than an IDE's built-in search: in one command you find every .conf file that mentions the parameter you need.

Урок закрыт

Чтобы запустить sandbox и пройти этот урок целиком, нужен соответствующий курс. Внутри - ещё много практических уроков того же уровня и сквозной прогресс.

Купить курсВойти← Все уроки

дальше →

You have the basic utilities and pipelines make sense. Next is putting it all into scripts: shebang, variables, set -euo pipefail, loops over lines. This is the final chapter of the base block before networking.

Открыть превью: Shell scripts: automation with bashв курсе «Базовый» - /pricing
Footer
linuxlab-
Copyright © 2026 LinuxLab. All rights reserved.
Tutorials
Pricing
About
Privacy & cookies