Sponsored Content
Top Forums UNIX for Dummies Questions & Answers deleting file that isn't really there Post 302125848 by Perderabo on Sunday 8th of July 2007 04:22:32 AM
Old 07-08-2007
Quote:
Originally Posted by aladdin
so what the "p" permission is for in:

Code:
prw------- 1 root root 0 Jul 5 10:32 FIFO

THX
P means that the file in question is a fifo. These were originally called "named pipes" and the p meant pipe.
 

9 More Discussions You Might Find Interesting

1. Solaris

grep -r isn't working

Hi, I was trying to use this particular option of grep grep -r 'Search_pattern' * This command should ideally search all the occurrences of Search_pattern recursively within a directory & print it on shell prompt. But this command is not doing what is expected. It just displays nothin! ... (8 Replies)
Discussion started by: harishmitty
8 Replies

2. AIX

crontab isn't excuting some commands

Greetings everybody, I have an IBM P520 AIX 5.3 server machine and trying to use crontab to periodically excute a script that contains a command belongs to my software (Fast/Tools SCADA software) I added the following line after using crontab -e 01 * * * * /mypath/myscript I have two... (3 Replies)
Discussion started by: ayman metwally
3 Replies

3. UNIX for Dummies Questions & Answers

Why isn't this working? tsch-doit file

#! /usr/tsch foreach f (`cat contacts.list`) awk '{printf ($2 in a) ? ","$5 : (NR>1) ? RS $2 FS $5 : $2 FS $5; a} END{print e}' $f > $f_inter.map end My file: cat contacts.list is just a list of files. I get this error: doit_contacts2intermap.sh: Command not found. Thanks! (1 Reply)
Discussion started by: lost
1 Replies

4. Solaris

IP Forwarding on Solaris 10 (should be simple, but isn't!)

I'm having a hard time getting IP forwarding to work. I'll eventually have several interfaces, but all that matters for now is that two of them actually be able to IP forward. I have no network interfaces in the global zone, but both interfaces are in the same zone, Common. The IPs I've been... (0 Replies)
Discussion started by: cfalcon
0 Replies

5. Shell Programming and Scripting

awk isn't working

awk 'BEGIN{print '1.2449'**0.5}' awk: line 1: syntax error at or near * can someone help me troubleshoot the above command? i'm trying to do the square root of 1.2449. this command works on Red Hat, but for some reasonn isn't working on kubuntu (latest version). shell is bash. i... (3 Replies)
Discussion started by: SkySmart
3 Replies

6. Shell Programming and Scripting

awk - writing matching pattern to a new file and deleting it from the current file

Hello , I have comma delimited file with over 20 fileds that i need to do some validations on. I have to check if certain fields are null and then write the line containing the null field into a new file and then delete the line from the current file. Can someone tell me how i could go... (2 Replies)
Discussion started by: goddevil
2 Replies

7. UNIX for Dummies Questions & Answers

Deleting a pattern in UNIX without deleting the entire line

Hi I have a file: r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e) I want to retain... (15 Replies)
Discussion started by: Alyaa
15 Replies

8. Linux

X Window isn't running

X Window isn't working. When I ran startx I got an error message as shown in file attachment xwndow.png Accordingly, I removed /tmp/.X0-lock as reflecting in the attchment. Then again I ran the command and 2 more commands (shown in the attachment xwndow1.png) but they failed too. Any... (2 Replies)
Discussion started by: ravisingh
2 Replies

9. Shell Programming and Scripting

Bash looking in different directory for file that isn't referenced in command

When I run the below bash I get the expected output, which is the sum of all matching targets less than 20 in $file1. The filename in the directory is fixed (in bold). for file1 in /home/cmccabe/Desktop/test/panel/reads/16-0000_EPIL70.txt ; do bname=`basename $file1` ... (3 Replies)
Discussion started by: cmccabe
3 Replies
PROP_DATA(3)						   BSD Library Functions Manual 					      PROP_DATA(3)

NAME
prop_data, prop_data_create_data, prop_data_create_data_nocopy, prop_data_copy, prop_data_size, prop_data_data, prop_data_data_nocopy, prop_data_equals, prop_data_equals_data -- opaque data value property object LIBRARY
Property Container Object Library (libprop, -lprop) SYNOPSIS
#include <prop/proplib.h> prop_data_t prop_data_create_data(const void *blob, size_t len); prop_data_t prop_data_create_data_nocopy(const void *blob, size_t len); prop_data_t prop_data_copy(prop_data_t data); size_t prop_data_size(prop_data_t data); void * prop_data_data(prop_data_t data); const void * prop_data_data_nocopy(prop_data_t data); bool prop_data_equals(prop_data_t dat1, prop_data_t dat2); bool prop_data_equals_data(prop_data_t data, const void *blob, size_t len); DESCRIPTION
The prop_data family of functions operate on an opaque data value property object type. prop_data_create_data(const void *blob, size_t len) Create a data object that contains a copy of blob with size len. Returns NULL on failure. prop_data_create_data_nocopy(const void *blob, size_t len) Create a data object that contains a reference to blob with size len. Returns NULL on failure. prop_data_copy(prop_data_t data) Copy a data object. If the data object being copied is an external data reference, then the copy also references the same external data. Returns NULL on failure. prop_data_size(prop_data_t data) Returns the size of the data object. If the supplied object isn't a data object, zero is returned. prop_data_data(prop_data_t data) Returns a copy of the data object's contents. The caller is responsible for freeing the returned buffer. If the supplied object isn't a data object or if the data container is empty, NULL is returned. In user space, the buffer is allocated using malloc(3). In the kernel, the buffer is allocated using malloc(9) using the malloc type M_TEMP. prop_data_data_nocopy(prop_data_t data) Returns an immutable reference to the contents of the data object. If the supplied object isn't a data object, NULL is returned. prop_data_equals(prop_data_t dat1, prop_data_t dat2) Returns true if the two data objects are equivalent. If at least one of the supplied objects isn't a data object, false is returned. prop_data_equals_data(prop_data_t data, const void *blob, size_t len) Returns true if the data object's value is equivalent to blob with size len. If the supplied object isn't a data object, false is returned. SEE ALSO
prop_array(3), prop_bool(3), prop_dictionary(3), prop_number(3), prop_object(3), prop_string(3), proplib(3) HISTORY
The proplib property container object library first appeared in NetBSD 4.0. BSD
April 22, 2006 BSD
All times are GMT -4. The time now is 05:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy