Write a BASH SCRIPT or BASH COMMANDS. Make 2 arrays. One regular index array called array. One associative array called hash with 3 elements in it and a string variable called str with at least 5 characters where one of those characters is duplicated twice (i.e., in the string at least 3 times). Next echo both arrays as strings on a single line. Then save just a portion of your indexed array to a new array variable. Lastly write a loop to print out each item of the new array on a line by itself.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here