Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: How to make shell script pause?

  1. #21
    Join Date
    Dec 2009
    Location
    France
    Beans
    148

    Re: How to make shell script pause?

    Quote Originally Posted by JBA2337 View Post
    The above command should be copied to a text editor, and saved as a *.sh file. In the example above, I saved the above code in a file named "Mounted File Systems.sh"
    Double clicking on that file will offer you the choice of running the fle in a terminal, or displaying its contents.
    JBA2337
    For me, I just not even have to save as .sh. Even without any extension I'm prompted to display or run in terminal (maybe because I set the x attribute).
    Thank you very much all you for this very useful and detailled topic.

  2. #22
    Join Date
    Jan 2010
    Beans
    4

    Re: How to make shell script pause?

    echo Press enter to exit this script
    read xyz

  3. #23
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: How to make shell script pause?

    Old thread.

    Closed.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •