TARBALL=WEEK03.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 WEEK03.tar.xz -d WEEK03.tar.xz.asc
tar xfv WEEK03.tar.xz
cd WEEK03/
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
bash 03-WEEK03.sh
cd $HOME/RESULT/W03/
ls -al
ℼ
The result will be similar to the following. Check if there are error messages inside these files:
ZCZC 16C1627 WEEKSQ 03 00
ZCZC 16CEFCF VERSUM 22:ADAFB63A 22:ADAFB63A
ZCZC 16C3931 VERINC 46:05CC66FB 46:05CC66FB
ZCZC 16CB2D3 SCRIPT # REV24: Thu 22 Feb 2024 10:00
ZCZC 16CE0D3 XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 4
ZCZC 16CD743 VERDSK 23G 32G B9F8C3FFFBC8 F50A521FC2D1
ZCZC 16C0616 CMOUN1 /dev/sdb2 /mnt/lfs ext4 rw,relatime 0 0
ZCZC 16CE2A7 CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 16C96F6 VERLNX 6.7.5-241vbox-01
ZCZC 16C6652 DISTRO Description: Debian GNU/Linux 12 (bookworm)
ZCZC 16C3E18 CHDIR1 RESULT YES
ZCZC 16C55AF CHDIR2 mydemo YES
ZCZC 16C21E1 CHDIR3 mywork YES
ZCZC 16CBED2 CHDIR4 git/os241/TXT YES
ZCZC 16C8418 CHDIR5 git/demos YES
ZCZC 16CE033 CHDIR6 myBACKUP YES
ZCZC 16C1EB4 RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-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.7.5 >= 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 0A15611 WEEKSQ 03 01
ZCZC 0A104BA VERSUM 79:B921D09F 79:B921D09F
ZCZC 0A1CD04 VERINC 46:05CC66FB 46:05CC66FB
ZCZC 0A19F18 SCRIPT # REV19: Wed 14 Feb 2024 23:00
ZCZC 0A1AE5D RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-01-VERSION.txt =====
ZCZC 0A72B78 WEEKSQ 03 03
ZCZC 0A74FCD VERSUM 26:BC26DF35 26:BC26DF35
ZCZC 0A7FAB6 VERINC 46:05CC66FB 46:05CC66FB
ZCZC 0A72DA4 SCRIPT # REV06: Wed 21 Feb 2024 16:00
ZCZC 0A74DDA CHDATE 240221 1629
ZCZC 0A7CDBD CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 0A77F0A FSWRITE Date: Wed 21 Feb 2024 16:29:35 WIB
ZCZC 0A7B6C1 LSFILE -rw-r--r-- 1 cbkadal cbkadal 35 Feb 21 16:29 /mnt/cbkadal/cbkadal.txt
ZCZC 0A756B0 CHKUSR Date: Wed 21 Feb 2024 16:29:35 WIB
ZCZC 0A74872 RESULT ===== RESULT IN /home/cbkadal/RESULT/W03/WEEK03-03-DISK-CHECK.txt =====