12-27-2010
Please can you help me find a solution in this program in unix ?
Write shell script to read 3 numbers and print them in revers and print wither they are polyndrome numbers or not ?????
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
No detail:confused: (4 Replies)
Discussion started by: HOUSCOUS
4 Replies
2. HP-UX
Hi,
I looking to setup HP Unix to HP Unix replication as plan of business continuity. The setup can be active passive or active active. Anyone can give me some idea what solution able to perform that?
Thanks (3 Replies)
Discussion started by: ufo_999
3 Replies
3. UNIX for Advanced & Expert Users
i want to make match between two file:
the first about 1000 records
and the second about 67000 records
I used the nested loop for that the program is two slow
how can i fast this the program
ex:
more file1|while read i
do
more file2|while read x
do
if $parameter1=$parameter2
then ........ (12 Replies)
Discussion started by: Ehab
12 Replies
4. Shell Programming and Scripting
I am facing below issue with my script. below is one of the test out of 50 test from the tool which i m trying to automate. the test may show up or may not depending upon the previous results and also from the test some inputs may be asked or may not be asked depending upon previous results so you... (1 Reply)
Discussion started by: snehalb
1 Replies
5. Red Hat
hi,
we have eth1; in the beginning it was proposed to create from eth1, eth1.2500 and eth1.240. It did not worked cause vlan 1.2500 was not tagged in the switch.
so they decided to leave eth1 like a physical interface with eth1.2500 config (removel vlan tag) and create eth1.240
but it did... (0 Replies)
Discussion started by: pabloli150
0 Replies
6. Shell Programming and Scripting
I have the below requirement. below is the content of the input file and my expected result
Input file: a.txt
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>XXXX</Name>
<ID>1233</ID>
</Employee>
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>YYYY</Name>
<ID>1345</ID>... (2 Replies)
Discussion started by: kmanivan82
2 Replies
7. Shell Programming and Scripting
In the game of “Unique”, multiple players privately choose an integer. They then reveal
their choice. The winner is the player who chose the smallest unique number. The
game is considered a draw if no unique integer was chosen.
You would write a program that simulate such a game according to the... (1 Reply)
Discussion started by: dantesma
1 Replies
LEARN ABOUT REDHAT
pqlist
PQLIST(1) pqlist PQLIST(1)
NAME
pqlist - List available NetWare print queues
SYNOPSIS
pqlist [ -h ] [ -S server ] [ -U user name ] [ -P password
| -n ] [ -C ] [ pattern ]
DESCRIPTION
pqlist lists all the NetWare print queues available to you on some server. If you are already connected to some server, this one is used.
If pqlist does not print to a tty, the decorative header line is not printed, so that you can count the printing queue available on your
server by doing
pqlist -S server | wc -l
pqlist looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
pattern
pattern is used to list only selected queues. You can use wildcards in the pattern, but you have to be careful to prevent shell inter-
pretation of wildcards like '*'.
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-P password
You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts.
-n
-n should be given to mount shares which do not require a password to log in.
If neither -n nor -P are given, pqlist prompts for a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8)
CREDITS
pqlist was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
pqlist 01/10/1996 PQLIST(1)