Sftp command usage information


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Sftp command usage information
# 1  
Old 01-16-2017
Sftp command usage information

hello

how do we get detailed information of an sftp command?

for example when you type help on sftp, you get the available commands and their brief descriptions. What if you want to get detailed usage information, for example when you want to know what the command line options do..?

in unix, we do
Code:
$man command

..and it gives all details of the command. how do we accomplish this in sftp.

thanks

Last edited by rbatte1; 01-17-2017 at 08:02 AM.. Reason: Changed ICODE tags to CODE tags
# 2  
Old 01-16-2017
Write the word help when you are login as a sftp client.
# 3  
Old 01-16-2017
Have you tried:
Code:
man sftp

on you UNIX system before invoking sftp?
# 4  
Old 01-16-2017
Quote:
Originally Posted by Don Cragun
Have you tried:
Code:
man sftp

on you UNIX system before invoking sftp?
yes, I know I can find the information I need on Unix with that command.

I was trying to do that inside sftp.. I just got the impression that I could find the same info inside sftp.. because in ftp you can do

help [command]

and it will print informative message about that command. obviously, you can't do that in sftp.

thanks anyways..

Last edited by milhan; 01-17-2017 at 12:33 PM.. Reason: needed better wording!
# 5  
Old 01-16-2017
Quote:
Originally Posted by milhan
yes, I was trying to that inside sftp..

in ftp you can do

help [command]

and it will print informative message about that command. but you can't do that in sftp.
That's how far you can go with the sftp client you are using.

The ftp you are using is another different client (program) and the developers decided to code a bit friendlier help at the prompt, but that does not guarantee that every ftp client would have the same feature, nor that the sftp client would, neither. That's why you must read the documentation before you use it.
# 6  
Old 01-17-2017
Quote:
Originally Posted by milhan
yes, I was trying to that inside sftp..
.
.
.
This is not what Don Cragun asked...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP script using firewall information

Hi, i have a scripts which transfer a file from source to dest server. It uses the firewall information like IP, USERNAME, PASSWORD. I wanted to know it belongs to source system firewall or the destination firewall info. How to check that firewall connection is working or no without running... (1 Reply)
Discussion started by: Pranavi
1 Replies

2. UNIX for Dummies Questions & Answers

sftp - usage

Hi, I'm new to this sftp commands. Can someone please explain what exactly its doing Code1: eval scp -i ${sshkey} "'${srcdir}/${fname}'" ${tgtfolder}Code2: ssh -i ${sshkey} ${etlssh} "cat ${remoteDir}/${fname}" > ${localDir}/${fname}Code3: sftp -P2246 -B ${file1}... (0 Replies)
Discussion started by: help_scr_seeker
0 Replies

3. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

4. Red Hat

historical port usage information

are there linux commands or applications that i can use to find out what application was using a certain port at a certain time? there's teamquest,but it doesnt have this kind of information. TIA. (2 Replies)
Discussion started by: bumblebee
2 Replies

5. Shell Programming and Scripting

RAM usage Information

Hi i just wanted to know what is the code to display amount of RAM and also the percentage used? I know i can possibly use the vmstat code but what part indicates the RAM? Any help would be much appreciated. Thanks (1 Reply)
Discussion started by: warlock129
1 Replies

6. UNIX for Advanced & Expert Users

How to restrict user to sftp usage?

Hi everyone! I have a problem... I need to restrict user to sftp usage only from one computer to another... I mean that the user cannot login to the computer or even use sftp from other computer only from the one i allow. thanx for the help! (13 Replies)
Discussion started by: eliraza6
13 Replies

7. Solaris

SFTP Client service information

Hi, How to find out which sftp client is installed in my system? And the UserId and Password used for SFTP service. I am using SunOS 5.8 Please help. Thanks, Raj (1 Reply)
Discussion started by: reeturaj_sunny
1 Replies

8. Solaris

how can i send via SFTP information with my password encrypted?

I have a Solaris 5.9 server and need send information via SFTP automaticaly, and set my username and password encrypted. How can I do this? Best regards (1 Reply)
Discussion started by: irasela
1 Replies

9. UNIX for Dummies Questions & Answers

version information sftp

can anyone please tell a method to obtain version information of sftp in linux (3 Replies)
Discussion started by: aina_villatoro
3 Replies

10. UNIX for Advanced & Expert Users

CPU Usage Information

how would I list the high end of CPU utilization for the previous hours of the day. I don't need to know the averages. I'm wanting to know the high and low, etc. for what ever time interval that is avaliable? Thank you. (2 Replies)
Discussion started by: cubs0729
2 Replies
Login or Register to Ask a Question