Hello,
I need to write a bash script that will perform the following tasks:
Create a file test.txt in the lab1 directory
If file test.txt already exists, script should inform user and create the file after deleting existing file
Change permissions of file test.txt to 755
Display exit status of the permission change command
Display contents of the lab1 directory
I am new to scripting and am practicing using the example. Any help/suggestions will be appreciated.
HI there,
|