Linux

The mkdir command in Linux

With mkdir -v -p project/src/assets, each created directory gets its own line. I love how that output makes each new level visible. Choose the directory path you want ready, either beneath your current directory or starting at the filesystem root. See what mkdir creates at that resolved location. What mkdir creates On a GNU Coreutils

The mkdir command in Linux Read More »

The Linux tr Command

With echo ‘mississippi’ | tr -c ‘s’ ‘z’, the final z replaces the line break, so the prompt appears on the same line. I couldn’t resist digging into why tr treats that ending as part of the transformation. Follow tr’s character transformation from standard input to standard output. Choose the operation by deciding which characters

The Linux tr Command Read More »