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---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss