Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i was trying to get the output for my bash script it shows me : line17 has problem?? File Edit View Search Terminal Help #!/bin/bash
i was trying to get the output for my bash script it shows me : line17 has problem??
File Edit View Search Terminal Help #!/bin/bash #alan student ID:041016459 #idprefix=user #gid=$uid #uid=100 #PWD=$(openssl rand -base64 12) for I in 'seq 1 15 do echo "UserName: Password:UID:GID:comments: HomeDirectory:UserShell ${idoprefix}${i}:${PWD}xadfsfdygyd:${uid}${1}/home/${idprefix}${i do echo - }/bin/bash" done "15user.sh" 22L, 303C 15,71 All use. ./15user.sh: line 17: syntax error near unexpected token 'do' -/15user.sh: line 17: 'do' letto ![image text in transcribed](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3d904af426_83666f3d9045030c.jpg)
![image text in transcribed](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3d9053ee9a_83666f3d904dc492.jpg)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started