Skip to content
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

Ug! Very poor scripting. You just rm'ed all my .txt's . #1

Open
lleevveell66 opened this issue Nov 29, 2018 · 0 comments
Open

Ug! Very poor scripting. You just rm'ed all my .txt's . #1

lleevveell66 opened this issue Nov 29, 2018 · 0 comments

Comments

@lleevveell66
Copy link

Make a temporary directory, cd to that directory, then perform your work. (You didn't really rm all my .txt's, since I always audit scripts/code before running. But, others may not notice it.)

There are many other issues. For instance, always use complete paths to binaries in a script which will be executed by root.

It's a nifty idea. But, this needs some work.

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

No branches or pull requests

1 participant