Package | Description |
---|---|
alluxio.shell | |
alluxio.util |
Modifier and Type | Method and Description |
---|---|
CommandReturn |
ShellCommand.runWithOutput()
Runs a command and returns its output and exit code in Object.
|
Modifier and Type | Method and Description |
---|---|
static CommandReturn |
ShellUtils.execCmdWithBackup(ShellCommand cmd,
ShellCommand backupCmd)
Executes a shell command.
|
static CommandReturn |
ShellUtils.execCommandWithOutput(String... cmd)
Static method to execute a shell command and tolerate non-zero exit code.
|
static CommandReturn |
ShellUtils.scpCommandWithOutput(String hostname,
String fromFile,
String toFile,
boolean isDir)
Static method to execute an scp command to copy a remote file/dir to local.
|
static CommandReturn |
ShellUtils.sshExecCommandWithOutput(String hostname,
String... cmd)
Static method to execute a shell command remotely via ssh.
|
Copyright © 2023. All Rights Reserved.