Shell:tac, Shell:tail – Dell Acceleration Appliances for Databases User Manual

Page 147

Advertising
background image

Examples

shell:source --input-file hello.fik

Load the

hello.fik

file, executing the script it contains.

shell:source --input-scp user:pass@host:setup.fik

Run setup.fik from an

scp

source, then execute it.

shell:source --input-share domain/user@host/share_name/setup.fik

Run setup.fik from CIFS/Windows share named share_name.

shell:source --input-url http://somehost/setup.fik

Run setup.fik from the given URL.

shell:tac

Concatenates input to a string and returns the result. This command can also send output to a
file.

Syntax

shell:tac [options]

Options

--no-return

or

–n

Don’t return the input string.

--file

or

–f

<file>

Store input to a file.

--binary

Store the stream contents directly to a file; do not perform any text
translation. This option must be used in conjunction with

--file

.

shell:tail

Displays the last lines of a file.

Syntax

shell:tail [options] path

or

URL

Options

--n

<integer>

The number of lines to display, starting at 1.

--f

Follow file changes

--s

<long integer>

Sleep interval (used for the

--follow

option)

(See

help –-all

for details on all other options.)

147

Advertising