Linux Essentials L02.1 Command Line Basics



Linux Essentials L02.1 Command Line Basics

Linux Essentials L02.1 Command Line Basics

If you are serious about gaining your Linux Essentials certification you can gain a heavily discounted price to my Linux Essentials course via this link:
https://www.udemy.com/learning-linux-essentials-taking-your-first-steps-in-linux/?couponCode=youtube-video
More videos like this online at http://www.theurbanpenguin.com
In this video we take a look at the Linux command line basics and starting to get used to using the CLI, command line interface that Linux uses. Just as many Windows users never use the command line; the same may be said of Linux users. However, even in Windows we are seeing the evolutions from GUI to command line taking greater effect with PowerShell 3. being able to do things repeatably correct from the command line is alsways going to have its importance in any OS. If you would like to work with Linux servers the command line has to be mastered and we can begin right here , right now.

Looking just at the basics we will see how we can open a shell and exit with the exit command or Ctrl + D. We can see how easy it to adjust font size with Ctrl + Shift + + and reduce with Ctrl + -, to clear the screen it is Ctrl + L. We can see how to use commands and space out the arguments and options from commands. All of out commands we type are stored in a history file, .bash_history so they persist even after reboots.

Of course variables come into play to store information about our session, when reading variables they are prefixed with a $ symbol. Typing $ followed by tab tab in quick succession will list all variables as will the env command; additionally the enc command displaying their values.

As we have seen spacing out options will make them seem as two options ; this means that we can create two directories wiht he one command:
mkdir dir1 dir2; but should we want a space in the directory name we can use quotes or the (backslash) character. The video will demonstrate the usage. Finally we will look at ANDing and ORing command together to allow for some simple command line flow control.

The video is just under 30 minutes; however I think you will find it really worthwhile and hopefully entertaining

Comments are closed.