Description Submission One case won’t pass, so had to be “processed carefully” Bash is reaaaly space sensitive! = with space is for comparison, = without […]
Getting started with conditionals
Description Read in one character from the user (this may be ‘Y’, ‘y’, ‘N’, ‘n’). If the character is ‘Y’ or ‘y’ display “YES”. If […]
The World of Numbers
Description Submissions There’re many possible solutions. Submission 1 Submission 2 References https://unix.stackexchange.com/questions/93029/how-can-i-add-subtract-etc-two-numbers-with-bash
A Personalized Echo
Description Submission References http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_08_02.html
Looping and Skipping
Description Submission Reference https://www.cyberciti.biz/faq/bash-for-loop/
Compile a Linux Kernel Module
Makefile If you have a file, say, traverse.o, then your Makefile should be like the following What $(shell uname -r) basically does is that it […]
Debug C++ Programs with GDB – Single-Threaded & Multi-Threaded
There is also an example program on my GitHub, the text version of the tutorial is also available at: https://github.com/Bill0412/solve-traffic-deadlock References
Install Sublime Text on Kali Linux
Demonstration environment: Kali Linux 64-bit in VMWare Fusion on Mac OS 10.14.5 Note: The Latest Kali Linux uses Debian 8.x as its core Installation Install […]