I was recently starting to setup my usual alias. I ended up needing to pass more information than my alias originally needed
$ alias runserver = 'python manage.py runserver' $ runserver 80 // turns out you need sudo $ sudo runserver 80 $ sudo: runserver: command not found
Now as I was writing this i realized maybe the alias isn't set for root. Could that be it?
If not, could someone explain why this doesn't work.
Please and thank you