User permission : Linux File Permission - javatpoint
Practice
create file Give user read and execute permission group read and others read permission
create file give user read write execute permission group and others read permission
create a file give user read write permission group execute and others read permission using numbers
Types of Linux Editor
VIM
GNU
NANO
Save the file content
:w – Saves a file and keeps the file open
:q – Exits without saving
:wq – Saves a file and quits
bash shell
#!/bin/bash == called shebang
Korn shell
#!/bin/ksh
Practice Script
Create a script to display 5 favorite quotes "Do your best and leave the Rest."
Create a script to do the following task
make a directory
create a file
write in the file "This is my first created using script"
copy the file to new directory
3. Create a script to display Myname is <value>. I stay in <value>
4. Create a script to add 2 number and display output "The sum <number1> and <number 2> is <SUM>
5. Create a script to display system information like - My system information is as below
uptime, date, present working directory, home directory, username.
6. Read Name and Favourite food from the user and display