Skip to content

Removed unnecessary -p argument to mkdir in tutorial. #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fluidvanadium
Copy link

The -p option for mkdir creates parent directories. When run with a single identifier ( no / ) it would not effect the command, unless the working directory has been deleted, in which case the parameter would wrongly prevent an error. Removing increases clarity and simplicity of the tutorial.

@Darksonn
Copy link
Contributor

The -p argument also has another effect. It makes the command succeed even if the folder already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants