04-15-2004
Quote:
I too am interested in which version of unix that alan is using. Alan since you are new to unix, you may not yet know about the uname command. "uname -a" is a command that will tell us about your version of unix.
I am familiar with `uname -a`: I put my OS info in my first post but I guess it got lost in the clutter.
I am on HP-UX B.11.00 U 9000/800.
Quote:
Were you running as root? Did you try the mkfifo command instead? Also after you create bla, run the command "ls -l bla" and post the results of that.
I am NOT running as root. I know nothing about my user ("dev1") permissions but I am certain that I don't have super-user privilege. I have tried to use both `mknod` and `mkfifo`in my /home directory but to no avail:
[dev1@la]/home/dev1% mkfifo bla
[dev1@la]/home/dev1% cat bla &
[1] 10907
[dev1@la]/home/dev1% echo "hello world" > bla
ksh: bla: cannot create
[dev1@la]/home/dev1% ls -l bla
prw-rw-r-- 1 dev1 cadev 0 Apr 15 10:43 bla|
[dev1@la]/home/dev1%
I got the same error msg when I use "mknod". Obviously (see the "p"), I am able to create my fifo but it is as far as I can go.
I am confused: If I look at the permission bits, it seems that my fifo is usable by my userid for read/write, correct?
Can this be related to my user permissions? How can I know which those are? I have no super-user privileges so SAM is not accessible...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm completely new to UNIX, and having got the hang of directory navigation / creation (Just about), I think it is time to create an FTP account, so that I can upload a web site remotely.
Herein lies the problem...
1: I cannot find a breakdown of addusr commands, so I cannot create a... (2 Replies)
Discussion started by: Dufty
2 Replies
2. Shell Programming and Scripting
Hi,
I am struggling with the following... I try to grep out information of a text file I got with lynx, a text browser. The text file I get from lynx with dump is attached in the bottom.
What I would like to get is another file containing the astro-ph/98324 (number) and title and list of... (13 Replies)
Discussion started by: pau
13 Replies
3. UNIX for Advanced & Expert Users
I had posted this earlier about 3 weeks ago and had recieved a response and I did sort both the files and the comm command is still not working.
Can someone please assist me, I would really appreciate it.
Below is what I am trying to do
I need to compare File A with File B and create FILE C... (2 Replies)
Discussion started by: guiguy
2 Replies
4. Shell Programming and Scripting
!#/bin/bash
cat input.sh | awk '
{
cur1=tolower($1)
cur2=tolower($2)
rsh $cur1 report | grep $cur2
# i just want to make the code line to work
} '
the error which i get is ....
./madh1.sh: line 1: !#/bin/bash: No such file or directory
awk: cmd. line:13: rsh $cur1 report |... (4 Replies)
Discussion started by: geeko
4 Replies
5. Shell Programming and Scripting
Hi,
I am trying to use arrays in my script but can not seem to get it to work.
I have a file called sections, this contains headers from a tripwire log file, separated by "@" but could be "," if easier
The headers will be used to cut sections from the log file into another to be mailed.
... (5 Replies)
Discussion started by: pobman
5 Replies
6. Shell Programming and Scripting
I know this is an easy problem, but I've been struggling with it all morning and finally admit I need help.
I have two files that I need to compare. After doing this the easy way (grep -F) I realize that there are other fields in file2 that match field1 in file1, so I turned to awk.
I want to... (7 Replies)
Discussion started by: moldoverb
7 Replies
7. Programming
Hello guys!
I am doing a project for the university and I have to do that a process has to create several children through fork(). The father process sends a pathname to each one through exec and the children must send to the father a list with the files from each directory.
The father is... (1 Reply)
Discussion started by: dano88
1 Replies
8. Homework & Coursework Questions
Hello guys!
I am doing a project for the university and I have to do that a process has to create several children through fork(). The father process sends a pathname to each one through exec and the children must send to the father a list with the files from each directory.
The father... (1 Reply)
Discussion started by: dano88
1 Replies
9. UNIX for Dummies Questions & Answers
Greetings!
I have been tasked to create a report off files we receive from our hardware suppliers. I need to grep these files for two fields 'Test_Version' and 'Model-Manufacturer' ; for each field, I need to capture their corresponding values.
When running each statement separately, I get... (4 Replies)
Discussion started by: alan
4 Replies
10. Shell Programming and Scripting
Hello fellows,
Sure you can help this poor guy that is struggling against sed command, being unable to tame it
I have a lot of files like this:
From this one, I need to obtain values highlighted in bold/red
To do so, I am executing this piece of code inside a loop:
... (10 Replies)
Discussion started by: manolain
10 Replies
LEARN ABOUT DEBIAN
poc-fec
POC-FEC(1) User Command POC-FEC(1)
NAME
poc-fec - send FEC MP3 streams
SYNOPSIS
poc-fec [ -s address ] [ -p port ] [ -t ttl ] [ -q ] [ -k fec_k ] [ -n fec_n ] files...
DESCRIPTION
poc-fec is a streaming server sending mp3 data using a custom FEC protocol. The streamed MP3 frames are first decomposed in autonomous data
units (ADUs). These ADUs are grouped into ADU groups, which are encoded redundantly using a FEC method by Luigi Rizzo. A group of k ADUs is
encoded as n data packets. Any k of these n data packets is sufficient to recover the original k ADUs. It sends the files in the order
given on the command-line. Use the filename - to stream from standard input. Normally, the FEC protocol is used to stream to multicast
groups.
OPTIONS
-s address
Specify the address to send to (default 224.0.1.23).
-p port
Specify the port to send to (default 1500).
-t ttl Specify the TTL parameter to be set on outgoing parameters (default 1).
-q Don't output any information on standard error.
-k fec_k
Specify the number of ADUs that will be encoded as an ADU group (default 20).
-n fec_n
Specify the number of packets that the ADU groups will be encoded to (default 25). This number must be greater than the fec_k param-
eter.
EXAMPLES
poc-fec -s 224.0.1.24 -p 8989 -t 2 -k 16 -n 32 bla.mp3
Send the file bla.mp3 using the RTP RFC fec protocol to the address 224.0.1.24 on port 8989, and set the TTL to 2. MP3 frames of
bla.mp3 are converted to ADUs and grouped in ADU groups of 16 ADUs. These 16 ADUs are encoded into 32 packets and streamed. A client
will have to receive at least 16 packets to recover the original ADUs.
AUTHORS
Manuel Odendahl <manuel@bl0rg.net>, Florian Wesch <dividuum@bl0rg.net>
February 2005 POC-FEC(1)