1830939 Members
2870 Online
110017 Solutions
New Discussion

ls -l command

 
Thomas Kopp
Occasional Advisor

ls -l command

What does the the "D" means,
while listing ls -l?
I know it is called door.
But what does this mean.
Thanks
Thomas
5 REPLIES 5
Ravi_8
Honored Contributor

Re: ls -l command


Hi,

I am not getting any D while doing ls -l

i could find only d which is for directory
never give up
Stefan Farrelly
Honored Contributor

Re: ls -l command

These are the values shown by ls -l, there is no 'D' there, only 'd' which means directory (or sub directory).

b Block special file
c Character special file
d Directory
l Symbolic link
n Network special file
p Fifo (also called a "named pipe") special file
s Socket
- Ordinary file
Im from Palmerston North, New Zealand, but somehow ended up in London...
T G Manikandan
Honored Contributor

Re: ls -l command

The only place I have seen a D entry in the permission list is when you delete the shared memory,queue and semaphores using ipcrm.

check for the man pages of ipcs
H.Merijn Brand (procura
Honored Contributor

Re: ls -l command

Some of these can be converted to capitals if the letter that is hidden by the feature is not set:

l1:/tmp 102 > > xx
l1:/tmp 103 > ll xx
1543 -rw-rw-rw- 1 merijn softwr 0 Feb 7 12:47 xx
l1:/tmp 104 > chmod 1666 xx
l1:/tmp 105 > ll xx
1543 -rw-rw-rwT 1 merijn softwr 0 Feb 7 12:47 xx
l1:/tmp 106 > chmod 1777 xx
l1:/tmp 107 > ll xx
1543 -rwxrwxrwt 1 merijn softwr 0 Feb 7 12:47 xx
l1:/tmp 108 > chmod +s xx
l1:/tmp 109 > ll xx
1543 -rwsrwsrwt 1 merijn softwr 0 Feb 7 12:47 xx
l1:/tmp 110 > chmod -x xx
l1:/tmp 111 > ll xx
1543 -rwSrwSrwT 1 merijn softwr 0 Feb 7 12:47 xx
l1:/tmp 112 >

the 'd' however is not a subject to this change. I'm now curious too.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Robin Wakefield
Honored Contributor

Re: ls -l command

Hi Thomas,

afaik, it's a solaris file type only:

Solaris uses a STREAMS file, usually /dev/log to route locally generated syslog messages. See the log(7d) driver manual page for more information. Starting with SunOS 5.6 (Solaris 2.5.1) the syslog(3) library contains support for "doors", a superfast and multithreaded IPC mechanism provided by the Solaris Operating Environment. Using a door file - /etc/.syslog_door up to SunOS 5.7, /var/run/syslog_door on SunOS 5.8 and later, the process listening on the syslog_door gets immediate notification upon receipt of a log message.

Rgds, Robin