Skip to content
Courses
ToolsFreeBeginner

Linux & Shell Basics

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

2 learners1 hr 33 minCertificate
  • 4

    Modules

  • 8

    Lessons

  • 1h 33m

    Of material

  • 8

    Graded challenges

  • Beginner
  • English audio
  • English captions
  • Certificate on completion

Capstone · 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 submit: Link to a public gist/repo containing the .sh file, plus a short write-up with the cron line and one sample log.

What you walk away with

A certificate anyone can verify

TieEduCERTIFICATE OF COURSE COMPLETIONCertificate of CompletionThis certifies thatYour namehas successfully completed all lessons ofLinux & Shell BasicsLessons completedXP earnedDate of issueISSUED BYTieEdu Placement IntelligenceSerial · Ed25519 signature

A sample of the certificate this course issues (foundation tier). Yours carries your name, lessons completed, XP, the date, and a serial with a QR code anyone can verify.

  • Verifiable certificate

  • XP on the leaderboard

Learn it lesson by lesson

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.

What you will be able to do

  1. Move around the filesystem with absolute and relative paths confidently
  2. Read and set permissions with chmod for common security needs
  3. Build grep/sed/awk pipelines to search and transform logs
  4. Inspect and stop processes; read systemd service status
  5. Install packages, use ssh, and debug basic network reachability
  6. 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.in/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

Beginner · Tools

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

3 learners4 modules8 lessons1 hr 30 min
FreeNew

Beginner · Databases

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

5 (1 review)1 learner4 modules8 lessons2 hr 10 min
FreeNew

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

3 learners4 modules8 lessons2 hr
FreeNew

Beginner · Electrical Engineering

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

5 (2 reviews)3 learners4 modules8 lessons1 hr 23 min
FreeNew

Free · lifetime access