A cli alias allows you to set a "shortcut" for a terminal command.
From here: Terminal 101: Creating Aliases for Commands
- Open
~/.bash_profilenano /.bash_profile- or just open it in text editor:
touch ~/.bash_profile; open ~/.bash_profile(from here)
- Add your command:
- i.e.
alias readings='cd Documents/GitHub/USCCB_daily_readings/; python todays_readings.py' - save
- i.e.