Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ? Commented Apr 13, 2019 at 18:55
  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing. Commented Apr 13, 2019 at 19:53
  • Oh ok ! Thanks it's will help me to know that :D Commented Apr 13, 2019 at 20:48