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 MOJAVE
door_revoke
door_revoke(3DOOR) Door Library Functions door_revoke(3DOOR)
NAME
door_revoke - revoke access to a door descriptor
SYNOPSIS
cc -mt [ flag ... ] file ... -ldoor [ library ... ]
#include <door.h>
int door_revoke(int d);
DESCRIPTION
The door_revoke() function revokes access to a door descriptor. Door descriptors are created with door_create(3DOOR). The door_revoke()
function performs an implicit call to close(2), marking the door descriptor d as invalid.
A door descriptor can only be revoked by the process that created it. Door invocations that are in progress during a door_revoke() invoca-
tion are allowed to complete normally.
RETURN VALUES
Upon successful completion, door_revoke() returns 0. Otherwise, door_revoke() returns -1 and sets errno to indicate the error.
ERRORS
The door_revoke() function will fail if:
EBADF An invalid door descriptor was passed.
EPERM The door descriptor was not created by this process (with door_create(3DOOR)).
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
close(2), door_create(3DOOR), libdoor(3LIB), attributes(5)
SunOS 5.10 21 Aug 1997 door_revoke(3DOOR)