07-25-2005
Details on the ls command and file types
Hey y'all,
I need some help with the nitty gritty of the ls command.
-First off in the man pages in the -l mode the first character can be "door" can anyone tell me what a door is???
-also in the -l mode the first character can be "fifo"or"pipe" can anyone tell me what a this is???
-What exactly does the -f option do? in the man pages it states: "forces each argument to be interpreted as a directory and list the name found in each slot" can someone give me an example of this???
-Does anyone by any remote chance know how ls determines columns based on the COLUMNS environment variable??
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I m new to unix can any one tell me details of 'awk','sed' commands
Plz (2 Replies)
Discussion started by: nithin03051985
2 Replies
2. Shell Programming and Scripting
Hello, I need a smart sed command that can take any of the following two as an input and give below mentioned output. As you can see, I am trying to convert some C code
INPUT:
struct abc_sample1 {
char myString;
UINT16 myValue1;
... (2 Replies)
Discussion started by: SiftinDotCom
2 Replies
3. Solaris
Hi
We are sharing our envoirnment with our component teams. the plateform is SunOS 5.8 Generic_117350-41 sun4u sparc SUNW,Sun-Fire-V490.
All team logs in the domain with same user and perform activities.
Now for the system auditing purpose can somebody guide me how can I get the details when... (6 Replies)
Discussion started by: sukhvinder_Tm
6 Replies
4. Linux
Hi,
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies
5. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
6. Shell Programming and Scripting
the following excludes certain directories successfully
cp -r probe/!(dir) /destination
I want to exclude certain file types and tried unsuccessfully
cp -r probe/!(*.avi) /destination (2 Replies)
Discussion started by: tmf
2 Replies
7. Solaris
What command can I use to find out details about a netapp filer.
I have a directory that is a filer i would like to know details about the source host/folder that it points to.
Thanks. (2 Replies)
Discussion started by: jjohnson
2 Replies
8. Ubuntu
I am pulling data from remote SFTP server via LFTP. I really like its features.
I have executed following command through screen.
lftp -u xxxxx,xxxxx -e "set sftp:connect-program 'ssh -a -x -i /sftp/user/downloads/.ssh/id_dsa';mirror -vvv -c /data/ /sftp/user/downloads/2014_ic; quit"... (1 Reply)
Discussion started by: zsycho
1 Replies
9. Shell Programming and Scripting
hi,
i have a fixed width file with multiple columns and need to print data using awk command.
i use: awk -F "|" '($5 == BH) {print $1,$2,$3}' <non_AIM target>.txt for a delimiter file.
but now i have a fixed width file like below:
7518 8269511BH 20141224951050N8262
11148 8269511BH... (5 Replies)
Discussion started by: kcdg859
5 Replies
10. AIX
Hi ,
Could you please tell me how to find the following on AIX?
1.Command to find file system details?
2.What are all the files exist under a specific directory along with their sizes?
In general we use,
du -sh * | grep M under a directory which returns files having size of MB,... (18 Replies)
Discussion started by: Maddy123
18 Replies
LEARN ABOUT SUNOS
door_info
door_info(3DOOR) Door Library Functions door_info(3DOOR)
NAME
door_info - return information associated with a door descriptor
SYNOPSIS
cc [ flag ... ] file ... -ldoor [ library ... ]
#include <door.h>
int door_info(int d, struct door_info *info);
DESCRIPTION
The door_info() function returns information associated with a door descriptor. It obtains information about the door descriptor d and
places the information that is relevant to the door in the structure pointed to by the info argument.
The door_info structure pointed to by the info argument contains the following members:
pid_t di_target; /* door server pid */
door_ptr_t di_proc; /* server function */
door_ptr_t di_data; /* data cookie for invocation */
door_attr_t di_attributes; /* door attributes */
door_id_t di_uniquifier; /* unique id among all doors */
The di_target member is the process ID of the door server, or -1 if the door server process has exited.
The values for di_attributes may be composed of the following:
DOOR_LOCAL The door descriptor refers to a service procedure in this process.
DOOR_UNREF The door has requested notification when all but the last reference has gone away.
DOOR_UNREF_MULTI Similar to DOOR_UNREF, except multiple unreferenced notifications may be delivered for this door.
DOOR_IS_UNREF There is currently only one descriptor referring to the door.
DOOR_REFUSE_DESC The door refuses any attempt to door_call(3DOOR) it with argument descriptors.
DOOR_REVOKED The door descriptor refers to a door that has been revoked.
DOOR_PRIVATE The door has a separate pool of server threads associated with it.
The di_proc and di_data members are returned as door_ptr_t objects rather than void * pointers to allow clients and servers to interoper-
ate in environments where the pointer sizes may vary in size (for example, 32-bit clients and 64-bit servers). Each door has a system-wide
unique number associated with it that is set when the door is created by door_create(). This number is returned in di_uniquifier.
RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The door_info() function will fail if:
EFAULT The address of argument info is an invalid address.
EBADF d is not a door descriptor.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |all |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
door_bind(3DOOR), door_call(3DOOR), door_create(3DOOR), door_server_create(3DOOR), libdoor(3LIB), attributes(5)
SunOS 5.10 14 Feb 2003 door_info(3DOOR)