nano ~/.bashrc
alias python=’python3.6’
alias pip=’pip3.6’
ala ()
{
alembic revision --autogenerate -m "$1" && alembic upgrade head && uvicorn main:app --reload --port 8000 --host 0.0.0.0
}
alb ()
{
alembic revision -m "baseline"
}
alu ()
{
alembic upgrade head
}
uvi ()
{
uvicorn main:app --reload --port "$1" --host 0.0.0.0
}
fus ()
{
echo "ROOTPAROLASI\n" | sudo fuser -k "$1"/tcp
}
source ~/.bashrc
Linux
hakkında diğer konular