Fundamentals of Linux
Day 2 of 90
Linux Fundamentals
Linux is an open-source operating system that is widely used in a variety of applications, from personal computing to large scale server administration. It is known for its stability, security and versatility; making it a popular choice for many users. Below I have written about some basics of Linux every IT personnel should know.
Linux is available in many different versions, known as distributions or "distros." or simple words; Linux flavours. These distros vary in their user interface, package management system, and default applications. Some popular Linux distros include Ubuntu, Fedora, Debian, and CentOS.
The Linux file system is structured differently than that of Windows or Mac OS. The root directory, represented by "/", is the top level of the file system. Everything in Linux is treated as a file, including directories, devices and even processes. Directories are used to organize files, and they are indicated by a forward slash ("/") in the file path.
Unlike Windows or Mac OS, Linux has a powerful command-line interface (CLI) that allows you to interact with the system using text commands. The CLI is often used for system administration tasks and is essential for any user who wants to become proficient in Linux.
Here are some basic CLI commands to get you started in Linux:
Another important aspect of Linux is user management. In Linux, user accounts are used to control access to system resources, such as files and directories.
Here are some basic CLI commands to manage user accounts:
User accounts are associated with permissions that determine what actions they can perform on the system.
There are three main types of permissions in Linux:
Recommended by LinkedIn
Permissions are set using a series of three numbers, each representing the permissions for a specific user group.
The numbers are calculated as follows:
Linux offers a wide range of software packages that can be installed and managed using package management tools. Linux uses package management systems to install, update and remove software. Package managers help users avoid the hassle of manually downloading and installing software and they ensure that the system stays up to date and secure. Popular package management systems include apt, yum, and pacman.
Here are some basic CLI commands to manage software packages:
Package management tools allow you to easily install, remove and update software packages, ensuring that your system is always up to date and secure
Networking is another important aspect of Linux. Linux offers a wide range of networking tools and utilities that can be used to manage network connections, configure firewalls, and perform network troubleshooting.
Here are some basic CLI commands to manage networking in Linux:
Security is also a major concern in Linux, especially if you're using it for server administration. Linux offers a wide range of security tools and utilities that can be used to protect your system from malicious attacks.
Here are some basic security CLI commands to get you started:
Summary
In conclusion, Linux is a powerful and versatile operating system that can be used for everything from personal computing to large-scale server administration. With some basic knowledge and practice, you can quickly become proficient in using Linux and take advantage of all it has to offer.