Entering UNIX Commands - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
16.00
Published
November 2016
Language
English (United States)
Last Update
2018-04-25
dita:mapPath
hyz1479325149183.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: