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: 

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!

3 REPLIES 3

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group