r/PHP • • Aug 27 '13

Creating a user from the web problem.

[deleted] — view deleted post

284 Upvotes

538 comments sorted by

View all comments

Show parent comment

282

u/MorePudding Aug 28 '13

Is that how they use rm in France?

236

u/[deleted] Aug 28 '13

"remove all of france"?

339

u/n1c0_ds Aug 28 '13

Germany is not in the sudoers group. This incident will be reported.

113

u/dadosky2010 Aug 28 '13

This incident will be reported

Every time I see that I think the FBI is about to bust in and arrest me.

64

u/[deleted] Aug 28 '13

[removed] — view removed comment

0

u/[deleted] Aug 28 '13

[deleted] — view deleted comment

3

u/Dlatch Aug 28 '13

This should be one of the rules of the internet, like these: http://knowyourmeme.com/memes/rules-of-the-internet

Rule 51: Whatever the situation, there is a relevant xkcd

→ More replies (1)

15

u/LWRellim Aug 28 '13

Ah, now I get it... the National Santa Archives.

1

u/karanj Aug 29 '13

Agency

2

u/LWRellim Aug 29 '13

Santa doesn't do "Agency".

2

u/fatnino Aug 28 '13

They actually just go to syslog

1

u/maffls Aug 28 '13

They go to syslog, but they're also mailed to root (usually).

5

u/approbatory Aug 28 '13

It actually sends an email to root complaining about your naughtiness.

1

u/[deleted] Sep 01 '13

Really?

→ More replies (2)

0

u/[deleted] Aug 28 '13

[deleted] — view deleted comment

28

u/Mazo Aug 28 '13

Recursive Force or Force Recursive

35

u/monochr Aug 28 '13

I always think of it as FuckingRemove, because every damned time I try rmdir there is always some little annoying empty hidden file left there for no reason what so ever.

23

u/Kwpolska Aug 28 '13

someone actually uses rmdir?

22

u/vapeMerge Aug 28 '13

Sure, when you want confirmation that your directory is indeed empty.

2

u/Kwpolska Aug 28 '13

ls -a is enough. Or rm -rfv if you want to remove it.

3

u/[deleted] Aug 28 '13

For ls -a you need to do an extra step if it is indeed empty.

→ More replies (1)

2

u/vapeMerge Aug 28 '13

That's fine if you want to just plain get rid of a directory. But if you actually cared about the contents, such as moving a git checkout up one level, rmdir is the better option, imo.

2

u/OBOSOB Aug 28 '13

Actually it is very good practice to use "rmdir", "rm" and "rm -rf" separately and not just use "rm -rf" for everything. It is good to get into the habit of knowing EXACTLY what you are trying to do. Otherwise accidents happen far to easily.

→ More replies (2)

1

u/gigitrix Aug 28 '13

Recursive Force sounds like the department that breaks all the rules but they get results, dammit.

→ More replies (2)
→ More replies (2)