Category: bash

How to return pid of a last command in Linux / Unix – nixCraft: undefined

Bash get filename from given path on Linux or Unix – nixCraft: undefined

Bash Read Comma Separated CSV File on Linux / Unix – nixCraft: undefined

Command:

curl -A CLI -sD- bit.ly/gevpxbegerng |awk -F/ ’/^Location:/{print $NF}’ |(base64 -di||base64 -Di)

Bash History Display Date And Time For Each Command – nixCraft: undefined

Change default shell to bash on Macos Catalina – nixCraft:

Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. However, I have years of stuff aliases, function and scripts done in bash. So here is how to set and use bash as the default shell.

OpenBSD Install BASH Shell Package Command – nixCraft: undefined

BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS – nixCraft: undefined

Explain: {,} in cp or mv Bash Shell Commands – nixCraft: undefined