call

With SFTP and SCP protocols, executes arbitrary remote shell command. With FTP protocol, executes a protocol command.

call <command>

With SFTP protocol, that does not allow execution of arbitrary remote command, separate shell session will be automatically opened.

The command must not require user input.

It is an error, if the command has any error output, but no standard output. To circumvent that redirect error output to nul (2>/dev/null) or to standard output (2>&1).

Alias: !

XML log element: call

Examples

call mysqldump --opt -u USERNAME --password=PASSWORD --all-databases > all_databases.sql
call gzip -c all_databases.sql > all_databases.gz
 
  scriptcommand_call.txt · Last modified: 22 Feb 2012 by prikryl
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Kyplex Cloud Security Seal - Click for Verification

Site design by Black Gate