Ben Chuanlong Du's Blog

It is never too late to learn.

Command Line Tools for Mac File System

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

Note: When work both in Linux and macOS, a painful burden to use command-line is to remember subtle differences between Linux commands and macOS commands. A a matter of fact, GNU …

Show Image in Terminal

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

viu is a simple terminal image viewer written in Rust. It works perfectly in kitty . In terminals which does not support inline image display protocols, viu will show the image in …

Quickly Open a Directory in Terminal in Mac

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

OpenInTerminal is a Finder Toolbar app for macOS to open the current or selected directory in Terminal, iTerm, Hyper or Alacritty.

Installation and Configuration

  1. Install OpenInTerminal

    brew cask install openinterminal
    
  2. Launch …

Print Colored Text in Terminal

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

https://stackoverflow.com/questions/287871/how-to-print-colored-text-in-terminal-in-python