How to Use Bash Aliases | Ubuntu Terminal

Опубликовано: 22 Апрель 2026
на канале: Jordan44
141
7

I strive to make quick and helpful tutorials about all things computer software. If you have any recommendations or questions leave a comment :)

The commands to use:
emacs -nw ~/.bash_aliases
// This opens the bash_aliases file.

alias alias_name='cd /example/directory/'
// This is the structure of the alias you'd be defining.

source ~/.bash_aliases
// This is necessary to refresh the available aliases and allow the use of your newly defined one.

From there run alias_name or whatever you named it in the terminal and it'll work from then on any time you run it and anytime you open a new terminal.

Timeline:
0:00 What Bash Alias Does
0:11 How to Set Up an Alias
1:01 Using the Alias

#linux #ubuntu #ubuntututorial #ubuntutraining #linuxcommandline #bash #emacs #bashalias #programming #coding #codingtutorial #codingtips #codingforbeginners #programmingtips #programmingtutorial #programminglogic