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 |
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
What is batch file programming?
Is shell and terminal the same?
What is basename in shell script?
What is sudo command?
what is info area how many types?
How do I run a .sh file on mac?
State the advantages of shell scripting?
Explain about "s" permission bit in a file?
What are the different methods available to run a shell script?
How do you debug a script?
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.