How to create alias for Sqlite

Hey everybody,

I started to Go Off Platform and followed the steps given in the What is SQLite lesson.
after setting up sqlite3 successfully on my Git bash I tried to follow the instructions on how to create the shortcut so I won’t have to write every time winpty ./sqlite3.exe but just sqlite3.
link for the lesson: https://www.codecademy.com/paths/data-science/tracks/analyze-data-sql-go-off-platform/modules/analyze-data-sql-learn-off-platform/articles/what-is-sqlite

so i executed the following command as instructed:
echo “alias sqlite3=“winpty ${PWD}/sqlite3.exe”” >> ~/.bashrc
and then
source ~/.bashrc

but after doing all of this I get this:
image

As you can see only when I again wrote winpty ./sqlite3.exe it entered the progrem.

Would love to know what to do next! :slight_smile:

1 Like