$_
💻 For developers

Linux & Bash

Command line, files, permissions, scripts — the DevOps foundation

What you'll build
📘A solid foundation
⚡Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 32 lessons⏱ 1-2 evenings🎓 Intermediate
🎯 Mission
Master Linux & Bash
⚡+370XP
🏆CertificatePDF
🎓Course complete
Progress0 / 32 · 0%
Next up: Linux: first steps

Course program

01

Навигация и файловая система

0 / 5 lessons
⌄
  1. 01

    Linux: first steps

    Terminal•Preview•What is a shell⚡ +10
    ▶ Now
  2. 02

    pwd and ls — extended options

    ls -l listing•ls -a hidden•ls -la combined⚡ +10
    Open
  3. 03

    cd — moving between directories

    cd path•~ home•.. up⚡ +10
    Open
  4. 04

    Paths: absolute and relative

    / root•Absolute path•Relative path⚡ +10
    🔒 Pro
  5. 05

    tree — viewing the directory tree

    tree view•tree -L level•Quick overview⚡ +10
    🔒 Pro
02

Файлы и директории

0 / 6 lessons
⌄
  1. 06

    touch and mkdir — creating

    touch file•mkdir folder•mkdir -p nested⚡ +10
    🔒 Pro
  2. 07

    cp — copying files

    cp file•cp -r directory•Under a new name⚡ +10
    🔒 Pro
  3. 08

    mv — moving and renaming

    mv move•Renaming•Organizing files⚡ +10
    🔒 Pro
  4. 09

    rm — deleting

    rm file•rm -r directory•Caution⚡ +10
    🔒 Pro
  5. 10

    cat — printing a file’s contents

    cat read•echo write•cat concatenate⚡ +10
    🔒 Pro
  6. 11

    less — reading a file page by page

    less navigation•q to quit•Large files⚡ +10
    🔒 Pro
03

Просмотр и поиск

0 / 6 lessons
⌄
  1. 12

    head and tail — the start and end of a file

    head -n lines•tail -n lines•tail -f monitoring⚡ +10
    🔒 Pro
  2. 13

    wc — counting lines and words

    wc -l lines•wc -w words•wc -c bytes⚡ +10
    🔒 Pro
  3. 14

    grep — searching within text

    grep pattern•grep -i case•grep -r recursive⚡ +10
    🔒 Pro
  4. 15

    find — searching for files by name

    find -name•find -type•find -mtime⚡ +10
    🔒 Pro
  5. 16

    The pipe | — chaining commands

    | pipe•Command chain•Filtering output⚡ +10
    🔒 Pro
  6. 17

    ps and kill — managing processes

    ps aux•kill PID•Process list⚡ +10
    🔒 Pro
04

Права и пользователи

0 / 5 lessons
⌄
  1. 18

    File permissions: rwx

    r read•w write•x execute⚡ +10
    🔒 Pro
  2. 19

    chmod — changing permissions

    chmod numeric•chmod +x symbolic•Running a script⚡ +10
    🔒 Pro
  3. 20

    chown — changing the owner

    chown owner•chown owner:group•sudo required⚡ +10
    🔒 Pro
  4. 21

    sudo — running as the superuser

    sudo command•sudo -i root•whoami⚡ +10
    🔒 Pro
  5. 22

    Environment variables: export and $VAR

    export VAR•$VAR read•.bashrc persistent⚡ +10
    🔒 Pro
05

Текст и перенаправление

0 / 5 lessons
⌄
  1. 23

    Redirection: > and >>

    > overwrite•>> append•< input⚡ +10
    🔒 Pro
  2. 24

    sort and uniq - sorting and deduplication

    sort sorting•sort -r reverse•uniq without duplicates⚡ +10
    🔒 Pro
  3. 25

    cut - extracting columns

    cut -d delimiter•cut -f field•Processing CSV⚡ +10
    🔒 Pro
  4. 26

    sed - text replacement

    sed s/find/replace/•sed -i file•Chain of commands⚡ +10
    🔒 Pro
  5. 27

    Complex pipeline: a chain of commands

    Pipeline•Filtering•Multiple pipes⚡ +10
    🔒 Pro
06

Bash-скрипты

0 / 5 lessons
⌄
  1. 28

    Bash script: shebang and variables

    #!/bin/bash shebang•Variable $VAR•Running the script⚡ +10
    🔒 Pro
  2. 29

    if conditions in a script

    if [ condition ]•then / else / fi•Conditions in a script⚡ +10
    🔒 Pro
  3. 30

    The for loop in a script

    for in loop•Iterating a list•Variable $i⚡ +10
    🔒 Pro
  4. 31

    Arguments: $1, $2 and $@

    $1 argument•$@ all•$# count⚡ +10
    🔒 Pro
  5. 32

    Mini-project: automatic backup script

    Project script•cp backup•Date stamp
    Course complete
    🔒 Pro