How do I create an alias in terminal?
Answer
Here’s how you create persistent aliases in your terminal:
Answer
Here’s how you create persistent aliases in your terminal:
- Open your terminal emulator of choice.
- Type sudo nano ~/.bashrc in your BASH terminal window.
- In that file, add the line: alias c=clear .
- Save out the file by hitting Ctrl + O (in Nano).
- Quit Nano by hitting Ctrl + X (in Nano).
- Close the terminal window.