Showing posts with label Unix Shell Scripting Tutorial. Show all posts
Showing posts with label Unix Shell Scripting Tutorial. Show all posts
📌Highlights: In this post we will learn about shell programming basic. This post cover so many basic commands which is useful in programming such as comparing string using if statement,different format of if statement, display date & time, use of cut command, type of condition used in shell programming, how to read variable name, Use of case statement, Use of while and Until condition.
📌Highlights: In this post we will learn about shell programming basic. This post cover so many basic commands which is useful in programming such as how we declare variable in shell program, display value of variable, how logical operator used in program, type of Relational operators, how we compare two strings, syntax of if statement with example, how for statement is used and their syntax.
📌Highlights: In this post we know about the shell programming basic. This post cover so many basic commands which is useful in programming such as about editor ,type of mods , how deleting files, how cut/copy/paste file contents, how store in buffer, how find /replace files, how insert blank line in file.
Can we create file in another directory in UNIX ?
Let we understand by the help of example.
Suppose we have two user Raj and Anil. Privilege of Raj is 700 and Privilege of Anil is 777.
here , 700 means ( _ r w_ _ _ _ _ _ _ ) only read write permission. and
777 means ( _ r w x r w x r w x ) all permission.
As we know that :
_ : No permission
r : Only read permission
w : Only write permission
x : Only execution is permitted.
So Raj have only read/write for owner and no other permission for group member and others. Anil have all permission for owner,group and others.