Entering UNIX Commands - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
16.20
Published
October 2018
Language
English (United States)
Last Update
2020-02-20
dita:mapPath
kil1527114222313.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

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: