Linux Command Line Tutorial

Youtube Playlist


Hello, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Linux is a computer operating system. There are two kinds of user interface. One is a Graphical User Interface(GUI) and another one is Command Line Interface(CLI). We all know how to use a GUI. GUI is easy to use, so why bother learning CLI?

One word, Speed! You can do things way faster with CLI than you will ever be able to do with GUI. It is possible to create tens of thousands of folders in few seconds with one simple shell script.

We will be starting with basic concepts such as ls, cd, mkdir and we will go all the way up-to nano editor.

It is going to be an amazing journey all along. I promise you will learn a ton and enjoy all in one playlist.

Linux Command Line Tutorial Playlist

8 | cp command

Linux Command Line Tutorial


In this video we will learn how to use cp command. cp stands for copy.cp is used to create copy of file and folder. It is similar to copy and pasting in Graphical User Interface.

Remeber you can always type man cp to learn more about the command.

We will also learn about some flags along with cp command:

-i
-r
-v

Thank you 🙂

7 | rm and rmdir

Linux Command Line Tutorial


In this video we will learn how to use rm and rmdir commands. rm stands for remove and rmdir stands for remove directory.

We will also be looking at some of the flags which can be useful along with these commands.

Flags we will learn to use are:

rmdir:
-p

rm:
-r

Thank you 🙂

6 | > and >> command

Linux Command Line Tutorial


angle bracket “>” is used for redirection of output from terminal to a specific file. > can be used along with any command which displays output on the terminal.

“>>” is used to append output to preexisting file.

If you have any requests for future videos you can POST them in the comments or mail it to me.

Thank you 🙂

5 | cat command

Linux Command Line Tutorial


In this video we will learn how to use cat on linux terminal. cat means concatenate and print files. We can use cat command to display content of a file. It can also be used to combine files. cat can also be used to create new files.

Flags:

-n : display line number including line breaks

-b : display line number excluding line breaks

-s : will squeeze unnecessary line breaks(leave only one line break if exist)

-e : show $ symbol at end of each line break

If you have any requests for future videos you can POST them in comments or mail it to me.

Thank you 🙂

4 | mkdir command

Linux Command Line Tutorial


mkdir command is used to make directory inside present working directory.

Flag:

-p : this flag is used to create tree structure directory(Example: /test/one/two/three)

If you have any requests for future videos you can POST them in comments or mail it to me.

Thank you 🙂

3 | cd command

Linux Command Line Tutorial


cd command is used to change present working directory. We can also pass in directory path along with cd command. Path can be both absolute and relative.

If you wish to cd to a directory with space in the name. For exampe “New Folder”. You should sorround name of the directory with quotation mark.

Example: cd “New Folder”

If you have any requests for future videos you can POST them in comments or mail it to me.

Thank you 🙂

2 | ls command

Linux Command Line Tutorial


ls command is used to list contents of present working directory. It can also list contents of any given path be. Path can be both absolute and relative path.

We will also learn about certain flags which can be used to modify or narrow down the listing.

If you have any requests for future videos you can POST them in comments or mail it to me.

Thank you 🙂

1 | introduction

Linux Command Line Tutorial


Linux is a computer operating system. There are two kind of user interface. One is Graphical User Interface(GUI) and another one is Command Line Interface(CLI). We all know how to use a GUI. GUI is easy to use, so why bother learning CLI?

One word, Speed! You can do things way faster with CLI than you will ever be able to do with GUI. It is possible to create tens of thousands of folder in few seconds with one simple shell script.

If you have any requests for future videos you can POST them in comments or mail it to me.

Thank you 🙂