Skip to main content
12 events
when toggle format what by license comment
Mar 23, 2021 at 23:19 comment added venimus mkdir will also not create the full path (without a param), but the opposite would be even more dangerous, as you are not even able to revert (rm -f) the changes as you don't know which directories it created
Sep 9, 2020 at 10:30 history edited James Brown CC BY-SA 4.0
Added space to if [ -f ] in comments
May 12, 2020 at 6:06 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://www.youtube.com/watch?v=1Dax90QyXgI&t=17m54s> <https://en.wiktionary.org/wiki/success#Noun>].
Feb 7, 2020 at 21:38 comment added Chris 👆👆👆. The 2nd one seems dangerous. Since it creates the directory, it's not even true anymore that the dir is not present.
Mar 6, 2019 at 6:47 comment added Shihe Zhang The second one would create the directory, if it didn't exist at first. Then it's not idempotent.
Jul 18, 2018 at 15:18 history edited Christian CC BY-SA 4.0
fixed formatting... gave up on spelling and grammar..
Jun 22, 2018 at 4:32 history edited yoctotutor.com CC BY-SA 4.0
deleted 1 character in body
Jun 22, 2018 at 4:24 history edited yoctotutor.com CC BY-SA 4.0
deleted 1 character in body
S May 15, 2018 at 8:54 history suggested user9019088 CC BY-SA 4.0
added file checking also
May 15, 2018 at 8:49 review Suggested edits
S May 15, 2018 at 8:54
May 15, 2018 at 8:46 history edited yoctotutor.com CC BY-SA 4.0
deleted 99 characters in body
May 15, 2018 at 5:36 history answered yoctotutor.com CC BY-SA 4.0