FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-28-2009, 10:57 PM
Larry Brower
 
Default mkdir this "." directory

adrian kok wrote:
Hi


I have this . folder under tmp

1/ How they can make it this folder?



Please provide the output of ls -la /tmp

Are you referring to ./ or actually something like ./ ?




2/ How can I remove it?



If it is really ./ then you dont as this is /tmp
If it is ./ then rm -vr /tmp/.




Thank you

Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________

CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-28-2009, 11:01 PM
"Jason Pyeron"
 
Default mkdir this "." directory

> -----Original Message-----
> From: centos-bounces@centos.org
> [mailto:centos-bounces@centos.org] On Behalf Of adrian kok
> Sent: Monday, December 28, 2009 18:50
> To: centos@centos.org
> Subject: [CentOS] mkdir this "." directory
>
> Hi
>
> I have this . folder under tmp
>
> 1/ How they can make it this folder?

cd .

>
> 2/ How can I remove it?
>

cd ..

rmdir tmp

> Thank you
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


I am not sure if this is a joke or not.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-28-2009, 11:04 PM
"Jason Pyeron"
 
Default mkdir this "." directory

> -----Original Message-----
> From: centos-bounces@centos.org
> [mailto:centos-bounces@centos.org] On Behalf Of Larry Brower
> Sent: Monday, December 28, 2009 18:58
> To: CentOS mailing list
> Subject: Re: [CentOS] mkdir this "." directory
>
> adrian kok wrote:
> > Hi
> >
> > I have this . folder under tmp
> >
> > 1/ How they can make it this folder?
> >
>
> Please provide the output of ls -la /tmp
>
> Are you referring to ./ or actually something like ./ ?

Either would not show up as a single .

>
>
>
> > 2/ How can I remove it?
> >
>
> If it is really ./ then you dont as this is /tmp If it is
> ./ then rm -vr /tmp/.
>
>
>
> > Thank you
> >
> > Send instant messages to your online friends
> > http://uk.messenger.yahoo.com
> > _______________________________________________
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
>



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-28-2009, 11:20 PM
John R Pierce
 
Default mkdir this "." directory

adrian kok wrote:
> Hi
>
> I have this . folder under tmp
>
> 1/ How they can make it this folder?
>
> 2/ How can I remove it?
>

first you gotta figure out its -real- name. most likely, its " ." or
". " but the space could also be an unprintable character.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-28-2009, 11:26 PM
"Les Bell"
 
Default mkdir this "." directory

adrian kok <adriankok2000@yahoo.com.hk> wrote:

>>
I have this . folder under tmp
<<

It's called a directory, not a "folder" and there's one in every directory.
It's a hard link to the current directory, just like ".." is a hard link to
the directory above.

>>
1/ How they can make it this folder?
<<

Create any directory, and it will appear, as I've explained.

>>
2/ How can I remove it?
<<

If you remove it, you'll be removing the /tmp directory itself, which is
not a bright idea. Imagine someone sitting on a branch, sawing away between
themselves and the trunk of the tree. . .

Best,

--- Les Bell
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-29-2009, 10:41 AM
"Mike A. Harris"
 
Default mkdir this "." directory

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

adrian kok wrote:
> Hi
>
> I have this . folder under tmp
>
> 1/ How they can make it this folder?
>
> 2/ How can I remove it?

Thanks, I just about spit my coffee out my nose when I read this, but it
made my day.


- --
Mike A. Harris Website: http://mharris.ca
Google Wave: mike.andrew.harris - at - googlewave.com
https://identi.ca/mharris | https://twitter.com/mikeaharris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLOer14RNf2rTIeUARAuzRAJ9NjZhayk4kKWYAQbyMsw x8iSGTRgCghdtr
R8Qr693emj4S00PikVEQD1w=
=mvHj
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-29-2009, 10:47 AM
Eero Volotinen
 
Default mkdir this "." directory

On 12/29/09 1:41 PM, Mike A. Harris wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> adrian kok wrote:
>> Hi
>>
>> I have this . folder under tmp
>>
>> 1/ How they can make it this folder?
>>
>> 2/ How can I remove it?
>
> Thanks, I just about spit my coffee out my nose when I read this, but it
> made my day.

Last day of vacation . http://dban.sf.net is recommended for removing
"." directories from harddisks..

--
Eero,
RHCE
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-29-2009, 12:59 PM
Ugo Bellavance
 
Default mkdir this "." directory

On 2009-12-28 18:49, adrian kok wrote:
> Hi
>
> I have this . folder under tmp

It is a system-generated link to the current directory. Don't touch that.

Ugo


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-29-2009, 01:31 PM
 
Default mkdir this "." directory

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> adrian kok wrote:
>> Hi
>>
>> I have this . folder under tmp
>>
>> 1/ How they can make it this folder?
>>
>> 2/ How can I remove it?
>
> Thanks, I just about spit my coffee out my nose when I read this, but it
> made my day.
>
Don't do that - you'll wind up with too much blood in your caffeine
stream.... <g>

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-29-2009, 01:46 PM
Anne Wilson
 
Default mkdir this "." directory

On Tuesday 29 December 2009 13:59:43 Ugo Bellavance wrote:
> On 2009-12-28 18:49, adrian kok wrote:
> > Hi
> >
> > I have this . folder under tmp
>
> It is a system-generated link to the current directory. Don't touch that.
>
Thank heavens there's one sane person reading today. Obviously no-one else
here was ever new to Linux.

Anne
--
KDE Community Working Group
New to KDE Software? - get help from http://userbase.kde.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org