08-18-2011
Which shell are you using? If you are using a shell, those ;\ at the end of each line should not be needed.
What exact error do you get? Maybe add set -x in the 1st line for debugging to see where you get problems.
This User Gave Thanks to zaxxon For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Seems that I'm having issues adding a user on our AIX Version 5.1 server.
When I added the user dh I get the following error:
# useradd dh
3004-721 Could not create user.
3004-703 Check "/usr/lib/security/mkuser.sys" file.
3004-687 User "dh" does not exist.
The /etc/passwd gets the... (1 Reply)
Discussion started by: Nico
1 Replies
2. Solaris
Hi,
I have installed Solaris 10 in my PC and now installing Oracle10, but while adding a user i am getting following error:
useradd -g oinstall -G dba -d /export/home/oracle oracle
UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).
I have tried pwconv command,... (4 Replies)
Discussion started by: amitanshu.verma
4 Replies
3. Shell Programming and Scripting
Hi, I am getting the error
01.30 Invalid shell error
I am running the bash shell script in the korn login shell.
I have mentioned the #!/bin/bash statement in the my script but not sure why it is giving this error to me.. (4 Replies)
Discussion started by: mr_harish80
4 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone,
On executing the following command i always get this error
>useradd -c 'none' -s # -u 5001 -f 100 -m -g 'wheel' -d /home/phildpop
useradd: option requires an argument -- s
Try `useradd --help' or `useradd --usage' for more information. (1 Reply)
Discussion started by: phildpop
1 Replies
5. UNIX for Dummies Questions & Answers
hi,
i have a bash script that i want to receive a a string from another bash file. But because the string has a dot in the middle it gives me an error. The error is in this line:
let valor=$1
and the value passed is rules.txt
the error is:
let: valor=rules.txt: syntax error: invalid... (2 Replies)
Discussion started by: limadario
2 Replies
6. HP-UX
Hi all,
I was changing a motherboard which has the MP console down on an rx4640.
I am receiving the following error: ERROR: Invalid or inaccessible system ID(s) then it takes me to the EFI where it doesn't boot from the primary path.
I contacted a colleague who already replaced two... (0 Replies)
Discussion started by: MazenH
0 Replies
7. Solaris
Thanks to explain how to resolve this error:
useradd -d /export/home/kish -m -s /bin/ksh -c "kkalyan"
UX: useradd: ERROR: invalid syntax.
usage: useradd | -g group | -G group...] | -d dir |
-s shell | -c comment | -m | -f inactive |
-e expire | -A... (4 Replies)
Discussion started by: kkalyan
4 Replies
8. Solaris
root@solaris11express:/home# useradd -d /home/oracle oracle
UX: useradd: ERROR: Path must not start with '/home/'.
and the user oracle is not being created... (2 Replies)
Discussion started by: kompcouk
2 Replies
9. Shell Programming and Scripting
Hello all,
I am using sed to parse a particular part of a string and am having problems. I am getting the following error:
sed: -e expression #1, char 28: invalid reference \1 on `s' command's RHS
Here is the code I am using:
echo "Alarm SET:"
echo ""
echo "Date: " $DATE
echo... (4 Replies)
Discussion started by: dlundwall
4 Replies
10. Shell Programming and Scripting
Hi,
I have this script which gives me output as Invalid null command
set recent_file=`grep '^-.*xlsx$' $FTP_LOG |\
sed -e 's/Jan/1/g' \
-e 's/Feb/2/g' \
-e 's/Mar/3/g' \
-e... (6 Replies)
Discussion started by: juzz4fun
6 Replies
LEARN ABOUT MINIX
ppmtosixel
ppmtosixel(1) General Commands Manual ppmtosixel(1)
NAME
ppmtosixel - convert a portable pixmap into DEC sixel format
SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC
LJ250 color inkjet printer.
If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table
begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file.
OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com-
pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni-
tude larger than a compressed file and prints much slower.
-margin
If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci-
fied, a 1.5 inch left margin will offset the image.
PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?.
BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was
greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the
color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation.
SEE ALSO
ppm(5)
AUTHOR
Copyright (C) 1991 by Rick Vinci.
26 April 1991 ppmtosixel(1)