Introduction
Imagine you want a powerful tool to control your computer, but you want it to be free and open for everyone to use and improve. Linux solves this by being a free operating system that runs many devices, from phones to supercomputers.
Jump into concepts and practice - no test required
Think of Linux as a community garden where everyone can plant, tend, and harvest plants freely. The kernel is like the garden’s irrigation system, making sure water reaches all plants. Different distributions are like different garden layouts designed for flowers, vegetables, or herbs. Because everyone can help, the garden grows strong and diverse.
┌─────────────────────┐ │ User Space │ │ (Applications & UI)│ ├─────────┬───────────┤ │ Distributions (Distros)│ ├─────────┴───────────┤ │ Linux Kernel │ │ (Core system manager)│ ├─────────┬───────────┤ │ Hardware (CPU, RAM,│ │ Storage, Devices) │ └─────────────────────┘
ls, which stands for 'list'. Other options are not valid Linux commands.mkdir testfolder cd testfolder pwd
mkdir testfolder creates a folder named 'testfolder'. cd testfolder moves into that folder. pwd prints the current directory path.pwd will show the full path including the home directory and 'testfolder'.cd /home/user/docs mkdir newfolder cd newfolder ls -l cd .. cd newfolder
cd /home/user/docs enters docs. mkdir newfolder creates newfolder inside docs. cd newfolder enters it. ls -l lists contents in long format (valid).cd .. returns to docs where newfolder exists. cd newfolder succeeds. All commands valid, no errors.projects inside your home directory, then create a file named notes.txt inside it with some text. Which sequence of commands will achieve this correctly?cd ~ moves to the home directory. mkdir projects creates the 'projects' folder there.cd projects moves inside the folder. echo "My notes" > notes.txt creates 'notes.txt' with the text 'My notes'.