Results 1 to 2 of 2
Hello, I am fairly new to this site and am new at studying unix/linux OS. Recently I had an assignment involving finding a script that had run an administrative task ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-16-2010 #1
- Join Date
- Oct 2010
Hello, I am fairly new to this site and am new at studying unix/linux OS. Recently I had an assignment involving finding a script that had run an administrative task such as checking file systems periodically. With it, I had to take each line and describe in my own terms what each line was doing. I am actually stumped at the moment and could use any guidance or reference in any direction as to how to proceed and successfully finish in defining each line of script.
For example, I know that the line outputing -- PN=`basename "$0"` is stating that it assigns a value to the variable PN the tick marks, `, will execute a shell command, and in this statement, store the results in the variable named PN. The basename command is used to change a filename extension
I am not sure about the rest.
attached you ind the script
- 10-17-2010 #2
i suggest you read more about Linux Shell Scripting and first search in google you get may answers or wait for a guru to read your script reply .
Linux Shell Scripting Tutorial - A Beginner's handbook
Advanced Bash-Scripting GuideTake risks: if you win, you will be happy; if you lose, you will be wise.
New Users : Read This First