Learn Linux Quickly: A beginner-friendly guide to getting up and running with the world's most powerful operating system

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

If you have always wanted to learn Linux but are still afraid to do so, this book is for you! A lot of people think of Linux as a sophisticated operating system that only hackers and geeks know how to use, and thus they abort their dream of learning Linux. Well, let me surprise you! Linux is simple and easy to learn, and this book is the ultimate proof! You may have stumbled across a variety of sources that all explain Linux in a complicated and dry manner. This book does exactly the opposite; it teaches you Linux in a delightful and friendly way so that you will never get bored, and you will always feel motivated to learn more. Learn Linux Quickly doesn't assume any prior Linux knowledge, which makes it a perfect fit for beginners. Nevertheless, intermediate and advanced Linux users will still find this book very useful as it goes through a wide range of topics. Learn Linux Quickly will teach you the following topics: • Installing Linux • Over 116 Linux Commands • User and Group Management • Linux Networking Fundamentals • Bash Scripting • Automate Boring Tasks with Cron Jobs • Create your Own Linux Commands • Linux Disk Partitioning and LVM • Finding Files on Linux • Understanding File Permissions • Linux Processes And much more! There is no time to waste here! Learn Linux Quickly and kick start your Linux career today!

Author(s): Ahmed Alkabary
Edition: 1
Publisher: Packt Publishing
Year: 2020

Language: English
Commentary: Vector PDF
Pages: 338
City: Birmingham, UK
Tags: Linux; Command Line; Pipelines; Networking; Vim; Storage Management; Regular Expressions; Process Management; User Management; Shell Scripting; Package Management; Elementary

Cover
Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Table of Contents
Preface
Chapter 1: Your First Keystrokes
A little bit of history
Linux today and the future
Installing a Linux virtual machine
Terminal versus Shell
A few simple commands
Knowledge check
True or false
Chapter 2: Climbing the Tree
The Linux filesystem
Navigating through the directory tree
Parent and current directories
Moving around quickly
Go back home!
Take me back!
Hidden Files
Passing command arguments
The touch command
Making directories
Combining command options
Knowledge check
True or false
Chapter 3: Meet the Editors
Graphical editors – gedit and kate
The nano editor
The vi editor
Insert mode
Command mode
Saving and exiting vi
File viewing commands
The cat command
The tac command
The more command
The less command
Heads or tails?
Knowledge check
Chapter 4: Copying, Moving, and Deleting Files
Copying one file
Copying multiple files
Copying one directory
Copying multiple directories
Moving one file
Moving multiple files
Moving one directory
Moving multiple directories
Renaming files
Hiding files
Removing files
Removing directories
Knowledge check
True or false
Chapter 5: Read Your Manuals!
The four categories of linux commands
Determining a command's type
Finding a command's location
What does the command do?
The man page
Help for shell builtins
The info page
The very helpful apropos command
The /usr/share/doc directory
Knowledge check
True or false
Chapter 6: Hard versus Soft Links
File inodes
Displaying file inode number
Creating soft links
Creating hard links
Knowledge check
True or false
Chapter 7: Who Is Root?
Accessing the root user
Setting the root password
The dash difference
Knowledge check
True or false
Chapter 8: Controlling the Population
The /etc/passwd file
Adding users
Modifying user attributes
Defining the skeleton
Changing the defaults
Removing users
The /etc/group file
Adding groups
Adding group members
Primary versus secondary groups
Removing groups
File ownership and permissions
Changing file ownership
Understanding file permissions
Changing file permissions
Directory permissions
Using octal notation
Knowledge check
True or false
Chapter 9: Piping and I/O Redirection
Linux pipes
Input and output redirection
Redirecting standard output
Redirecting standard error
Redirecting all output to the same file
Discarding output
Redirecting standard input
Knowledge check
Chapter 10: Analyzing and Manipulating Files
Spot the difference
Viewing file size
Counting characters, words, and lines
Viewing the file type
Sorting files
Showing unique lines
Searching for patterns
The stream editor
Translating characters
Cutting text
Text processing with awk
Wildcard characters
Regular expressions
Knowledge check
Chapter 11: Let's Play Find and Seek
The locate command
Updating the file database
The find command
Knowledge check
Chapter 12: You Got a Package
What is a package?
The role of a package manager
Where do packages come from?
How to download packages
How to install packages
How to remove packages
How to search for packages
How to show package information
Listing all packages
Patching your system
Knowledge check
Chapter 13: Kill the Process
What is a process?
Parent process versus child process
Foreground versus background processes
Sending signals to processes
Working with process priority
Viewing a process priority
Setting priorities for new processes
Changing a process priority
The /proc directory
Knowledge check
Chapter 14: The Power of Sudo
Examples of privileged commands
Granting access with sudo
User and command aliases
Group privileges
Listing user privileges
visudo versus /etc/sudoers
Knowledge check
Chapter 15: What's Wrong with the Network?
Testing network connectivity
Listing your network interfaces
The ip command
The nmcli command
Checking your IP address
Checking your gateway address
Flying with traceroute
Breaking your DNS
Changing your hostname
Restarting your network interface
Knowledge check
Chapter 16: Bash Scripting Is Fun
Creating simple scripts
The PATH variable
Reading user input
Passing arguments to scripts
Using the if condition
Looping in bash scripts
Using the for loop
Using the while loop
Using the until loop
Bash script functions
Passing function arguments
No browsing for you
Knowledge check
Chapter 17: You Need a Cron Job
Our first cron job
Run every five minutes
More cron examples
Automating system patching
Running a job once
Knowledge check
Chapter 18: Archiving and Compressing Files
Creating an archive
Viewing archive contents
Extracting archive files
Compressing with gzip
Compressing with bzip2
Compressing with xz
Measuring performance
Knowledge check
Chapter 19: Create Your Own Commands
Your first alias
One alias for multiple commands
Listing all aliases
Creating a permanent alias
Removing an alias
Some useful aliases
Adding safety nets
Go crazy with aliases
Knowledge check
Chapter 20: Everyone Needs Disk Space
Where are your devices?
Where is your hard disk?
Adding disks to your virtual machine
Creating new disk partitions
Creating new filesystems
Mounting filesystems
Unmounting filesystems
Permanently mounting filesystems
Running out of space
Corrupting and fixing filesystems
LVM to the rescue
Installing the LVM package
Three layers of abstraction
Creating physical volumes
Creating volume groups
Creating logical volumes
Extending logical volumes
Extending volume groups
Knowledge check
Chapter 21: echo ”Goodbye My Friend”
Where to go next?
Keep in touch
Assessments
Other Books You May Enjoy
Index