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 10 Assignment #2: Script Download (User Mode)


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

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


Decrypt file WEEK10.tar.xz.asc

gpg -o WEEK10.tar.xz -d WEEK10.tar.xz.asc


Extract TARBALL

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


Check Scripts

for II in [0-9][0-9]*.sh ; do
    echo ""
    echo "= === ==== FILE $II..."
    awk '{print $0; system("sleep .02");}' $II
    echo "= === ==== ==== ==== ==== ==== ==== ===="
    sleep 2
done


Run Scripts

bash 00-Basic-Check.sh

bash 01-Version-Check.sh


Check and Read RESULT

cd $HOME/RESULT/W10/
ls -al


ZCZC 0A76BEB WEEKSQ 10 00
ZCZC 0A77ABC VERSUM 22:0EB59C0C 22:0EB59C0C
ZCZC 0A76280 VERINC 48:76ACA3A6 48:76ACA3A6
ZCZC 0A7DBB1 SCRIPT # REV07: Wed 04 Oct 2023 16:00
ZCZC 0A7DF39 XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 4
ZCZC 0A7F635 VERDSK 23G 32G 2AB74ACBA35B 94C4C6D37149
ZCZC 0A73726 CMOUN1 /dev/sdb2 /mnt/lfs ext4 rw,relatime 0 0
ZCZC 0A7CDBD CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 0A7F242 VERLNX 6.1.0-13-amd64
ZCZC 0A726EA DISTRO Description: Debian GNU/Linux 12 (bookworm)
ZCZC 0A70FED CHDIR1 RESULT YES
ZCZC 0A77124 CHDIR2 mydemo YES
ZCZC 0A7A9AE CHDIR3 mywork YES
ZCZC 0A796B4 CHDIR4 git/os232/TXT YES
ZCZC 0A74AF7 CHDIR5 git/os YES
ZCZC 0A7229D RESULT ===== RESULT IN /home/cbkadal/RESULT/W10/WEEK10-00-BASIC.txt =====


OK:    Apt       2.6.1  >= 2.6
OK:    Bash      5.2.15 >= 5.2
OK:    Binutils  2.40   >= 2.40
OK:    Bison     3.8.2  >= 3.8
OK:    Coreutils 9.1    >= 9.1
OK:    Diffutils 3.8    >= 3.8
OK:    Dpkg      1.21.22 >= 1.21
OK:    Findutils 4.9.0  >= 4.9
OK:    Fusermount 2.9.9  >= 2.9
OK:    Gawk      5.2.1  >= 5.2
OK:    GCC       12.2.0 >= 12.2
OK:    GCC (C++) 12.2.0 >= 12.2
OK:    Git       2.39.2 >= 2.39
OK:    Gnupg     2.2.40 >= 2.2
OK:    Grep      3.8    >= 3.8
OK:    Gzip      1.12   >= 1.12
OK:    Lynx      2.9.0dev >= 2.9
OK:    M4        1.4.19 >= 1.4.19
OK:    Make      4.3    >= 4.3
OK:    Patch     2.7.6  >= 2.7
OK:    Perl      5.36.0 >= 5.36
OK:    Python    3.11.2 >= 3.11
OK:    Rsync     3.2.7  >= 3.2
OK:    Sed       4.9    >= 4.9
OK:    Tar       1.34   >= 1.34
OK:    Texinfo   6.8    >= 6.8
OK:    Vim       9.0    >= 9.0
OK:    Xz        5.4.1  >= 5.4
OK:    Linux Kernel 6.1.0 >= 6.1
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 0A594A0 WEEKSQ 10 01
ZCZC 0A54853 VERSUM 7C:65B2F82D 7C:65B2F82D
ZCZC 0A52172 VERINC 48:76ACA3A6 48:76ACA3A6
ZCZC 0A51A29 SCRIPT # REV09: Tue 17 Oct 2023 15:00
ZCZC 0A55819 RESULT ===== RESULT IN /home/cbkadal/RESULT/W10/WEEK10-01-VERSION.txt =====



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT