Courses
ToolsFree

Linux & Shell Basics

Navigate the filesystem, filter text like a pro, manage processes and write your first real bash scripts

4 modules8 lessons1 hr 33 minBeginner
Beginner
8 lessons in 4 modules
1h 33m of material
8 challenges
English audio
English captions
Certificate on completion

What you'll get

  • Verifiable certificate

  • XP on the leaderboard

Your certificate

TTieEduCertificate of Completionawarded toyour nameLinux & Shell BasicsFoundation Tier

Preview of the certificate this course issues. Yours will carry your name, score and a verifiable serial — signed, not editable.

What you will build

Personal ops script + cron

Write a bash script that: (1) takes a source directory argument, (2) creates a timestamped compressed archive under a backup directory, (3) prunes archives older than 7 days, (4) logs every run, and (5) exits non-zero on failure. Schedule it with your user crontab. Submit the script, a sample log excerpt, and the crontab line.

You will submit: Link to a public gist/repo containing the .sh file, plus a short write-up with the cron line and one sample log.

Navigation and Paths

Where am I, what is here, and how paths actually resolve.

What you will learn
  • Use pwd, ls, cd and interpret absolute vs relative paths
  • Create and remove directories safely (mkdir -p, rmdir, rm -r care)
  • Read ls flags and predict what a command will touch before running it

Every server, CI runner and cloud VM assumes you can drive a shell. The filesystem tree is the same shape on your laptop, a lab Linux box and a production container — once navigation is muscle memory, everything else is vocabulary.

Where you are: pwd prints the working directory. Everything relative resolves from there.

Absolute vs relative:

  • Absolute starts at / (root): /home/you/notes.txt
  • Relative starts from cwd: notes.txt or ../shared/todo.md
  • ~ expands to your home directory; . is here; .. is parent.

Listing: ls, ls -l (long), ls -a (hidden), ls -lah (human sizes). Colour output means: blue directory, green executable, cyan symlink.

Changing directory: cd /var/log, cd .., cd - (previous), cd (home).

Create / remove:

  • mkdir -p a/b/c — parents as needed, no error if exists.
  • rmdir empty_dir — only if empty.
  • rm -r dir — recursive; rm -rf is powerful and irreversible. Prefer trash or explicit paths. Never rm -rf / or unquoted variables that might be empty.

Read before you destroy: ls the target; echo "$VAR" before rm -rf "$VAR".

Path meaning
TokenResolves to
/Root of the filesystem
.Current directory
..Parent directory
~Your home directory
-Previous working directory (cd -)
Tab completion is mandatory

Escaping paths by hand is how people delete the wrong tree. Tab until the path is unambiguous.

rm -rf with a typo or empty variable

Can wipe the wrong directory instantly. Quote variables; dry-run with echo first.

Explore a project tree
From home, list a project, enter it, inspect logs, and return.
  1. 1

    Step 1 - orient

    pwd && ls ~ to orient.

  2. 2

    Step 2 - enter project

    cd ~/projects/demo && ls -la.

  3. 3

    Step 3 - inspect log

    cd logs && ls -lh app.log.

  4. 4

    Step 4 - jump back

    cd - to jump back to the previous directory.

  5. 5

    Step 5 - home

    cd .. repeatedly until home; verify with pwd.

Solution

You can move deliberately and prove where you are at every step.

Path mental model

From /home/you/src, what does ../notes/../notes/../notes.txt resolve to? Write it out.

Hint: Resolve one .. at a time from left to right.

Common mistakes
  • rm -rf on a relative path while in the wrong directory

    pwd first; prefer absolute paths for destructive commands.

  • Ignoring -a and thinking a directory is empty

    Hidden files start with .; ls -a shows them.

Exam / interview angle

What do . and .. mean in a path?

. is the current directory; .. is its parent.

Source: Most common Linux viva.

Lesson summary
  • Absolute paths start at /; relative paths start at cwd.
  • pwd/ls/cd are your map; tab-complete everything.
  • Recursive delete is irreversible — prove the target first.

Semester exam prep

Linux lab vivas, placement OS rounds, cloud onboarding

Units, important questions and previous-year papers — revisit before every exam.

1

Shell & Filesystem

pwd/ls/cd; absolute vs relative paths; . .. ~ -; mkdir -p; rm care. ls -l mode string = type + user/group/other triples. chmod 644 files, 755 scripts, 600 secrets.

3 important questions
  1. Explain absolute vs relative paths with examples.
  2. Decode -rwxr-xr-x and state the chmod numeric mode.
  3. Why is chmod 777 dangerous?
