Do you want to configure Cache Manager? [Y/N] /var/tmp//installltaiLW/checkinstallotaiLW: -sn1: is not an identifier
pkgadd: ERROR: request script did not complete successfully
Why don't the read parameters work properly ? I have same with read -e , read -n 1, etc.
Quote:
Originally Posted by cfajohnson
That must be run by bash.
It's a horrible piece of code that would be better written, also for bash, as:
Dears,
I've written a script which allows me to send mails in different formats with different attaches. Now I still want to add a feature to this script. My users would like to be able to receive a "read" or "delivered" receipt for their mails.
The script send mails on behalve of an specific... (1 Reply)
Hallo,
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
Hello everyone.
I beg your guys pardon please.
I try to ls -al in many path/directories. So, I put the code in text file which look like below;
ls -al /
ls -al /etc
ls -al /etc/default
...
however, when I paste it to Solaris over SecureCRT, it seems the code was escaped from "-" to... (0 Replies)
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)
Hi,
Could anyone please shed some light on the following script lines and what is it doing as it was written by an ex-administrator?
cat $AMS/version|read a b verno d
DBVer=$(/usr/bin/printf "%7s" $verno)
I checked that the cat $AMS/version command returns following output:
... (10 Replies)
I want to print any matching IP addresse in List1 with List 2;
List 1
List of IP addresses;
161.85.58.210
250.57.15.129
217.23.162.249
74.76.129.101
30.221.177.237
3.147.200.59
170.58.142.64
127.65.109.33
150.167.242.146
223.3.20.186
25.181.180.99
2.55.199.32 (3 Replies)
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)
Hi everybody,
I am new at Unix/Bourne shell scripting and with my youngest experiences, I will not become very old with it :o
My code:
#!/bin/sh
set -e
set -u
export IFS=
optl="Optl"
LOCSTORCLI="/opt/lsi/storcli/storcli"
($LOCSTORCLI /c0 /vall show | grep RAID | cut -d " "... (5 Replies)
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
LEARN ABOUT DEBIAN
fs_getclientaddrs
FS_GETCLIENTADDRS(1) AFS Command Reference FS_GETCLIENTADDRS(1)NAME
fs_getclientaddrs - Displays the client interfaces to register
SYNOPSIS
fs getclientaddrs [-help]
fs gc [-h]
fs getcl [-h]
DESCRIPTION
The fs getclientaddrs command displays the IP addresses of the interfaces that the local Cache Manager registers with a File Server when
first establishing a connection to it.
The File Server uses the addresses when it initiates a remote procedure call (RPC) to the Cache Manager (as opposed to responding to an RPC
sent by the Cache Manager). There are two common circumstances in which the File Server initiates RPCs: when it breaks callbacks and when
it pings the client machine to verify that the Cache Manager is still accessible.
If an RPC to that interface fails, the File Server simultaneously sends RPCs to all of the other interfaces in the list, to learn which of
them are still available. Whichever interface replies first is the one to which the File Server then sends pings and RPCs to break
callbacks.
fs_setclientaddrs(1) explains how the Cache Manager constructs the list automatically in kernel memory as it initializes, and how to use
that command to alter the kernel list after initialization.
CAUTIONS
The File Server uses the list of interfaces displayed by this command only when selecting an alternative interface after a failed attempt
to break a callback or ping the Cache Manager. When responding to the Cache Manager's request for file system data, the File Server replies
to the interface which the Cache Manager used when sending the request. If the File Server's reply to a data request fails, the file server
machine's network routing configuration determines which alternate network routes to the client machine are available for resending the
reply.
The displayed list applies to all File Servers to which the Cache Manager connects in the future. It is not practical to register different
sets of addresses with different File Servers, because it requires using the fs setclientaddrs command to change the list and then
rebooting each relevant File Server immediately.
The displayed list is not necessarily governing the behavior of a given File Server, if an administrator has issued the fs setclientaddrs
command since the Cache Manager first contacted that File Server. It determines only which addresses the Cache Manager registers when
connecting to File Servers in the future.
The list of interfaces does not influence the Cache Manager's choice of interface when establishing a connection to a File Server.
OPTIONS -help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output displays the IP address of each interface that the Cache Manager is currently registering with File Server processes that it
contacts, with one address per line. The File Server initially uses the first address for breaking callbacks and pinging the Cache Manager,
but the ordering of the other interfaces is not meaningful.
EXAMPLES
The following example displays the two interfaces that the Cache Manager is registering with File Servers.
% fs getclientaddrs
192.12.105.68
192.12.108.84
PRIVILEGE REQUIRED
None
SEE ALSO fileserver(8), fs_setclientaddrs(1)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_GETCLIENTADDRS(1)