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

03-create "Using rm Safely" removes a file we have not created #794

Open
primerano opened this Issue Jun 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@primerano

primerano commented Jun 10, 2018

At the point that this challenge is given the thesis directory has been removed and creating quotations.txt is a few steps away

Using rm Safely
What happens when we type rm -i thesis/quotations.txt? Why would we want this protection when using rm?

Rather than depend on the order we could change the lesson to have them create a file and try to remove it with rm -i.

Maybe something like

Using rm Safely

Let's create a file called delete_me.txt

touch delete_me.txt

What happens when we type rm -i delete_me.txt? Why would we want this protection when using rm?


Thoughts?

@gcapes

This comment has been minimized.

Contributor

gcapes commented Jun 11, 2018

Good idea! The exercise should certainly be do-able at the place it appears in the lesson, and if it's independent of position, then so much the better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment