-1

I have a script that opens terminal and list directories. My problem is that the second terminal ls the files but disapears in a flash. how can i make it not disappear? i have tried sleep but not working.

baj
  • 1

1 Answers1

0

Put a read statement at the end of the script.

read -p "Press Enter to quit" oDummy