Text to terminal

Hello my friends.
I've installed Zorin a few days ago and it is so fantastic to use.
I learned some terminal commands and I want to make a text file which when I open it do a specific command like : (sudo watch sensors).
Can you help me please.

What you are looking for is to create Bash Scripts.

1 Like

Thank you very much but in this situation the file will not start by itself it will execute by the terminal.
I don't want to open the terminal at all.
Is it possible ?

Have you given the file Executable permission?

yes and when I press execute, nothing happens.

Does the script begin with



I figured out the solution!
It wasn't able to work because I was working on Konsole terminal.
When I removed konsole, the code run without any problem.
Thank you again.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.