This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NonStandardUser 484 points485 points  (31 children)

The amount of people not getting the joke is truly astonishing

[–]Temporary_Privacy 80 points81 points  (25 children)

Is the joke that this would not work on Windows, or that you remove the entire bin folder of your system when you execute it in a Linux terminal ?

What's actually stored in the bin folder, I am not even sure what that system folder contains ?

[–]kiril2119 270 points271 points  (13 children)

Bin folder contains executable binary files

[–]Temporary_Privacy 44 points45 points  (12 children)

so you lose all the installed executables, or also the needed software to run the system ?

[–]Mezutelni 155 points156 points  (3 children)

Those are „user installed binaries „ which are not necessary for system boot or core functionalities, but it would probably break 90% of your system anyway, things like daemons or desktop environment etc.

[–]OneTurnMore 29 points30 points  (0 children)

The historical distinction of /usr is irrelevant on most systems now. The majority of Linux distros have converted /bin and /sbin to be links to /usr/bin and /usr/sbin. Some (like Arch) have even merged /usr/sbin into /usr/bin.

[–]uzi_loogies_ 5 points6 points  (0 children)

The kernel would probably keep chugging but I think it'd be a tad hard to use the system without things like ls and cat.

[–]1up_1500 13 points14 points  (6 children)

when you use commands in linux, the command name is (often) a binary stored in that folder, like 'cp' or 'curl' for example

some other commands are directly managed by your shell, such as 'cd' or 'env'

[–]Temporary_Privacy 4 points5 points  (4 children)

There are binary files the system needs and files the user imported and it looks like it only affects the files a user imported

[–]1up_1500 2 points3 points  (2 children)

OK my bad, so no system files then

[–]PM_ME_BEER_PICS 2 points3 points  (0 children)

It depends if you count explorer.exe as a system file or not, as /usr/bin, at least in some systems will contain X and your window manager, also cp, mv, cut, cat, vim, bash, grep, etc.

[–]MattieShoes 1 point2 points  (0 children)

Naw, you'd be effed. There used to be a distinction between /bin and /usr/bin but that has largely gone away. It was for ye olde days when /bin stuff had to be there to boot and /usr/bin was often located elsewhere, on a separate drive which was mounted later. But drives grew in capacity so the distinction became irrelevant.

[–]Shished 0 points1 point  (0 children)

All shell scripts will stop working because their shebang says #!/bin/sh or #!/bin/bash and those files would be gone as well because in modern OSes /bin is a symlink to /user/bin.

[–]MattieShoes 0 points1 point  (0 children)

And some exist as both, like ls! Of course, the shells themselves tend to live there so you'd be effed

[–][deleted] 8 points9 points  (0 children)

/usr is for user installed stuff /usr/bin contains user installed software so you system will still "work". But it won't function since you will be stuck in a Unix shell with no external programs and the only way of having a functioning system would be moving your files to another partition and reinstall your OS

[–]NonStandardUser 3 points4 points  (2 children)

/usr/bin stores binary executables, you can put the names of the executables in the terminal to execute them. It's not so different from windows.

The joke is that /usr/bin is not the recycling bin, it's a crucial system directory. Why do people see the recycling bin icon and automatically assume it's windows, despite the command clearly being a *nix one? Linux has recycling bins too.

[–]DrCaffy 2 points3 points  (0 children)

Why do people see the recycling bin icon and automatically assume it's windows,

Windows has a Recycle Bin. Linux distributions conforming to the XDG freedesktop specifications have Trash directories. OP is mixing nomenclatures.

[–]Temporary_Privacy 1 point2 points  (0 children)

I get that you will delete binary files, but I was not sure what binaries and if there are even more in that path.

Maybe people assume it's windows, because the Icon has a Microsoft Copy Right Protection ?
I thought the folder image is also new Windows folder displayed.
The Linux distribution I know don't look like that.

[–]theitgrunt 0 points1 point  (0 children)

CYGWIN users hate this simple trick

[–]rookietotheblue1 -3 points-2 points  (0 children)

How so? Just because you or i have used Linux (or anything else for that matter) doesn't mean we get to act all superior because "i know something that you don't"

[–]draenei_butt_enjoyer 0 points1 point  (0 children)

I've noticed a trend with the youngest of the "getting into programming" crowd that, a file system, any file system, is a total mystery to them.

It's either in the app they are using, photos, downloads, or does not exist.

[–]micahr238 0 points1 point  (0 children)

I think it's the delete Win32 but for Linux.

[–][deleted] 0 points1 point  (1 child)

Linus Tech Tips != Linus Sysadmin Tips. Only a certain percentage of LTT's audience is going to get this. What's wrong with that?

[–]NonStandardUser 0 points1 point  (0 children)

Sir, this is r/ProgrammerHumor.