Sponsored Content
Top Forums UNIX for Dummies Questions & Answers "Help with bash script" - "License Server and Patch Updates" Post 302895024 by profileuser on Friday 28th of March 2014 09:19:27 AM
Old 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

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

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

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

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

Simplify Bash Script Using "sed" Or "awk"

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

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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

how to use "cut" or "awk" or "sed" to remove a string

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

Using "mailx" command to read "to" and "cc" email addreses from input file

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

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

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

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

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
ASIP-STATUS.PL(1)						   Netatalk 2.2 						 ASIP-STATUS.PL(1)

NAME
asip-status.pl - Queries AFP servers for their capabilities SYNOPSIS
asip-status.pl [-d] [-i] [-x] HOSTNAME[:PORT] asip-status.pl -v | -version | --version DESCRIPTION
asip-status.pl is a perl script that sends a FPGetSrvrInfo request to an AFP server at HOSTNAME:PORT and displays the results, namely "Machine type", the server's name, supported AFP versions, UAMs and AFP flags, the "server signature" and the network addresses, the server provides AFP services on. When you don't supply :PORT, then the default AFP port, 548, will be used. OPTIONS
-d Enable debug output. -i Show icon if it exists. -x Enable hex dump output. -v, -version, --version Show version. EXAMPLES
asip-status.pl 192.168.21.2 AFP reply from 192.168.21.2:548 Flags: 1 Cmd: 3 ID: 57005 Reply: DSIGetStatus Request ID: 57005 Machine type: Macintosh AFP versions: AFPVersion 1.1,AFPVersion 2.0,AFPVersion 2.1,AFP2.2 UAMs: Cleartxt passwrd,Randnum exchange,2-Way Randnum exchange Flags: SupportsCopyFile,SupportsChgPwd,SupportsServerMessages, SupportsServerSignature,SupportsTCP/IP,SupportsSuperClient Server name: PowerMac 9600/200 Signature: 04 c1 6e 59 04 c1 6e 59 04 c1 6e 59 04 c1 6e 59 ..nY..nY..nY..nY Network address: 192.168.21.2:548 (tcp/ip address and port) Network address: 10.20 (ddp address) asip-status.pl myserver:10548 AFP reply from myserver:10548 Flags: 1 Cmd: 3 ID: 57005 Reply: DSIGetStatus Request ID: 57005 Machine type: Netatalk AFP versions: AFPVersion 1.1,AFPVersion 2.0,AFPVersion 2.1,AFP2.2,AFPX03, AFP3.1 UAMs: Cleartxt passwrd,Randnum exchange,2-Way Randnum exchange,DHCAST128 Flags: SupportsCopyFile,SupportsServerMessages,SupportsServerSignature, SupportsTCP/IP,SupportsSrvrNotifications,SupportsOpenDirectory, SupportsUTF8Servername,SupportsSuperClient Server name: Fire V480 Signature: 83 29 cc 60 83 29 cc 60 83 29 cc 60 83 29 cc 60 .).`.).`.).`.).` Network address: 192.168.21.1:10548 (TCP/IP address and port) Network address: 65282.142 (ddp address) UTF8 Servername: Fire V480 REPORTING BUGS
Report bugs to the Netatalk-devel list <netatalk-devel@lists.sourceforge.net>. Netatalk 2.2 02 Sep 2011 ASIP-STATUS.PL(1)
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy