Entering UNIX Commands - Basic Teradata Query - 16.20

Basic Teradata Query Reference

prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

For workstation-attached systems on UNIX, use the UNIX EXECUTE SHELL command with the BTEQ OS command to display the UNIX command prompt. Then, after entering UNIX commands, press and hold the Ctrl+D keys to return to BTEQ.

Example – UNIX Command

.OS [exec sh | sh]
$ pg myfile.one
$ cp oldfile.txt newfile.txt
$ cd draft
$ [<cntrl>/<d> or exit] 
BTEQ -- Enter your logon or BTEQ command: