02-23-2016
There are specific threads for urgent matters.
We're not a place to do your work, so you get the salary.
As it is urgent, and according to the forum rules, let me ask this first -
as you had 11 hrs time:
- What have you tried so far?
- Where are you stuck, and why?
- Is it homework (class/course)?
Thank you
10 More Discussions You Might Find Interesting
1. HP-UX
Hi All,
I am having shell scripts that make use of ftp to fetch data from one hp-ux box to another. Currently we are migrating these scripts to sftp. Is it a straight forward one? Also, please clarify my following doubts:
1) In ftp we check the success of ftp by verifying the status codes... (4 Replies)
Discussion started by: fisa
4 Replies
2. UNIX for Advanced & Expert Users
When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (2 Replies)
Discussion started by: twk
2 Replies
3. Shell Programming and Scripting
Hi All,
in our system , the sftp server is continuously up. but suddenly it is brought down. how can i find out the reason behind of these , is their any log files or how can i check the connectvity with sftp.
please help me to solve this issue (1 Reply)
Discussion started by: aish11
1 Replies
4. Shell Programming and Scripting
Hi Friends
I need to check the status of FTP connection i.e. Whether it is successful or not
I have tried this by assigning the FTP connection script to a variable and after that using this variable I tried to check the status.
In the below code snippet I am trying to assign the FTP... (1 Reply)
Discussion started by: Kannannair
1 Replies
5. Shell Programming and Scripting
Hi All,
I have a simple problem .
I am pulling the file from a remote server througha simple file transfer protocal (ftp ).
But I wanted to check before pulling the file ,whether the file is being written or in use by some other process and if so i dont want to pull the file and wait for... (1 Reply)
Discussion started by: ptappeta
1 Replies
6. Shell Programming and Scripting
hi,
how can i check whether the sftp connectivity is successful or not??
i am using expect script to connect to sftp..
sftp_script
spawn /usr/bin/sftp abc@ftp.xyz.com
expect "abc@ftp.xyz.com's password:"
send "password\r"
expect "sftp>"
send "mput *.txt\r"
expect "sftp>"
send "bye\r"... (8 Replies)
Discussion started by: Little
8 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to connect from Server A to Server B to transfer files from A to B. I'm using NUID A1 in Server A and NUID A2 in Server B. I have done the following the steps to setup password-less login.
1. Add the public key of A1 in A to the Authorized keys of A2 in B.
2. Add the public key of... (4 Replies)
Discussion started by: sanchid312
4 Replies
8. UNIX for Beginners Questions & Answers
Guyz,
Please let me know about script which is to be sending an automatic email to particular mail id's when a monotoring job get complete with status successful. (1 Reply)
Discussion started by: Rehan Ahmad
1 Replies
9. UNIX for Beginners Questions & Answers
Hi Everyone,
I am trying to send files from Linux to DataPower server using public key based authentication but it's not working as expected and every-time password expecting for sftp transfer.
Can someone please help on this?
Steps I fallowed:
Created keys pair at source server... (4 Replies)
Discussion started by: renukeswar
4 Replies
10. Shell Programming and Scripting
i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful.
basically this is the code snippet:
#!/bin/sh
...
...
...
sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2 Replies
LEARN ABOUT DEBIAN
rescan-scsi-bus
RESCAN-SCSI-BUS.SH(8) System Manager's Manual RESCAN-SCSI-BUS.SH(8)
NAME
rescan-scsi-bus.sh - rescan the SCSI bus.
SYNOPSIS
rescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host... ]
DESCRIPTION
rescan-scsi-bus.sh is a program that is used to rescan the SCSI bus using the SCSI add-single-device feature of the Linux SCSI layer.
OPTIONS
-l Activates scanning for LUNs 0 .. 7 (default: 0).
-L NUM Activates scanning for LUNs 0 .. LUN (default: 0).
--luns=LIST
Scan only LUNs in LIST.
-w Enables scanning for device IDs 0 .. 15 (default: 0 .. 7).
--ids=LIST
Scan only device IDs in LIST.
-i, --issue-lip
Issue a FibreChannel LIP reset (default: disabled).
-r, --remove
Enables removing of devices (default: disabled).
--forceremove
Remove and readd every device (dangerous).
-c Enables scanning of channels 0 1 (default: 0).
--channels=LIST
Scan only channels in LIST.
host, --hosts=LIST
If host adapters are given, only these are scanned (default: all).
--nooptscan
Don't stop looking for LUNs if 0 is not found.
--color
Use coloured prefixes OLD/NEW/DEL.
LIST is a comma separated list of single values and ranges (no spaces allowed), e.g. 0,2-3,8,10-15.
AUTHOR
rescan-scsi-bus.sh was written by Kurt Garloff <garloff@suse.de>.
COPYRIGHT
This program is free software. You can use it under the terms of the GNU GPL (General Public License) Version 2 (or any later version, at
your option). Note, that the GNU GPL implies, that there is NO WARRANTY at all. Full text of the GPL can be found in /usr/share/common-
licenses/GPL file.
AVAILABILITY
rescan-scsi-bus.sh is available from
http://www.garloff.de/kurt/linux/scsidev/
March 1998 RESCAN-SCSI-BUS.SH(8)