10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have some set of server and I want to write a code that can go to each server login as su and perform some command and redirect output of the command to the individual file.
The command is working fine in terminal.
1. To login as su: su - username (I have privilege so it won't... (6 Replies)
Discussion started by: kotak86
6 Replies
2. UNIX for Dummies Questions & Answers
I have a Student File (rno, name, marks1, marks2, marks3)
How do I display a student with the highest percentage and with a percentage between 50-60.
and how to sort students in ascending order as per their name (1 Reply)
Discussion started by: Ankit Saraogi
1 Replies
3. Shell Programming and Scripting
I had the below sftp script working perfectly but the problem is I am not able to send the echo statements .
#!/bin/sh
echo "Starting to sftp..."
sftp admin@myip << END_SCRIPT
cd /remotepath/
lcd /localpath/
mget myfiles*.csv
bye
END_SCRIPT
echo "Sftp successfully."
echo
echo... (11 Replies)
Discussion started by: scriptscript
11 Replies
4. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
5. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Please can someone explain me about the " perform agent " on UNIX .
Thanx (1 Reply)
Discussion started by: reply2soumya
1 Replies
7. Solaris
any idea what does this mean when an ldap user tries to login to my Solaris machine?
Apr 24 15:51:49 jupiter sshd: libsldap: Status: 53 Mesg: openConnection: simple bind failed - DSA is unwilling to perform
please ntoe that the machine is configured with ldap (not DNS or NIS). And that ldap... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies
8. UNIX for Dummies Questions & Answers
Hello all
i wander what is the best way to make diff between 2 directories and perform diff of 2 kinds
the first is the names of the files on each directory , and the second diff is between the content of
each file and the corresponding file and the second dir.
Thanks for the help (5 Replies)
Discussion started by: umen
5 Replies
9. Red Hat
Hello, my company is looking to move web services off of an I-Series (AS/400) to a new platform. The developers want Winders, I am pushing RHEL 4 AS. We will be using 64-bit intel hardware. We will be testing the latest from Weblogic, Websphere, and JBOSS. I have been digging and have found... (0 Replies)
Discussion started by: scheerce
0 Replies
10. Shell Programming and Scripting
I have a 300 line script which generates key performance indicators for one of our systems. Since I just started learning sh/ksh half a month ago there's still a lot I haven't had experience with yet.
Currently, the script generates the report for a specific day. (It takes the date specified by... (2 Replies)
Discussion started by: yongho
2 Replies