Read Previous Blogs :
Part 1 : Read Now
Part 2 : Read Now
Part 3 : Read Now
1 ) mkdir :- ( for make directory )
If you want to create a directory on linux, type in linux prompt "mkdir" command and then set the directory name like "myfiles" / "Hello World".
2 ) chmod :-
This "chmod" command is basically use for the change the mod of object, The files can have a r - read, w - write and x for execute permission
For example :
- chmod mode HELLO
- chmod 744 script-sh
- The first number s stand for the who is associated with this "HELLO" file.
- The second number is specified for the group is associated with this file.
- The third number is specified for the everyone else who is not a part of the user or group.
The "chown" command is use for the change the ownership of the file or particular folder or even change the multiple file/folder for a particular user or a group.
>chown owner_name file-name
4 ) cat :-
The most frequently used command is " cat " ( short for "concatenate" )
This command is allows you for the create a single or multiple files, views contents of files also use for concatenate files and redirect output in terminal or files.
Example :-
>cat file.txt
>cat filee1.txt file2.txt
5 ) echo :-
The "echo" command is used for the display a text or a string to the standard output or a files also....
Example :-
$ echo "This is a article of learn Basic Commands of Linux"
$ echo -e "This is an article is for beginners in linux . \n it is an learn basic commands of linus.
Will display the out put :-
>This is an article is for beginners in linux.it is an learn commands of linux
The \n is indicate the new line character is interpreted b the echo-e command
Continue........
Thankyou for read....Do Follow for More
Comments
Post a Comment