Ben Chuanlong Du's Blog

It is never too late to learn.

Clean Temporary Files in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The script purge_cache.sh is a good one for clean cache of various package managers and temporary files on Linux.

Rust for IoT

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

tock-os

tock-os Tock is an embedded operating system designed for running multiple concurrent, mutually distrustful applications on Cortex-M and RISC-V based embedded platforms. Tock's design centers around protection, both from potentially …

Tips on ChromeOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Shortcut Description
ctrl + shift + + Increase size of tabs.
ctrl + shift + + Decrease size of tabs.
ctrl + + Zoom in a page.
ctrl + - Zomm out a page.

PCIe BUS Error: Severity=Corrected, Type=Physical Layer

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Note: You might have to do this every time you upgrade your Linux kernel!!

Symptoms

Below are step-by-step symptoms from superficial to root causes.

  1. Your Linux system becomes very slow even …

Get OS and Architecture Information in Shell

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Command Description
uname -a The full info of the machine.
uname The type of OS, e.g., Linux, Darwin, etc.
uname -m The architecture of the machine, e.g., x86_64, etc …