10-17-2002
The message
sounds to me, there is a problem with type file permissions
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am reading 'the design of the unix os' by Bach and I find the 'regular file structure' details with the 'direct and indirect blocks of the inode' difficult to understand.
Thanks (2 Replies)
Discussion started by: ramyar
2 Replies
2. UNIX for Advanced & Expert Users
I need some help... What use is there to the file prng_seed under Solaris? (2 Replies)
Discussion started by: penguin-friend
2 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I've just installed egd ssh zlib and ssl on a server:
$ uname -a
SunOS su214tos 5.8 Generic_108528-11 sun4d sparc SUNW,SPARCserver-1000
When i want to execute the /usr/local/sbin/sshd, i get the following:
PRNG is not seeded...
How do i seed the PRNG?
Thanx
Jason (1 Reply)
Discussion started by: penguin-friend
1 Replies
4. UNIX for Dummies Questions & Answers
Hi there.
reading the if entry from man, i get this:
-f file True if file exists and is a regular file.
What is exactly a regular file ?
Thanks,
--- 435 Gavea --- (3 Replies)
Discussion started by: 435 Gavea
3 Replies
5. UNIX for Dummies Questions & Answers
I have a file with approximately 262,000 fields and I want to split it according to pairs of fields. The fields have headers and I want to create smaller files with just the columns between the fields (specified fields inclusive).
For example, I just want the columns "set" and "test", with the... (3 Replies)
Discussion started by: etownbetty
3 Replies
6. Programming
Hi all,
How am I read a file, find the match regular expression and overwrite to the same files.
open DESTINATION_FILE, "<tmptravl.dat" or die "tmptravl.dat";
open NEW_DESTINATION_FILE, ">new_tmptravl.dat" or die "new_tmptravl.dat";
while (<DESTINATION_FILE>)
{
# print... (1 Reply)
Discussion started by: jessy83
1 Replies
7. Shell Programming and Scripting
Hi friend,
i have written script as below to check the file existance. but i got error
path="/k/p1100/users/jewel/Output"
FILENAME=`ls -lrt $path/*HT|tail -1|cut -d "/" -f 8`
if ; then
echo "$FILENAME is available "
chmod 755 $path/$FILENAME
/usr/bin/scp... (0 Replies)
Discussion started by: Jewel
0 Replies
8. Shell Programming and Scripting
I'm using redhat and have an odd issue with a nested ssh call.
ssh -i ~/.ssh/transfer-key -q transfer@fserver1 ]
&& ssh -i ~/.ssh/transfer-key transfer@fserver1 "ssh -i ~/.ssh/sftp-key sftpin@10.0.0.1 ]"
&& ssh -i ~/.ssh/transfer-key transfer@fserver1 "scp -i ~/.ssh/sftp-key /home/S/outbox/*... (2 Replies)
Discussion started by: say170
2 Replies
9. Shell Programming and Scripting
Hello,
I'm on a remote computer by SSH. How can I get the output of "cat file" into a file on the local computer?
I cannot use scp, because it's blocked.
something like:
ssh root@remote_maschine "cat /file" > /locale_machine/file
:rolleyes: (2 Replies)
Discussion started by: borsti007
2 Replies
10. Shell Programming and Scripting
#!/bin/sh
Today=date '+%Y%m%d'
for file in `ls *.csv *txt`
do
echo "Start woprking with ${file}"
if ; then
do something
elif ; then
do something
else
echo "Unkniowned file name"
... (6 Replies)
Discussion started by: digioleg54
6 Replies
LEARN ABOUT SUNOS
ppmtopgm
ppmtopgm(1) General Commands Manual ppmtopgm(1)
NAME
ppmtopgm - convert a portable pixmap into a portable graymap
SYNOPSIS
ppmtopgm [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces a portable graymap as output. The output is a "black and white" rendering of the original
image, as in a black and white photograph. The quantization formula used is .299 r + .587 g + .114 b.
Note that although there is a pgmtoppm program, it is not necessary for simple conversions from pgm to ppm , because any ppm program can
read pgm (and pbm ) files automatically. pgmtoppm is for colorizing a pgm file. Also, see ppmtorgb3 for a different way of converting
color to gray. And ppmdist generates a grayscale image from a color image, but in a way that makes it easy to differentiate the original
colors, not necessarily a way that looks like a black and white photograph.
QUOTE
Cold-hearted orb that rules the night
Removes the colors from our sight
Red is gray, and yellow white
But we decide which is right
And which is a quantization error.
SEE ALSO
pgmtoppm(1),ppmtorgb3(1),rgb3toppm(1),ppmdist(1),ppm(5),pgm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
10 April 2000 ppmtopgm(1)