2

Text Pipelines

less/head/tail -f; grep flags; pipes and 2>&1; sed s///g with -i.bak; awk fields; sort | uniq -c.

3 important questions
  1. What does 2>&1 do?
  2. How do you count unique line frequencies?
  3. grep -v vs grep -E.
3

Processes & Services

ps/top/pgrep; SIGTERM then SIGKILL; systemctl status; journalctl -u -f; zombies and load average basics.

3 important questions
  1. kill vs kill -9.
  2. How do you list listening ports?
  3. What does systemctl enable do?
4

Packages, Network & Scripting

apt update vs install; ssh keys; ss/curl -v; bind address vs firewall; shebang + set -euo pipefail; if/for; cron format.

3 important questions
  1. Write a cron line for Sundays at 03:00.
  2. Why absolute paths in cron?
  3. What does set -euo pipefail enable?

What you will be able to do

  • Move around the filesystem with absolute and relative paths confidently
  • Read and set permissions with chmod for common security needs
  • Build grep/sed/awk pipelines to search and transform logs
  • Inspect and stop processes; read systemd service status
  • Install packages, use ssh, and debug basic network reachability
  • Write bash scripts with strict mode and schedule them with cron

About this course

Most students meet Linux as a list of commands to memorize for a lab exam. This course teaches the model underneath: a single filesystem tree, permissions as three triples, text as the universal interface, and processes as things you can name and signal.

By Module 2 you can answer "what failed in this log last hour" without a GUI. By Module 4 you have a cron'd backup script with set -euo pipefail — the kind of artifact interviewers actually ask about. The final exam draws from a 30-question bank; the certificate project is a small automation you can show in a resume bullet.

Who this course is for

  • First- through final-year students who have only used Windows/macOS UIs
  • Placement candidates preparing for Linux and cloud rounds
  • Anyone deploying a web project to a VPS or campus server
  • Aspirants learning DevOps fundamentals

What you should know before you start

Anything here is assumed, not taught. If it is not on the list, the course explains it.

  • Comfort with a keyboard and files; no prior Linux experience assumed
  • Optional: WSL on Windows, or access to any Linux shell for practice

Questions before you start

How much time does Linux & Shell Basics take?

The course is 4 modules and 8 lessons — about 1 hr 33 min of material in total. Lessons unlock in order, so the time it takes you depends on how much of each lesson you actually read.

Do I get a certificate?

Yes. Finish every lesson and a certificate is issued automatically. Its serial is public: anyone can check it at https://tieedu.com/verify without an account, and a revoked certificate stops verifying.

Is it really free?

Yes — this course is free, and there is nothing to buy to start it.

How is my progress tracked?

On the server, lesson by lesson. Time is credited at real-time speed and capped, so a lesson cannot be marked complete faster than it can be read. That is why the percentage survives a new device.

How do ratings work?

Only learners who finished the course can rate it, and the average shown is calculated from those ratings alone. A course nobody has finished yet carries no rating rather than a default one.

See all

Git & GitHub Mastery

Beginner · Tools

From first commit to confident collaboration — snapshots, branching, PRs, hooks and disaster recovery

4 modules8 lessons1 hr 30 min
FreeNew

SQL & Databases Mastery

Beginner · Databases

Query, join, aggregate, design and tune the database every placement test and production service depends on

4 modules8 lessons2 hr 10 min
FreeNew

Aptitude & Reasoning Mastery

Beginner · Career

Clear the OA round - the highest-frequency quant and reasoning topics from TCS, Infosys, Wipro and Capgemini, taught with the shortcuts that save minutes

4 modules8 lessons2 hr
FreeNew

Basic Electrical Engineering (BEE)

Beginner · Electrical Engineering

DC circuits, network theorems, AC fundamentals and machines — the universal first-year subject, exam-ready

4 modules8 lessons1 hr 23 min
FreeNew

Free · lifetime access

Candidate Verified

Real interview questions verified by candidates placed at top tech firms.

View-Only PDF Security

Watermarked licensed PDFs, server-side unlock checks — no raw download paths.

Honest, Server-Driven

Pricing, coupons and unlocks are verified by the backend — no bypasses.

TieEdu — Learn, Evolve, Develop

© 2026 TieEdu Technologies. All rights reserved.

Built for placement season within India

Visitors who arrive through an email link are remembered with a first-party cookie so we can see which pages that mail led them to — never the other way round, never on login or admin pages, and never for anonymous visitors. Every email carries a one-click unsubscribe that stops both mailings and tracking.