Bash Scripting - String Operations
You have a date string
date="2024-06-15". Which command extracts the month part ("06") using substring extraction?date="2024-06-15". Which command extracts the month part ("06") using substring extraction?${date:5:2} extracts "06" which is the month.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions