Linux and C++ Systems Notes
Linux and C++ Systems Notes Originally published in Chinese on 2022-01-18; this English edition preserves the original scope and technical context. Linux: I mostly complete my learning on Linux. I currently have two computers, an iMac and a laptop, where the laptop is running Linux. I use many commands daily, such as using pipeline outputs with grep for regular expression searches, ifconfig and netstat to check network status, top to view process resources, and iostat to monitor CPU and disk states. I also use basic commands like cd, ls, cp, rm, mkdir, find, and whereis. Additionally, I use scp for remote operations. I also use system calls (open, close, read, write, ioctl, etc.) to interact with the file system in Linux, whereas on macOS, I use dtruss. ...