Re: cd-ing into a directory called ? (questionmark)
- From: Peter van Schie <vanschie.peter@xxxxxxxxx>
- Date: Sat, 03 Jun 2006 11:23:52 +0200
Is it really a question mark, or is ls using that to replace an
unprintable character?
If it is really a question mark, quoting or escaping it will remove
the wildcard properties:
ls -l '?'
cd \?
cd '?'
rm -rf '?'
Thanks Chris and Rikishi. I already got rid of it, but what you say is true. Before posting here I tried escaping it, which didn't work, so I guess it really wasn't a questionmark.
Anyway I removed it now and set the nosuid,noexec,nodev flags on the tmp filesystem to make life of the scriptkiddies a little harder. :)
Peter.
.
- References:
- cd-ing into a directory called ? (questionmark)
- From: Peter van Schie
- Re: cd-ing into a directory called ? (questionmark)
- From: Chris F.A. Johnson
- cd-ing into a directory called ? (questionmark)
- Prev by Date: CORBA won't start upon Boot/ReBoot
- Next by Date: Creating Desktop icons in slackware using XFCE mode
- Previous by thread: Re: cd-ing into a directory called ? (questionmark)
- Next by thread: Re: sftp and ssh a machine behind a router
- Index(es):
Relevant Pages
|
Loading