The "no such user" message is probably being output to stderr to capture it you will need to redirect stderr to stdout like this:
Here is another thought, why not examine the return value from the id command something along the lines of this:
Hi All
I have an extremely frustrating problem with my Mandrake 9.1 machine. When I am in KDE no browser at all will resolve hostnames. Networking is fine, as I can reach websites via IP address, however hostnames just don't work! When I conduct 'nslookup' or 'host' queries via the command line,... (2 Replies)
This my frustrating disk space script that is supposed to send me a email whenever the disk space reaches 90% but this has some problem that just would not work ..can anyone please tell me when im going wrong
#!/bin/ksh
sendemail=-1
space=`df -bhk /users/siebelserver |awk '{print$5}'`
echo... (4 Replies)
Hello
A couple of weeks ago, I added a user to an AIX 5.3 system.
I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.
No primary groups
No Group set
No Admin Groups
The /etc/group and etc/secuity/group files seem to be intact.
I did... (4 Replies)
So I am set up on a new box for work here and I have a frustrating preference issue. Whenever I hit backspace, it deletes a whole word instead of a single character. I understand that this is generally the functionality of hitting ctrl-backspace. I tried googling for a solution and dabbled... (3 Replies)
Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)
Hiya Folks,
Wondering if anybody has ran into this before, it's driving me nuts! Searching on this in the forums didn't turn up anything that was any help.
My script is going through a csv file I have, running ksh under Cygwin. The code I have is...
REQUEST_TYPE=$(grep REQ $FILES |... (3 Replies)
Hii everyone,
I will be explaining what kind of problem I am having with Ubuntu and PPPOE.
I have dual booted my PC with Win 7 and Ubuntu 10.10
Previously, whenever I use to start my ubuntu, internet automatically used to start up.. .no problems.
I had created a DSL connection through... (0 Replies)
Duplicate threads merged
Dear all,
I have been working with a very large text file manually. I'm ordering how to do this with a script. The gamma should be straightforward:
I just want split the text into multiple files. The file name should be "CP1", "TS1 for the second step", "PR1 for... (3 Replies)
Discussion started by: liuzhencc
3 Replies
LEARN ABOUT SUSE
recordio
recordio(1) General Commands Manual recordio(1)NAME
recordio - record the input and output of a program
SYNTAX
recordio program [ arg ... ]
DESCRIPTION
recordio runs program with the given arguments. It prints lines to stderr showing the input and output of program.
At the beginning of each line on stderr, recordio inserts the program process ID, along with < for input or > for output. At the end of
each line it inserts a space, a plus sign, or [EOF]; a space indicates that there was a newline in the input or output, and [EOF] indicates
the end of input or output.
recordio prints every packet of input and output immediately. It does not attempt to combine packets into coherent stderr lines. For
example,
recordio sh -c 'cat /dev/fd/8 2>&1' > /dev/null
could produce
5135 > cat: /dev/fd/8: Bad file descriptor
5135 > [EOF]
or
5135 > cat: +
5135 > /dev/fd/8+
5135 > : +
5135 > Bad file descriptor
5135 > [EOF]
recordio uses several lines for long packets to guarantee that each line is printed atomically to stderr.
recordio runs as a child of program. It exits when it sees the end of program's output.
SEE ALSO tcpserver(1)recordio(1)