The current state of Jow Forums meme

Can you delete this file Jow Forums?

Attached: screenshot.png (292x168, 1K)

rm *

rm "ls"
Nice bait
/thread

Bitches don't know about my escape character.

rm \'-delete\*this\"nigger\'

Attached: screenshot.png (289x177, 2K)

rm *

rm \\-delete\*this\"nigger

rm "this file Jow Forums?"

Attached: screenshot.png (289x177, 2K)

Thunar

Yes

Why are you deliberately ignoring the solutions that would work, you fucking double nigger.

Do or

if you run that it actually tells you how to do it

nvm i should have just copy pasted it in

and rm * deletes all the files not just that one you fucking triple nigger

Attached: screenshot.png (289x177, 2K)

I drag it to the recycle bin

>and rm * deletes all the files not just that one you fucking triple nigger
THERE IS ONLY ONE FILE YOU FUCKING MORON.

rm -- '-delete*this"nigger'

Yeah ok what if the file is in your 1TB porn folder?

Attached: screenshot.png (262x152, 1K)

Then I would do this:

rm "'-delete*this\"nigger'"

Attached: Screen Shot 2018-03-30 at 11.28.12.png (880x372, 90K)

rm -f \-delete\*this\"nigger

Attached: screenshot.png (262x152, 2K)

Do

Find the inode number, remove it.

win rar

Attached: screenshot.png (295x173, 3K)

Your ls command is adding the ' ' you fucking quadruple nigger.

rm "-delete*this\"nigger"

BSD rm works differently

Attached: screenshot.png (295x173, 3K)

I'm curious then. Does find coupled with -delete works?

>using GNU

Attached: uriel.png (799x910, 53K)

rm -- -

zsh don't care.

rm

BSD confirmed for master race.

GNU RM can't even remove a file.

I use zsh like a real man, so I could just double-tab and select the file from the interactive list.

find . -mindepth 1 -maxdepth 1 -name '-delete*this"nigger' -exec rm -f {} +

Uriel was right

Attached: screenshot.png (395x215, 2K)

Lol, loonix users can't even delete a file.

>big-endian

there is a better way tho

Attached: winrar.png (48x48, 2K)

Granted this is nuking the other files, but how about
find . -mindepth 1 -maxdepth 1 -type f -delete

its still there i just forgot the -A

Attached: screenshot.png (395x215, 3K)

That is stupid. Why would you delete everything when you want to delete one file?

If you use bash or some other shell that won't escape everything just use "--"

If you have a shell that can escape file names fully, obviously simply tab complete.

oops, you deleted all your hidden files. Good job, dumbass.

I do know the answer has been provided earlier. I'm just curious to try out other possible solutions. I even mentioned the drawback of the method, so I know its wrong. There is no need to be so mad.

BSD: easy an intuitive rm command

GNU: clusterfuck invoking recursive removal because regular rm isn't able to parse command line properly

That doesnt remove hidden files
rm .* removes hidden files

rm * doesn't delete dot-files you fucking imbecile.

autocompletion is ok

Attached: and tab.png (574x386, 8K)

rm `ls`

Plebs

that isnt the intended way to do it you dumb cunt

Butthurt GNU user detected

And proof

Attached: Screenshot_20180330-115716~2.png (1262x553, 101K)

find . -mindepth 1 -maxdepth 1 -name '.*' -delete

Says the moron who thought that "rm *" also removes hidden files, lol.

rm

would you look at that
should have tried it

Attached: screenshot.png (389x219, 3K)

Attached: screenshot.png (389x219, 4K)

Are you stupid?

it's because gnu rm treats '-delete' file as rm -d elete

Either there are zero width characters in there or your shell is retarded. Show us ls | hexdump -C.

Attached: Screenshot from 2018-03-30 11-59-04.png (745x486, 86K)

>rm parses switches even when they are encapsulated in quotes
Friendly reminder that GNU is absolute horseshit.

Based stallman software.

