Shell functions are more powerful than aliases — they accept arguments ($1, $2, etc.) and can contain logic. This classic function creates a directory (with -p for nested paths) and immediately changes into it. Add to .bashrc/.zshrc.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.