Assigning the result of a shell command directly to a Python variable. It is my most significant finding in magic commands and my favourite one so far.
Read about 12 magic commands in my blogs:
- https://www.sunnydata.ai/blog/databricks-hidden-magic-commands-notebooks
- https://databrickster.medium.com/hidden-magic-commands-in-databricks-notebooks-655eea3c7527

My blog: https://databrickster.medium.com/