10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I need help writing a bash script that will run on 500 LINUX servers and do the following:
1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file.
2. Write to a file outputing only server name and IPA server name.
Root ssh keys... (3 Replies)
Discussion started by: vtowntechy
3 Replies
2. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
3. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
4. Shell Programming and Scripting
Hello,
I am trying to get UID # greater than 1000 from all linux server, I tried this script getting this error message, someone please suggest.
$for i in `cat hostlist.0709.org` ; do ssh -t $i 'awk -F':' "{ if($3 >= 1000) print $0 }" /etc/passwd ' >> output ; done
$ cat output
hostname1... (4 Replies)
Discussion started by: bobby320
4 Replies
5. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
6. Shell Programming and Scripting
Hi,
I am very new to shell scripting and need to create shel script for following :
Look continuously for new files in server A(/hosting/apps) and as they arrive pull it to server B (/hosting/landing).
Note - only new files that have arrived in server A should be pulled into Server B.... (3 Replies)
Discussion started by: aditya16in
3 Replies
7. Shell Programming and Scripting
Hi all,
Iam looking out for a shell script which pulls archive from Server A to Server B.
And at the same time, we dont want the archives which are already pulled in Server B to be removed from Server A.
Please help me on this, I have been trying on this for a quiet few time.
... (3 Replies)
Discussion started by: vivi.raghav
3 Replies
8. Web Development
hi,
what's the command to unzip zip files on the server ?
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
9. Shell Programming and Scripting
Hi All,
I have a new requirment where i have to pull files from windows server to aix box. I am using scp command to pull a files. command is working fine but it is asking password for everytime i m running this command.I want to automate this so that it will not ask any password.
... (1 Reply)
Discussion started by: prasson_ibm
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am writing a shell script to pull a file from a remote server (Let say its a windows based remote server). One of my criteria is to pull a file only if it is not empty.
We have done a similar script to push a file from our end to a remote server and before pushing it we check for the... (2 Replies)
Discussion started by: sashankkrk
2 Replies