CBKADAL
OSP Weekly Assignments
C. BinKadal --- Sendirian, Berhad.


OS Week 01 Assignment #1: Setup a Virtual Debian Guest

  • To setup a virtual Debian guest, visit https://doit.vlsm.org/041.html
    • Hostname: Your GitHub Account (e.g. cbkadal)
    • Username: Your GitHub Account (e.g. cbkadal)
    • Remember: You are not cbkadal! Replace cbkadal with your GitHub Account.


Testing SSH to GitHub.com

ssh -T git@github.com

(RESULT)


Clone repositori OS241 for user “cbkadal”

mkdir -pv $HOME/git/
cd $HOME/git/
git clone git@github.com:cbkadal/os241.git

(RESULT)


Clone repositori DEMOS

mkdir -pv $HOME/git/
cd $HOME/git/
git clone git@github.com:os2xx/demos.git

(RESULT)


mylog: Updating add commit push

  • pull from GitHub.com (e.g. for cbkadal, “os241”)
cd $HOME/git/os241/TXT/
git pull


  • Edit mylog.txt
    • Do not “echo vi”, do “vi” or your other editor.
    • See also here.
echo vi mylog.txt
sleep 1
cat mylog.txt


The 4 GIT MANTRAS: (pull), add, commit, push

git add -A
git commit -m "os241 cbkadal UPDATE mylog.txt"
git push



© 2024-2024 --- C. BinKadal --- Revision: 0053---13-Jun-2024.