What's the surprise in managing to delete everything with a tool that doesn't interpret filenames like a shell? Will you be surprised if deleting the directory or formatting the drive works?

find . -inum -exec rm -i {} \;

For fuck's sake, what kind of retarded shell are you using that can't even do path globbing correctly?

This.

rm "'-delete*this\"nigger'"

Difficulty: 0/10.

rm doesn't even see the quotes
only the shell does

sudo rm *

Attached: Screenshot_2018-03-17-15-04-27.jpg (528x236, 46K)

>rm doesn't even see the quotes
But ' is part of the filename.

How the fuck does rm interpret '-delete
as -d ? It has to have some special case handling of ' in that case, which is absolutely retarded.

Attached: screenshot.png (748x613, 20K)

see and put your fedora down

>\;
not using +

Attached: screenshot.png (393x207, 3K)

>shilling against gnu
fuck you neo Jow Forums

Attached: 1522033006431.png (953x1282, 827K)

It works same in my linux mint which obviously has GNU utils.

See Also, the post you are telling me to see is the one already quoting me you fucktard.

That'd work too. But on the other hand we could be somewhat uninterested in how many times rm gets invoked when just that one file has that inode.

Works on bash on ubuntu too. OP is using some snowflake shell that doesn't do globbing correctly.

rm \-\d\e\l\e\t\e\*\t\h\i\s\"\n\i\g\g\e\r

See

it's not, ls just quotes it for some reason
>How the fuck does rm interpret '-delete
getopt does
I think it interprets it as -d -e -l -e -t -e (see things like rm -rf) but fails early

Then it's obviously not Jow Forums's fault

>using linux mint in 2018

Attached: screenshot.png (405x225, 4K)

No, it doesn't. Getopt doesn't interpret/ignore '

That's outside of thread's scope. The point is - GNU utils work correctly.

rm \'-delete\*this\"nigger\'

Proof

It clearly doesn't parse -n as an option.

Attached: Screen Shot 2018-03-30 at 12.16.56.png (644x172, 23K)

If you actually pass '-delete to rm as an argument it will interpret that as a filename. Your shell will probably interpret ' if you don't escape it. So rm \'-delete will work just fine as in or OP is being a faggot

see using the default shell that came with gentoo

Attached: screenshot.png (310x95, 1K)

But what I failed to do is to touch this file with exact same name.
touch always adds extra qoutes hmmmmmm...

>If you actually pass '-delete to rm as an argument it will interpret that as a filename
That's what I would expect, yes.

> Your shell will probably interpret ' if you don't escape it. So rm \'-delete
Yes, and if you do

rm "'-delete" too, that would work (as demonstrated in ). So I concur, OP is a massive faggot.

Attached: output.png (742x487, 55K)

Stop trolling and remove the '

Attached: 1522341527584.jpg (960x882, 59K)

Nobody cares about your kernel, you flaming faggot. The kernel is completely irrelevant.

Post your fucking shell and version.
Do echo $SHELL you dishonest cunt.

Font name? Also how to get that nice looking PS1.

Btw fantastic thread OP

Attached: zoeiz.jpg (1080x1254, 103K)

I think people are messing this up because they think the filename has single quotes around it. GNU ls automatically adds single quotes around filenames when displaying them if they contain special characters. It's actually quite easy to delete the file. You type `rm`, then copy the string verbatim from ls including the single quotes, since the filename is already escaped for you (by use of those single quotes). However in this particular case, the filename begins with a `-`, so write `--` as an argument to rm before the filename to prevent getopt from attempt to read it as a sequence of flags.

> not uname -rms

Attached: 1432080984179.png (976x800, 368K)

Works in zsh with zprezto in Gentoo too.

Also displays the filename with escape quotes already on "ls".

> using the default shell that came with gentoo
Nope? That doesn't even look like a Gentoo-themed prompt. Pic related is a Gentoo-themed prompt.

Attached: gentoo-theme.png (904x530, 59K)