Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT

ℼ

OS Week 02 Assignment #5: Script Download

Download https://os.vlsm.org/WEEK/WEEK02.tar.xz.asc

mkdir -pv $HOME/mywork/
cd $HOME/mywork/
wget -c https://os.vlsm.org/WEEK/WEEK02.tar.xz.asc
ls -al

ℼ

Decrypt file WEEK02.tar.xz.asc

gpg -o WEEK02.tar.xz -d WEEK02.tar.xz.asc
ls -al

ℼ

Extract TARBALL

tar xfv WEEK02.tar.xz
cd WEEK02/
ls -al

ℼ

Check Scripts

for II in [0-9][0-9]* ; do
    echo ""
    echo "= === ==== FILE $II..."
    echo "= === ==== ==== ==== ==== ==== ==== ===="
    cat  "$II"
    sleep 2
done

ℼ

Run Scripts

bash 00-Basic-Check.sh

bash 01-Version-Check.sh

ℼ

Check RESULT

cd $HOME/RESULT/W02/
ls -al

The result will be similar to the following. Check if there are error messages inside these files:

ZCZC 0DD0ABC WEEKSQ 02 00
ZCZC 0DD7FEA VERSUM 21:F78732C7 21:B274C337
ZCZC 0DDDB0D VERINC 45:77105089 45:77105089
ZCZC 0DD07CA SCRIPT # REV05: Mon 11 Sep 2023 19:00
ZCZC 0DD58A6 XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 6
ZCZC 0DD76D1 VERDSK Size 23G 2AB74ACBA35B
ZCZC 0DD38BC VERLNX 6.1.0-12-amd64
ZCZC 0DDB31B RESULT ===== RESULT IN /home/cbkadal/RESULT/W02/WEEK02-00-BASIC.txt =====
ZCZC 0DD2B27 CHDIR1 RESULT YES
ZCZC 0DD1457 CHDIR2 mydemo YES
ZCZC 0DD1473 CHDIR3 mywork YES
ZCZC 0DDBCD7 CHDIR4 git/os232/TXT YES
ZCZC 0DD3FD2 CHDIR5 git/os YES

OK:    Coreutils 9.1    >= 7.0
OK:    Bash      5.2.15 >= 3.2
OK:    Binutils  2.40   >= 2.13.1
OK:    Bison     3.8.2  >= 2.7
OK:    Diffutils 3.8    >= 2.8.1
OK:    Findutils 4.9.0  >= 4.2.31
OK:    Gawk      5.2.1  >= 4.0.1
OK:    GCC       12.2.0 >= 5.1
OK:    GCC (C++) 12.2.0 >= 5.1
OK:    Grep      3.8    >= 2.5.1a
OK:    Gzip      1.12   >= 1.3.12
OK:    M4        1.4.19 >= 1.4.10
OK:    Make      4.3    >= 4.0
OK:    Patch     2.7.6  >= 2.5.4
OK:    Perl      5.36.0 >= 5.8.8
OK:    Python    3.11.2 >= 3.4
OK:    Sed       4.9    >= 4.1.5
OK:    Tar       1.34   >= 1.22
OK:    Texinfo   6.8    >= 5.0
OK:    Xz        5.4.1  >= 5.0.0
OK:    Linux Kernel 6.1.0 >= 4.14
OK:    Linux Kernel supports UNIX 98 PTY
Aliases:
OK:    awk  is GNU
OK:    yacc is Bison
OK:    sh   is Bash
Compiler check:
OK:    g++ works
ZCZC 0DA45E7 WEEKSQ 02 01
ZCZC 0DA875A VERSUM 73:63A2EB25 73:63A2EB25
ZCZC 0DA0125 VERINC 45:77105089 45:77105089
ZCZC 0DAE514 SCRIPT # REV07: Mon 11 Sep 2023 17:00
ZCZC 0DA4A7C RESULT ===== RESULT IN /home/cbkadal/RESULT/W02/WEEK02-01-VERSION.txt =====

ZCZC 0DFEA9C DEMOCHECK poxnqnyJ02poxnqny

ℼ

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT