Title: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 05:06:43 AM So I am still new to Linux. I have created a file using leafpad to run phoenix miner for me. I made it an executable, and it does run, but I do not see it, there is no terminal window, and I would like one to be there so I can see the progress...
What do I have to do to run it with the terminal window open? Title: Re: windows like batch files on linux? Post by: Tasty Champa on July 15, 2011, 09:51:31 AM bash scripts.
http://bashscripts.org/forum/ Title: Re: windows like batch files on linux? Post by: wumpus on July 15, 2011, 09:53:37 AM Be sure to check "run in terminal" when creating the launcher icon
Title: Re: windows like batch files on linux? Post by: talpan on July 15, 2011, 09:54:42 AM you can create a new file for example miner.sh
within that you type /path/to/miner/minername.py -option -option save that file. mark the file as executable and doubleclick the file, select run in terminal. now everythings fine :). regards, talpan Title: Re: windows like batch files on linux? Post by: Maxim Gladkov on July 15, 2011, 09:54:53 AM So I am still new to Linux. I have created a file using leafpad to run phoenix miner for me. I made it an executable, and it does run, but I do not see it, there is no terminal window, and I would like one to be there so I can see the progress... What do I have to do to run it with the terminal window open? How do you start your scripts? What linux distrib do you have? Do you run a GUI? Title: Re: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 03:39:39 PM you can create a new file for example miner.sh within that you type /path/to/miner/minername.py -option -option save that file. mark the file as executable and doubleclick the file, select run in terminal. now everythings fine :). regards, talpan Yes I tried this, but the terminal does not open. Title: Re: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 03:44:31 PM How do you start your scripts? What linux distrib do you have? Do you run a GUI? I am using Linuxcoin, latest version. I created a text file in leafpad, made it an executable in the properties, and then double click on it. Title: Re: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 03:45:54 PM Be sure to check "run in terminal" when creating the launcher icon Tried this, still a no go... ??? Title: Re: windows like batch files on linux? Post by: Maxim Gladkov on July 15, 2011, 04:16:00 PM Hmm, if you are using LinuxCoin with GUI, then you must open Terminal window to start miners...
I cannot imagine other ways of doing this :P Title: Re: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 05:10:37 PM Code: cd /opt/miners/phoenix this works, but i cannot see the terminal. Title: Re: windows like batch files on linux? Post by: talpan on July 15, 2011, 05:23:35 PM open the script via terminal
type ./scriptname.sh Title: Re: windows like batch files on linux? Post by: max in montreal on July 15, 2011, 05:27:51 PM Code: cd /opt/miners/phoenix this works, thanks for the replies! |