
Course Introduction: overview on what we’ll be covering in the course
Installing VirtualBox on you own system
Vagrant Initialization
Initialize the Vagrant setup with the initial file to boot the box, import the space image, and observe a successful installation while noting adapters, port forwarding, and authentication.
Explore headless virtual machine setup by using Vagrant and a config file to install a VM without relying on a graphical interface, skipping VirtualBox manager settings.
Set and apply a vagrant host name by editing the vagrant file with vim, then reload the box to apply config.vm.host_name, illustrating vagrant file basics and reload workflow.
Explore essential Linux commands like cd, ls, and pwd, practice tab autocomplete, and learn to navigate the Vagrant box and shared directory using aliases for productivity.
Create one-word aliases to reach directories and chain commands, test them, and ensure correct navigation. Save aliases in bashrc to make them permanent.
Learn to create linux aliases by editing the basher file, so commands persist across sessions. Try log rotate and vagrant, plus colorized grep and ls, and two-level and three-level navigation.
Learn how vagrant shared directories enable seamless file exchange between your host and the vagrant box. Verify the shared file on both systems with md5sum to ensure identical content.
Explore built-in Linux security guardrails, learn to leverage them, and build an initial foundation for users and admins to get started and be more self-sufficient.
Explore the principle of least privilege in Linux file permissions. Learn to read and set owner, group, and users permissions using r, w, x and numeric representations.
Learn how chmod manages linux file permissions, with read, write, and execute per owner, group, and others, using numeric representations like 644 and 744.
Explore Linux permissions and the difference between sudo and su, use sudo for single commands, elevate with su for root tasks, and follow the least privilege principle.
Explore the difference between sudo and su for running privileged commands, and understand why switching to the root user can increase security risks.
Learn to use linux manpages to get help on commands in the terminal, study descriptions and options, and apply them with commands like ls and find for directory tree search.
Learn to use man pages to search for commands with slash and mark, review robust examples of the find command, and interpret permission bits for owner, group, and others.
Learn to search and navigate Linux man pages with slash and question mark patterns. Use keyboard shortcuts to move through pages and read help messages for better man page use.
Learn to get up and running in Linux. Set up VirtualBox and Vagrant for efficiency, and leverage manpages, autocomplete, aliases, file permissions, access control, and sudo.
The Free Newsletter
https://zendannyy.substack.com/
Looking to learn Linux?
This course is aimed for beginners looking to dive into the Linux command line
We will be starting from the initial install and using a setup of VirtualBox and Vagrant, and you will leave having the fundamentals to continue on your learning journey.
Why learn Linux?
Over 90% of the public cloud workload operates on Linux. If you're going to be working in anything cloud related, you will be touching Linux.
Even in our everyday lives, Linux comes into play. In fact, those google searches? They are made possible with Linux behind the scenes.
Why vagrant?
This tool uses a base image to quickly clone a virtual machine, and saves time and resources in the process. It allows for a repeatable process, should you want to get more virtual machine environments after the course.
In the course, I am using MacOS, if you’re using Windows please use Git for Windows as this provides a Bash emulation.
This will align things as closely as possible to using Unix/Linux and will ensure you have an SSH Client.
This course is divided into the following sections
Initial Install
The initial install and setup of VirtualBox and Vagrant.
These downloads are included in Lecture 2
Basic Essential Commands
Where am I?
pwd, ls, ls -lah
Where to?
cd, cd ..
The concept of ~ vs /
How?
How to learn how to use a command
man ls
Productivity Tips
Getting the most bang for your buck at the command line
Tab completion
Aliases
Security Fundamentals
Important Security Concepts to Know
Linux Security
Permissions and access
sudo vs su
Man Pages
How to get help on a command
How to look for examples
Are there any prerequisites for this course?
Just a desire to learn Linux :)
Target Audience
For beginners looking to dive into the Linux command line