Starting my journey in CST334 Operating systems. This week I focused on learning the basics of shell scripting in Linux using Ubuntu in VirtualBox. I learned essential commands like ls, wc, and whoami to gather and display system information within a script. Through this process I learned how to handle user input and use conditional statements to control the program flow. I also practiced using loops to repeat calculations, specifically finding the area of a rectangle and a circle based on user input. I ran into an issue of extended decimal places which in turn pushed me to learn formatted outputs with specific 2 place decimal places. This practice deepened my understanding of Unix command-line tools, scripting logic, and how to create interactive programs using bash.

Comments

Popular posts from this blog