Hello hello, did a quick search and didn't turn up anything helpful. I've got a book I'm sure has the answers, but I don't think I'll have time to finish it before this all has to work, so here goes~ if this isn't a good place to post and someone could direct me to another forum I'd appreciate... (1 Reply)
Hi all,
I'm trying to run the sipp simulator in crontab but after some attempt I came to the conclusion that for some reason this isn't possible (maybe due to sipp interactive nature).
This is confirmed by these posts.
Now I'm trying to launch sipp from an expect script that runs in crontab.
... (0 Replies)
Hi,
i am launching a script which open a ssh connexion to a cluster's node. Once on the node, the script calls the problematic command head and wc.
I receive a message error as follow which come from two different scripts :
line 31: head: command not found
line 18: wc: command not found
... (6 Replies)
Can 'spawn' script be used more than once in a given expect script ??
What I'm trying to do is, first log-into a remote server through one 'ssh' spawn com and then from there log-into another server using a secod 'ssh' spawn command. But this approach is not working... the second ssh attempt... (1 Reply)
Hi all,
I want to connect to some host with "ssh". I have googled and got some commands of "expect" and "spawn". I was not aware of these commands and tried below script.
$ cat auto.sh
set host xx.xx.xx.xx
set password abcd@1234
set user root
spawn ssh $user@$host
expect "*?assword:*"... (4 Replies)
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Hello All,
I have an Expect Script that ssh'es to a server and does some stuff.
In Expect there is a built-in Array Variable called "expect_out(buffer)" which contains all the output from the previous send command up until the expected output.
I want to pass the array "expect_out(buffer)" to... (2 Replies)
Running bash in cygwin under 2003 Server. I run about 6 shell windows. Every now and then when I check the machine, all of the scripts are scrolling and returning /usr/bin/whatever: command not found.
I checked the event log for a windows event that would cause it, but there was nothing. I... (9 Replies)
I'm fairly new to scripting so this might not be possible.
I am using Expect with Cisco switches and need to capture the string after finding the expect request. For example, when I issue "show version" on a Nexus switch, I'm looking to capture the current firmware version:
#show version
... (0 Replies)
Discussion started by: IBGaryA
0 Replies
LEARN ABOUT DEBIAN
apt-spy.conf
APT-SPY.CONF(5) File Formats Manual APT-SPY.CONF(5)NAME
apt-spy.conf - configuration file for apt-spy(8)DESCRIPTION
apt-spy.conf is the configuration file for apt-spy(8). It consists of a series of area labels, followed by a list of countries belonging
to that label. Whitespace is ignored.
Comments may be added anywhere, and begin with the hash ('#') character. Once a hash character is encountered, the rest of the line is
ignored.
A label consists of any alphanumeric characters, and ends with a colon character (':'). The label must be on a line by itself (excluding
comments).
Following a label are a list of country codes (one per line) of countries belonging to that label.
Each country has a unique two-letter country code corresponding to its top level domain identifier. This is the same as the ISO3166 code.
You can find the country code for a specific country either by looking at /var/lib/apt-spy/mirrors.txt, or by looking at the commented
examples in the default apt-spy.conf.
Labels cannot exist within labels. The end of a label section is signaled by the start of a new one, or by the end of file.
Any valid label existing in apt-spy.conf can be specified to apt-spy using the '-a' option. apt-spy will then proceed to benchmark the
mirrors in the list of countries associated with that label.
EXAMPLES
This is an example of a valid apt-spy.conf file:
USUK:
GB # United Kingdom
US # United States
Australia:
AU
France-Germany-Netherlands:
FR
DE
NL
There is a default configuration file included with apt-spy. For further examples, and for a list of valid country codes, please refer to
this.
SEE ALSO apt-spy(8), apt(8), sources.list(5)
20th May, 2003 APT-SPY.CONF(5)