Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
comapring string with shell script
Name: mehul Date: April 10, 2003 at 14:52:54 Pacific OS: sun CPU/Ram: sun
Comment:
Hi , I am trying to write the script , i want to run particular task only on tue and fri, its not working what am i doing wrong can someone help...am i missing some bracket or i have to use -o (Boolean OR)...i have tried through sanityrun_day=`date '+%a'` if[ $sanityrun_day = 'Tue'-o $sanityrun_day = 'Fri' ] then echo "correct" else echo "no correct today is $sanityrun_day" fi
Summary: Can anyone help me with this assignment. Write a shell script file to read 5 student names (First and Last name) and their grades using a while loop. Find the average, maximum and minimum of grades ...
Summary: I want to drive a shell script that will search a word in a text file and then display the line contains that word. For example: I have the file named blah.txt Delon:Alan:318:321:789 Beckham:David:38...
Summary: Hi, I was wondering if anybody knew how to make a shell script that will make a backup of a file example (mv out out.bak) but the next time you run the script i want the original backup file to still ...