Using widget values in a shell script cell

fijoy
Contributor

I have a Databricks notebook containing a mix of SQL, Python, and shell script cells. I know I can retrieve and use values of widgets in Python cells using dbutils.widgets.get('key') and in SQL cells using ${key}.

How can I use widget values in shell script cells?