Linux Basic Commands 1748453726
Linux Basic Commands 1748453726
What is Linux?
Linux is a free and open-source operating system known for its security, multitasking, and multi-user capabilities. It
primarily uses a command-line interface (CLI), making it a powerful tool for developers and system administrators.
An Operating System (OS) acts as an interface between the hardware and the user. It enables applications like web browsers,
office software, and games to function properly by managing hardware resources.
Feature Description
Multiuser & Multitasking Supports multiple users and running tasks at the same
time.
RedHat
Ubuntu
Debian
CentOS
Fedora
OpenSUSE
Kali Linux
Amazon Linux
Rocky Linux
History of Linux
Released on September 17, 1991 by Linus Torvalds, a student from the University of Helsinki.
First version: Linux 0.01, written in C language.
Originally considered naming it "Freax", but it became "Linux".
Now powers a wide range of devices including supercomputers, phones, routers, and smart appliances.
Key Components
Kernel
The core of Linux that handles communication between hardware and software.
Shell
The interface between the user and the kernel. Two common types:
Terminal
User Permissions
System Commands
Hardware Commands
File Commands
Permission Commands
User Commands
Search Commands
Networking Commands
File Commands
Copy Command
Move/Rename Command
2. Hardware commands
Command Description
3. File Commands
Command Description
4. Permission Commands
Command Description
5. User Commands
Command Description
6. Search Commands
Command Description
7. Networking Commands
Command Description
Command Description
9. Package Management
Depends on the distribution you're using (e.g., Ubuntu vs. RedHat)
Command Description
bash
CopyEdit
#!/bin/bash
bash
CopyEdit
chmod +x script.sh
./script.sh
Variables name="Linux"