Downloaded Shell Samurai : Master the Linux Command Line

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"

Linux is an essential skill in the toolbelt of any IT professional. Whether you're a Software Developer, Network Engineer, Cloud Engineer, or Security Analyst, Linux is a skill you'll need to have down to perform your job. Shell Samurai introduces Linux in a beginner-friendly format. It starts by introducing Linux and then invites users to dive head-first into the command-line. By the end of Shell Samurai, you'll be prepared to navigate the Linux shell like a boss.

Author(s): Stetson Blake
Publisher: Leanpub
Year: 2023

Language: English
Pages: 231

Preface
Book Changelog
Need Help?
Acknowledgements
Syntax Used In This Book
How this book is structured
Introduction and Thank You
Who Am I and Why Am I Worth Listening to?
Why You Should Learn Linux
What is a Shell Anyway?
Why You Should Use the Command-Line
Who This Book is For
What You Should Know Already
What is a Shell Samurai?
1. Setting Up a Lab Environment
Lab Setup Intro
Install Linux on an old Laptop or Desktop computer
Use Windows Subsystem for Linux or WSL
Use Virtualization Software
Dual Boot
Use a Server from A Cloud Host
Using Cloud Hosting Setup Tutorial
Setting up Digital Ocean VPS
Creating a Droplet
Connecting To Your VPS
Troubleshooting Key Errors
Other Methods of Connecting to your VPS
2. Linux Fundamentals
What is Linux?
Linux Distributions
Debian
Ubuntu
RHEL
Fedora
Arch
What is The Kernel?
Kernel Space vs User Space
Interrupts
What is a System Call?
Signals
Everything is a file? Always has been
Linux Directory Structure
An Overview of Filesystems
Devices
What is a daemon?
Boot Process and Init, systemd
What's a TTY?
inodes
3. White Belt Command Line Skills - The basics, file manipulation, etc
Intro to the Shell - pwd, cd and basic ls
more ls, mkdir, cat, touch, copy and move
Users, Groups, Root and Sudo
File Permissions
Flying Around the Command Line with Shortcuts
file
rm — Proceed with extreme caution
Helping Yourself with help, man and tldr
Installing Packages and Programs
Compressing Files and Uncompressing Them
The Environment
whereis and which
Shutting the System Down
Aliases - Not just for Criminals, Spies and Detectives
4. Black Belt Command Line Skills - Output Redirection, Text and More
Black Belt Intro
Compiling Code from Source
Managing Processes
stdout, stdin and stderr
Symlinks and Hardlinks
Chaining Commands in the Shell with ; and && Operators
Text Processing
Editing Text with Nano
Text Editing Like a Boss with Vim
Pipe -- Not Just for Plumbers
Tee -- Not just for Old English Ladies and Golfers
Grep - I will find you and I will grep you
Regular Expressions with Grep
cut
Counting Lines with Word Count
sed and awk
Uniq and Sort
Making Heads and Tails of it
Spying on syscalls with strace
Finding Files with Find
Swap Space
Scheduling tasks with cron
Secure Shell or SSH
CURL - Not just for Olympians and Hair Stylists
jq - Processing JSON
Tmux - Secret Background Windows
lsof
The /proc directory
troubleshooting low disk
Logs - Not Just for Lumberjacks
Log Rotate - Don’t let the disk fill up!
5. The Network
The Network
DNS - The Yellow Pages of the Internet
Transferring files with rsync and scp
6. Real World Samurai Skills and Interview Questions
Intro
Installing Nginx Web server
Using Git and Version Control
Interview Questions and Scenarios
Outro