TARBALL=WEEK02.tar.xz.asc
TARDIR=$HOME/git/demos/WEEK
if [ -d $TARDIR/ ] ; then
cd $TARDIR/
git pull
mkdir -pv $HOME/mywork/
cd $HOME/mywork/
cp -v $TARDIR/$TARBALL .
ls -al
else
echo "ERROR: no $TARDIR directory!"
fi
gpg -o WEEK02.tar.xz -d WEEK02.tar.xz.asc
tar xfv WEEK02.tar.xz
cd WEEK02/
ls -al
for II in [0-9][0-9]* ; do
echo ""
echo "= === ==== FILE $II..."
echo "= === ==== ==== ==== ==== ==== ==== ===="
cat "$II"
sleep 2
done
bash 00_Basic_Check.sh
bash 01_Version_Check.sh
cd $HOME/RESULT/W02/
ls -al
The result will be similar to the following. Check if there are error messages inside these files:
ZCZC 08DE2A5 WEEKSQ 02 00
ZCZC 081992C VERSUM 24:97E47A0D 24:97E47A0D
ZCZC 082D0EC VERINC 77:F4A6B23B 77:F4A6B23B
ZCZC 08678F8 SCRIPT # REV31: Sun 08 Sep 2024 08:00
ZCZC 0823DAB XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 4
ZCZC 0881D82 LCLANG en_AU.UTF-8
ZCZC 0819552 CMODEL Model name: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
ZCZC 08CA082 VERDSK Size 23G 995EA15D56A7
ZCZC 0825227 MEMORY 7.8Gi(total) 213Mi(used) 6.9Gi(free) 504Ki(shared) 735Mi(buffer) 974Mi(free swap)
ZCZC 083D810 CMOUN1 lfs: does not exists
ZCZC 080954B CMOUN2 cbkadal: does not exists
ZCZC 08F5CA1 CMOUN3 ThisIsADummy: does not exists
ZCZC 08AE9BA VERLNX 6.10.8-VBX64-2409-0
ZCZC 08034C2 DISTRO Description: Debian GNU/Linux 12 (bookworm)
ZCZC 081C1AB CHDIR1 RESULT YES
ZCZC 087151E CHDIR2 mydemo YES
ZCZC 08D3EEA CHDIR3 mywork YES
ZCZC 08BD01C CHDIR4 git/os242/TXT YES
ZCZC 086C800 CHDIR5 git/demos YES
ZCZC 083210F CHDIR6 myBACKUP YES
ZCZC 08A8D2D RESULT ===== RESULT IN /home/cbkadal/RESULT/W02/WEEK02-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.10.8 >= 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 084FC96 WEEKSQ 02 01
ZCZC 0836EFA VERSUM 79:97A65122 79:97A65122
ZCZC 08F4D80 VERINC 77:F4A6B23B 77:F4A6B23B
ZCZC 083AE78 SCRIPT # REV24: Sun 08 Sep 2024 09:00
ZCZC 0804281 RESULT ===== RESULT IN /home/cbkadal/RESULT/W02/WEEK02-01-VERSION.txt =====
ZCZC 18D0043 DEMOCHECK poxnqnyJ02poxnqny