Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 28313  / 3 Years ago, sun, june 6, 2021, 6:39:26

I have installed Ubuntu 12.04 LTS server .



How can i run more than .sh file in the same time
(opening more than terminal)



I can use it on desktop version but i use server version.



Is it possible? if yes how can do?


More From » 12.04

 Answers
3

By default Ubuntu has 7 ttys, on Server they are all command line (desktop the 7th is for X use)
You can switch between then using Ctrl + Alt + F1 to Ctrl + Alt + F7


This would allow you run your script in 7 different sessions.


You can also background processes by starting them as normal, but appending an & to the end e.g.


yourscript.sh &

If your script does not terminate itself you will need to locate the pid and kill it, for more detail on killing read:



[#24964] Tuesday, June 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iedncommon

Total Points: 200
Total Questions: 95
Total Answers: 132

Location: Tonga
Member since Mon, Aug 2, 2021
3 Years ago
iedncommon questions
Sat, Jun 4, 22, 18:20, 2 Years ago
Mon, Apr 4, 22, 08:10, 2 Years ago
Tue, Jul 6, 21, 15:11, 3 Years ago
;