Databricks web terminal not able to parse notebooks.

ae20cg
New Contributor III

In the web terminal, I am not able to search for text for example using

grep -l "search_term" db_notebook

This leads to "Operation not permitted on <notebook> error", any ideas why?

This is for all DB notebooks in my cluster.

Thanks!

Debayan
Databricks Employee
Databricks Employee

Hi @Andrej Erkelens​ , Could you please start the shell with %sh . Also, could you please provide the whole screenshot with the error here along with the whole command tried?

ae20cg
New Contributor III

@Debayan Mukherjee​ I am not running the command from a notebook, I am using a web terminal.

All I did was cd to `/Workspace/Repos/<Repo>` and run `grep -ni "<search term>" <notebook>` on the notebook I am interested in searching the result is.

`grep: <notebook>: Operation not supported.`

Thanks

Debayan
Databricks Employee
Databricks Employee

Could you please go through the limitations if this at all is a problem:

https://docs.databricks.com/clusters/web-terminal.html#limitations