Lab 1A improve command-line productivity still getting fail on last 2 parts everything else passes what am i missing
if anyone could give me feed back on the lab improve command-line productivity. I have done everything line by line all typing is write get passes on everything in the lab except for the servera and serverb output file
@mathewl1 which course is this for, and what platform are you using to run the lab (share the link)? That’ll help figure out what might be causing the issue.
Are you trying this in RHLS, RHA, or somewhere else? Sharing the URL of the platform where you’re running the lab would help.
The actual link to the content would be helpful. Again, you now have mentioned RH134, but which version as we have several versions of the course out RHEL9 and RHEL10. A screenshot of the particular error from the grading could also help with the assistance too.
I think I sent an email with the screenshot as it wont let me here
Not sure why it won't allow you to attach the screenshot here, but it also didn't come through via e-mail. Based on your URL however, you are accessing the course through Red Hat Academy so that helps answer @TudorRaduta question.
Without more context or details, I'm not really sure what else to tell you to look for as the problem you are describing is somewhat of a mystery right now ...
Lab 1A improve command-line productivity still getting fail on last 2 parts everything else passes what am i missing
We only have one end-of-chapter lab for Chapter 1. The "last 2 parts" could mean anything ... parts of grading? Parts of your script?
student@workstation ~]$ lab grade console-review
Grading lab.
· Checking lab systems ................................................................................. SUCCESS
· Verifying script exists .............................................................................. FAIL
- Confirm the script exists and is in the proper directory
- Command did not exit with the expected code
- Expected: 0, Received: 2
· Verifying script is executable ....................................................................... FAIL
- Confirm the script is executable
- Command did not print the expected message
- '0' not found in command output
· Verifying script uses loops .......................................................................... FAIL
- Confirm the script uses for or while loops
- Command did not print the expected message
- '0' not found in command output
· Verifying servera output file exists ................................................................. FAIL
- Confirm the output file exists and is in the proper directory
- Command did not print the expected message
- '0' not found in command output
· Verifying serverb output file exists ................................................................. FAIL
- Confirm the output file exists and is in the proper directory
- Command did not print the expected message
- '0' not found in command output
· Verifying hostnames in output file for servera ....................................................... FAIL
- Confirm hostname information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying hostnames in output file for serverb ....................................................... FAIL
- Confirm hostname information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying CPU data required in output file for servera ............................................... FAIL
- Confirm CPU information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying CPU data required in output file for serverb ............................................... FAIL
- Confirm CPU information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying CONFIGFILE filtered content for servera .................................................... FAIL
- Confirm SELinux information is present in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying CONFIGFILE filtered content for serverb .................................................... FAIL
- Confirm SELinux information is present in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying LOGFILE filtered content for servera ....................................................... FAIL
- Confirm LOGFILE information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying LOGFILE filtered content for serverb ....................................................... FAIL
- Confirm LOGFILE information in output file
- Command did not print the expected message
- '0' not found in command output
· Verifying comment lines in output file for servera ................................................... FAIL
- Confirm comment lines exist in the output file
- Command did not print the expected message
- '0' not found in command output
· Verifying comment lines in output file for serverb ................................................... FAIL
- Confirm comment lines exist in the output file
- Command did not print the expected message
- '0' not found in command output
Overall lab grade: FAIL
The other way if could be interpreted is based on failed grading. I did none of the lab, but just ran the grade.
So to me, the last 2 would be ...
· Verifying comment lines in output file for servera ................................................... FAIL
· Verifying comment lines in output file for serverb ................................................... FAIL
So if that is the case, you would want to look on /home/student/output-serverX, where X is a/b and see in the output if comment lines exist and they are properly formatted.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.