# Aliases and Small Functions

An alias gives a long command a short name, such as ll for ls -lah, and a small function does the same for a job that needs the word you type after it, such as mkcd to make a folder and go into it.

![Cheat sheet for the lesson Aliases and Small Functions: An alias gives a long command a short name, such as ll for ls -lah, and a small function does the same for a job that needs the word you type after it, such as mkcd to make a folder and go into it.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/bf2998c4f937492b8a12ee176e21f21e.webp)

- Category: Bash
- Level: Apprentice
- Tags: alias, linux, shell-function, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-aliases-and-small-functions-cheat-sheet
