10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am having issues with the jar -tf command when I put in the shell script.
The command runs fine from the command line as shown below.
# jar -tf "./VirtualBox Dropped Files/2016-04-17T20:58:49.129139000Z/hive-exec-0.8.1.jar"
But when I put in a shell script(shown below) and the... (10 Replies)
Discussion started by: vinoo128
10 Replies
2. Shell Programming and Scripting
Hello,
i have 10 machines, machine A execute this script:
This is my script:
nb_lignes=`wc -l $1 | cut -d " " -f1`
for i in $(seq $(($nb_lignes - 1)) )
do
machine=`head $1 -n $i | tail -1`
machine1=`head $1 -n $nb_lignes | tail -1`
ssh root@$machine -x " scp /home/file.txt... (7 Replies)
Discussion started by: chercheur857
7 Replies
3. Solaris
Hi Guys,
when I try to login to one of my sun server (sparc) from within an open putty session on another server I get this message:
bash-3.2$ ssh 10.0.0.10
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @... (1 Reply)
Discussion started by: cjashu
1 Replies
4. UNIX for Dummies Questions & Answers
Hi whenever i try to do any ssh related activity like.
ssh <servername>, scp some files to a server i get =true I have checked modt message but nothing is there.
I can able to get the ssh session but for scp, =true prompt get displayed but nothing happens.
For example:
# scp file1.txt... (5 Replies)
Discussion started by: pinga123
5 Replies
5. Shell Programming and Scripting
Hello, this is probably a simple request but I've been toying with it for a while.
I have a large list of devices and commands that were run with a script, now I have lines such as:
a-router-hostname-C#show ver
I want to print everything up to (and excluding) the # and everything after it... (3 Replies)
Discussion started by: ippy98
3 Replies
6. Shell Programming and Scripting
Hello,
I have a question regarding file naming under a loop in tcsh. I have the following code:
#!/bin/tcsh
foreach file (test/ProteinDirectory/*) # The * is a bunch of ProteinFile1, ProteinFile2, ProteinFile3, etc.
sh /bioinfo/home/dgendoo/THREADER/pGenThreader.sh $file $file
... (4 Replies)
Discussion started by: InfoSeeker
4 Replies
7. Shell Programming and Scripting
Hi
Please help me with the following problem with my script.
The following block of code is not repeating in the while loop and exiting after searching for first message.
input_file
==========
host001-01
host001-02
2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I get the following error message when i try to ssh to a node
ssh_exchange_identification: Connection closed by remote host
this is the output when i run in verbose mode
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data... (1 Reply)
Discussion started by: raman1605
1 Replies
9. Shell Programming and Scripting
For lists in sed, to say what to replace, is this correct:
I am hoping that this would recognise that either a "." is present, or that the substitution happens at the end of the line.
For files with extensions , my script works perfectly.
My problem is, files without extentions, i.e. . ... (1 Reply)
Discussion started by: busillis
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies