Linux terminal commands, tutorials, wallpapers, free bash scripts, unix programming, tips & tricks, hacker & security news.

Linux essentials – command line basics

Linux essentials – command line basics
image_pdfimage_print

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.

About The Linux Terminal

We should take care not to make the intellect our god; it has, of course, powerful muscles, but no personality.
Albert Einstein
Anyone who conducts an argument by appealing to authority is not using his intelligence; he is just using his memory.
Leonardo da Vinci

widget-safety-badge-preview-02-fotoshooting NortonSafeWeb spamhauslogomcafee-site-advisor-logomcafee-site-advisor-logo

Categories

Calendar

May 2016
M T W T F S S
« Apr    
 1
2345678
9101112131415
16171819202122
23242526272829
3031