Book Image

Learn Linux Quickly

By : Ahmed AlKabary
Book Image

Learn Linux Quickly

By: Ahmed AlKabary

Overview of this book

Linux is one of the most sought-after skills in the IT industry, with jobs involving Linux being increasingly in demand. Linux is by far the most popular operating system deployed in both public and private clouds; it is the processing power behind the majority of IoT and embedded devices. Do you use a mobile device that runs on Android? Even Android is a Linux distribution. This Linux book is a practical guide that lets you explore the power of the Linux command-line interface. Starting with the history of Linux, you'll quickly progress to the Linux filesystem hierarchy and learn a variety of basic Linux commands. You'll then understand how to make use of the extensive Linux documentation and help tools. The book shows you how to manage users and groups and takes you through the process of installing and managing software on Linux systems. As you advance, you'll discover how you can interact with Linux processes and troubleshoot network problems before learning the art of writing bash scripts and automating administrative tasks with Cron jobs. In addition to this, you'll get to create your own Linux commands and analyze various disk management techniques. By the end of this book, you'll have gained the Linux skills required to become an efficient Linux system administrator and be able to manage and work productively on Linux systems.
Table of Contents (24 chapters)

A few simple commands

Congratulations on learning your first Linux command (date). Now let's keep learning more!

One would usually display the calendar after displaying that date, right? To display the calendar of the current month, you can run the cal command:

Figure 18 : The cal command

You can also display the calendar of the whole year, for example, to get the full 2022 calendar, you can run:

Figure 19: The cal command for the year 2022

You can also specify a month, for example, to display the calendar of February 1993, you can run the command:

Figure 20: The cal command for February 1993

You now have a lot of output on your Terminal. You can run the clear command to clear the Terminal screen:


Figure 21: Before clear

This is how your Terminal will look after running the clear command:

Figure 22: After clear

You can use the lscpu command, which is short for List CPU, to display your CPU architecture information:

elliot©ubuntu-linux:-$ lscpu 
Architecture: x86_64...