Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Identical file validation using shell script?

scmuser created the topic: identical file validation using shell script? Device a script that accepts two directory names, bar1 and bar2, and deletes those files in bar2 which are identical to their namesakes in bar1. rajeshkumar replied the topic: Re: identical file validation using shell script? Solution: #!/bin/bash cd $1 for file in * ; … Read more

Write Script, using case statement to perform basic math operation

scmjobs created the topic: Write Script, using case statement to perform basic math operation Write Script, using case statement to perform basic math operation as follows + addition – subtraction x multiplication / division The name of script must be ‘q4’ which works as follows $ ./q4 20 / 3, Also check for sufficient command … Read more

Run php script using cronjob / crontab

scmuser created the topic: Run php script using cronjob / crontab How can i Run php script using cronjob / crontab??? Any ideA? rajeshkumar replied the topic: Re: Run php script using cronjob / crontab If your PHP scripts do have executable permissions like 755 or -rwxr-xr-x and they have one of the PHP filename … Read more

Shell Script that will add two nos

rajeshkumar created the topic: Shell script that will add two nos How to write shell script that will add two nos, which are supplied as command line argument, and if this two nos are not given show error and its usage #!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek … Read more

Script to find out biggest number from given three nos

rajeshkumar created the topic: Script to find out biggest number from given three nos Write Script to find out biggest number from given three nos. Nos are supplies as command line argument. Print error if sufficient arguments are not supplied. #!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek G. … Read more