Is it screw with your admin day?

der.hans PLUGd at LuftHans.com
Fri Nov 1 21:54:12 MST 2019


Am 02. Nov, 2019 schwätzte Seabass so:

moin moin,

ain't it fun? :)

I recommend moving it to a safer name first.

mv -i ./-p dashpee
rm -r dashpee

ciao,

der.hans

> I suddenly found the folder “-p” in my home directory, one day...
>
> “ ls -p”
> -p/
>
> “ ls -p/”
> / is not a flag option
>
> ”ls *”
> -p
>
> “ls */*”
>
> No file nor directory...
>
> “rm -p”
> -p isn’t a flag
>
> So....
> I dunno about you guys, but this sucked figuring out how to handle.
> It can be removed with
> “rm -r ./-p/“
> But everything else makes it into a flag.
>
> Moral of the story:
> If a file like “-a” shows up and it’s existence bothers you,
> DON’T TRY REMOVING IT WITHOUT
> “./“ or some other path behind it!

-- 
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  Ohio Linuxfest is Nov 1-2 in Columbus - https://OhioLinux.org/
#  SeaGL is Nov 15-16 in Seattle - https://SeaGL.org/
#  "We should not be building surveillance technology into standards.
#  Law enforcement was not supposed to be easy.
#  Where it is easy, it's called a police state."  -- Jeff Schiller


More information about the PLUG-discuss mailing list