2
I am creating a system that works online, the user logs in and will have access to a terminal that it can execute only the commands allowed on the server. That’s the thing about:
The user will have to run a Python script and pass parameters, so he would have to give the command:
python arquivo.py arg1 arg2 arg3
I would like to hide the Python command, I know I can configure the Bash file by adding Alias and at the moment I have already configured it like this:
alias executarArquivo='python arquivo.py arg1 arg2 arg3'
But it doesn’t work.
Thank you Ricardo, that’s exactly what I needed.
– NoobSaibot