r/learnpython • u/Primary-Pay2119 • 2d ago
Question.. I need answers
How can I automate Phyton so that when I open my laptop it execute commands on my Linux terminal?
I severely need to know how
0
Upvotes
r/learnpython • u/Primary-Pay2119 • 2d ago
How can I automate Phyton so that when I open my laptop it execute commands on my Linux terminal?
I severely need to know how
3
u/NoForm5443 2d ago
I don't think your issue is with python, but with Linux and your distribution
I think most distros do systemd now, check https://docs.fedoraproject.org/en-US/quick-docs/systemd-understanding-and-administering/
You may want to learn about bash scripting before, maybe start with https://www.linuxfoundation.org/blog/blog/classic-sysadmin-writing-a-simple-bash-script
If you want it done for each terminal, look at .bashrc, .profile and similar things