Open main menu

CDOT Wiki β

Changes

OPS705 Lab 2 (2227)

64 bytes added, 18:28, 20 September 2022
Running a Shell Script to Check Your Work
# Make certain that your current directory is your home directory.
# Create a new directory called '''bin''': <code>mkdir bin</code>
# Download the Part 1 checking scriptInstall git: <code>wget sudo yum -y install git</code># Using git, download all lab check scripts: <code>git clone https://raw.githubusercontentgithub.com/ops705/labs/main/labcheck2.1.sh -P git /home/your-seneca-id/bin/</code># Give the script all scripts execute permissions(we'll explore permissions in a later lecture): <code>chmod u+x /home/your-seneca-id/bin/labcheck2.1.sh*</code>
# Run the checking script for Part 1: <code>labcheck2.1.sh</code>
#* If you encounter errors, then view the feedback to make corrections, and then re-run the checking script.