Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If memory serves, '?' is a wildcard for a single character, and '*' is a wildcard for 0 or more characters, so '?*' is "anything that's a character followed by any amount of characters". And rm is the Linux command for delete. So, in his home directory, he basically said "delete everything!" On accident
-
bahua128017yrm -- ?.file
The double dash is a GNU convention. It means that whatever follows, no matter what, will not be parsed as a regex, glob, or command option. -
cst199220557y@bahua -- is basically "end of args", right? Everything after is data. Most famous example would be git checkout -- <path>
> finds files called "?" and "?.pub" in home directory. Not sure how they ended up there.
> tries deleting files
> rm ?*
> hits enter and realizes the disaster the very next moment
> cries in corner
rant