Everything is similar to the previous two videos in the series. The only difference is in this video we will learn how to use chmod with octal numbers.
In Octal
r = 4
w = 2
e = 1
This tutorial covers how to use the chmod command to change the access permission of files and directories.
In Linux, the file is associated with an owner and a group and assigned with permission access rights for three different classes of users:
The file owner
The group members
Others(everybody else)
File permissions can be changed. In order to do that we make use of chmod command.
There are three file permissions that apply to each class:
Everything is similar to the previous video the only difference is we will see the behavior of directories and its contents when changing their permissions.
This tutorial covers how to use the chmod command to change the access permission of files and directories.
In Linux, the file is associated with an owner and a group and assigned with permission access rights for three different classes of users:
The file owner
The group members
Others(everybody else)
File permissions can be changed. In order to do that we make use of chmod command.
There are three file permissions that apply to each class:
When working on the command line, quite often you will need to create or edit files. Two of the most famous and powerful command-line editors are Vim and emacs. On the other hand, they are equally difficult to learn. But there is a simpler editor available to just get things done and that is nano.
All commands are prefixed with a control(^) character or metacharacter(M). caret symbol represents control and M represents Meta. Control will generally be your control key. Meta character depends on the keyboard setup. It can either be an Esc key, alt key, or a special meta key.
In this video, I will help you learn the basic usage of the nano editor, including how to create an open file, edit a file, save a file, search and replace text, cut and paste text, and more.
If you wish to get more help, while inside nano editor hit: ^G
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.
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.