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 03 Assignment #3: Script Download

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

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


Decrypt file WEEK03.tar.xz.asc

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


Extract TARBALL

tar xfv WEEK03.tar.xz
cd WEEK03/
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

bash 03-WEEK03.sh


Check RESULT

cd $HOME/RESULT/W03/
ls -al


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

ZCZC 3625463 WEEKSQ 03 00
ZCZC 362770F VERSUM 23:3DCB942A 23:3DCB942A
ZCZC 362F9D9 VERINC 48:16D032A7 48:16D032A7
ZCZC 36267D8 SCRIPT # REV06: Sun 17 Sep 2023 17:00
ZCZC 36210E5 XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 4
ZCZC 3628A1D VERDSK 23G 32G 2AB74ACBA35B 94C4C6D37149
ZCZC 362F532 CMOUN1 /dev/sdb2 /mnt/lfs ext4 rw,relatime 0 0
ZCZC 36258CA CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 362DB8E VERLNX 6.1.0-12-amd64
ZCZC 362A0BC DISTRO Description: Debian GNU/Linux 12 (bookworm)
ZCZC 362AF0C CHDIR1 RESULT YES
ZCZC 362AE1A CHDIR2 mydemo YES
ZCZC 36202D5 CHDIR3 mywork YES
ZCZC 362E177 CHDIR4 git/os232/TXT YES
ZCZC 3620D93 CHDIR5 git/os YES
ZCZC 362A73A RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-00-BASIC.txt =====


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 3604AB9 WEEKSQ 03 01
ZCZC 360A993 VERSUM 73:3F6FA35E 73:3F6FA35E
ZCZC 3608ED2 VERINC 48:16D032A7 48:16D032A7
ZCZC 3609470 SCRIPT # REV07: Mon 11 Sep 2023 17:00
ZCZC 360990F RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-01-VERSION.txt =====


ZCZC 36C4BAC WEEKSQ 03 03
ZCZC 36C6505 VERSUM 24:10E1D0A3 24:10E1D0A3
ZCZC 36CB238 VERINC 48:16D032A7 48:16D032A7
ZCZC 36C5001 SCRIPT # REV04: Sun 17 Sep 2023 17:00
ZCZC 36C12A6 CHDATE 230920 1032
ZCZC 36CDA99 CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 36C4946 FSWRITE Date: Wed 20 Sep 2023 10:32:16 WIB
ZCZC 36CB10C LSFILE -rw-r--r-- 1 cbkadal cbkadal 35 Sep 20 10:32 /mnt/cbkadal/cbkadal.txt
ZCZC 36CB51D CHKUSR Date: Wed 20 Sep 2023 10:32:16 WIB
ZCZC 36C48F6 RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-03-DISK-CHECK.txt =====



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT