Thanks sir for this and i request you to please continue the linux interview question and answer series after the 13th part for completing the 200 question. Thanks you so much sir
Hi Abhishek, first of all thankyou so much.......Really u r doing wonderful job (very crystal clear explanation )done here............ ur entire video ( at free of cost) will be helped to all who are trying to get a job in IT field .......... i will share ur youtube link with my circle ...........👏👏
Hi Abhishek, I have an interview tomorrow morning ..is there any possibility to conduct my mock interview before tomorrow 11am by any chance??? Thankx in advance!!
Just now I have seen your comment Nitu. I don't think so it's possible Now. For the mock interview you need inform me 2-3 days prior to the mock interview and according that i will schedule routine and adjust my timing accordingly. Going forward join the membership where every Monday, Wednesday and Friday I connect with my members at 10 PM. Click the link below. ru-vid.com/show-UCn2ZGN0TEGhgoDDiT8S3m4wjoin
I have used the method to get the "epoch" time for both dates, and then just subtract the two values to get the number of seconds between the two dates. From there, we can divide that value by the number of seconds in a day (60 seconds per minute, 60 minutes per hour, and 24 hours per day) to get the difference between the two dates in days.
Hi, Course is already available in playlist and it's absolutely free of cost. Click on the below link to go though the complete course. ru-vid.com/group/PLPVaGLSxvigIh0YY45D1yWSlus5OVN_k6 And membership is for those who wants to prepare for mock interview for Linux, Devops, AWS cloud , Azure Cloud and Google Cloud Interview and required Complete mentorship to clear the interview.
Calculating months and years using shell scripting can be done using various approaches, often depending on what exactly you need to calculate (e.g., the difference between two dates, adding months/years to a date, etc.). Below are a few examples of how to achieve these tasks using shell scripting. #!/bin/bash # Function to calculate the number of days between two dates date_diff_in_days() { local start_date="$1" local end_date="$2" local start_epoch=$(date -d "$start_date" +%s) local end_epoch=$(date -d "$end_date" +%s) local diff=$(( (end_epoch - start_epoch) / 86400 )) # 86400 seconds in a day echo $diff } # Function to convert days to months and years days_to_months_years() { local days=$1 local years=$(( days / 365 )) local remaining_days=$(( days % 365 )) local months=$(( remaining_days / 30 )) echo "$years years and $months months" } # Start date and end date start_date="2020-01-01" end_date="2023-05-21" # Calculate the difference in days diff_in_days=$(date_diff_in_days "$start_date" "$end_date") # Convert days to months and years result=$(days_to_months_years $diff_in_days) echo "The difference between $start_date and $end_date is approximately $result"
Could you provide more details about the particular script you're referring to? Being more specific will help me better understand and address your question