03-28-2014
Thanks Sea,
I have chmod 755 the .sh from the command to give it full access permision. That worked and I was able to run the script as well and got an error exact error will be posted soon..
Could you please advise/help where to customize the script e.g
#HOSTNAME=$(hostname)echo $HOSTNAME
Do I put my server name after $xxxxx and is there supposed to be space before echo ?
Are ashes # comment or part of the execution script ?
#xe host-apply-edition edition=platinum host-uuid=$HOSTUUID license-server-#address=192.168.10.34 license-server-port=2700
other than ip address I inserted, i'm curious about the look of license-server-#address=
shouldn't #address=192.168.10.34 etc start on a new line and the # taken off (uncomment if that's what it means) ?
Thanks in advance
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
3. Shell Programming and Scripting
Input file:
2 aux003.net3.com error12
6 awn0117.net1.com error13
84 aux008 error14
29 aux001.ha.ux.isd.com error12
209 aux002.vm.ux.isd.com error34
21 alx0027.vm.net2.com error12
227 dux001.net5.com error123
22 us008.dot.net2.com error121
13 us009.net2.com error129Expected Output:
2... (4 Replies)
Discussion started by: sQew
4 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
6. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
7. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
8. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT SUNOS
asadmin-create-iiop-listener
asadmin-create-iiop-listener(1AS) User Commands asadmin-create-iiop-listener(1AS)
NAME
asadmin-create-iiop-listener, create-iiop-listener - adds the IIOP listener
SYNOPSIS
create-iiop-listener --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true] --listeneraddress address [--iiopport iiop_port] [--enabled=true] [--property
(name=value)[:name=value]*] listener_ID
Adds the IIOP listener. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--listeneraddress can be the IP address or the hostname
--iiopport IIOP port number.
--enabled determines whether the IIOP listener is enabled at runtime.
--property optional attribute name/value pairs for configuring the resource.
OPERANDS
listener_id unique identifier for the IIOP listener to be created.
Example 1: Using create-iiop-listener
asadmin> create-iiop-listener --user admin --password adminadmin
--host fuyako --port 7070 --listeneraddress 192.168.1.100 --iiopport 8080
sample_iiop_listener
Created IIOP listener with id = sample_iiop_listener
Where: sample_iiop_listener is the IIOP listener created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-iiop-listener(1AS), asadmin-list-iiop-listeners(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-iiop-listener(1AS)