-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
  • 5
    This might be helpful to you... http://askubuntu.com/questions/20330/how-to-run-a-script-without-closing-the-terminal –  May 19 '16 at 14:35

1 Answers1

0

Put a read statement at the end of the script.

read -p "Press Enter to quit" oDummy