How will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)
Answer / kirtiranjan sahoo
55 23 28-31 * * [[ "$(date --date=tomorrow +\%d)" == "01" ]] && myjob.sh
| Is This Answer Correct ? | 1 Yes | 0 No |
How to find all the files modified in less than 3 days and save the record in a text file?
What is a shell made of?
if i have 2 files file1 and file2.... file1 contains 2 columns like b a 11 aa 12 as 13 ad 15 ag 11 ar 13 ah 15 ak file2 contains b c 10 ds 11 at 15 gh 15 jk 13 iu 11 fg 13 yy can any 1 give me the program to display in this way? a b c aa 11 at ar 11 fg ad 13 iu ah 13 yy ag 15 gh ak 15 jk
Is shell scripting easy to learn?
Why is the use of shell script?
What does path stand for?
In which variable prompt value is stored?
shell script for reverse the string
What is scripting used for?
How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?
What are the different kinds of loops available in shell script?
If you have a string "one two three", which shell command would you use to extract the strings?