Linux is based on UNIX operating system developed in the 1970s at AT&T Bell Labs and designed to be a free and open-source, making it accessible to everyone which is built on a Linux kernel. Think of the Linux Kernel as the core or 'brain' of the system—it controls how the computer communicates with its hardware and manages resources to keep everything running smoothly. However, the kernel by itself doesn't make a full operating system; it needs additional components and tools to provide a complete user experience.
To create a complete and functional operating system, the Linux Kernel is bundled with a variety of software packages and utilities. Together, these form what are known as Linux distributions. These distributions equip the Linux Operating System with everything users need to run applications and carry out tasks efficiently and securely. Each distribution offers a unique experience, tailored to different user needs and preferences—ranging from beginners to advanced developers.
Installing Linux is fairly simple and straight forward. There are wide varieties of Linux distributions in the market among them the popular ones are Ubuntu, Fedora, SUSE etc. Navigate to the distribution's official website and download the ISO file based on your system type x64 or x86, most of the system type are 64-bit system. Once downloaded, you can create a bootable USB drive using tools like Rufus or UNetbootin, and then follow the installation instructions provided by the distribution to set up Linux on your machine.
There are also multiple options to download and install the Linux distributions using with Virtualization tool such as Hypervisor or Windows subsystems for Linux to run parallelly with your Windows OS. You can also use dual booting with Windows operating system which requires disk partitioning to allocate space of your new Linux OS. Port number 22 is the SSH protocol to remotely connect to Linux operating system. Putty, OpenSSH, WinSCP are the familiar terminal tools allows you to connect to Linux system. Use root@IP_address to login from terminal.
tar -czf archive.tar.gz /path/to/directory – Compress files using gzip
tar -xzf archive.tar.gz – Extract gzipped tarball
tar -cf archive.tar /path/to/directory – Create a tarball
tar -xf archive.tar – Extract tarball
apt-get – APT package handling utility
apt-get install <package> – Install a package
apt-get update – Update package list
apt-get upgrade – Upgrade installed packages
apt-get remove <package> – Remove a package
apt-cache – Query APT cache
apt-cache search <package> – Search for a package
apt-cache show <package> – Show package details
yum – Package manager for RPM-based systems
yum install <package> – Install a package
yum update – Update installed packages
yum remove <package> – Remove a package
dnf – Next-generation package manager (Fedora, CentOS 8+)
dnf install <package> – Install a package
dnf update – Update installed packages
dnf remove <package> – Remove a package
rpm – RPM package manager
rpm -i <package.rpm> – Install an RPM package
rpm -e <package> – Remove an RPM package
dpkg – Debian package manager
dpkg -i <package.deb> – Install a Debian package
dpkg -r <package> – Remove a Debian package
systemctl start <service> – Start a service
systemctl stop <service> – Stop a service
systemctl restart <service> – Restart a service
systemctl enable <service> – Enable a service to start on boot
systemctl disable <service> – Disable a service from starting on boot
systemctl status <service> – Check service status
service <service> start – Start a service
service <service> stop – Stop a service
service <service> restart – Restart a service
service <service> status – Check service status
crontab -e – Edit cron jobs for the current user
crontab -l – List the current user’s cron jobs
crontab -r – Remove the current user's cron jobs
at 09:00 – Schedule a command to run at 09:00 AM
sleep 5s – Sleep for 5 seconds
Sessions to be added
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.