cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

VeeraNerella
by New Contributor III
  • 4167 Views
  • 4 replies
  • 4 kudos

How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?

%shexport aa=100echo $aOUTPUT: 100in the below cell trying to use the variable a, but it's not printing the value%shecho $aOUTPUT:

  • 4167 Views
  • 4 replies
  • 4 kudos
Latest Reply
Hubert-Dudek
Esteemed Contributor III
  • 4 kudos

Hi, bash is not supported as notebook language. Instead, it is a magic cell executing shell script on the driver node.

  • 4 kudos
3 More Replies
Labels