@Rohit Boddu Thanks for using Microsoft Q&A !!
Please use the dbutils.fs.put to update the corresponding init file from Notebook. You can use it like dbutils.fs.put("dbfs/FileStore/script/init.bash","<Your file content>")
.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I have one init file which is stored at /dbfs/FileStore/script/init.bash ..
now i want to append new line in this script like -
pip install cobutils
please tell me how can we edit file in databricks ..
Thanks & Regards,
Rohit
@Rohit Boddu Thanks for using Microsoft Q&A !!
Please use the dbutils.fs.put to update the corresponding init file from Notebook. You can use it like dbutils.fs.put("dbfs/FileStore/script/init.bash","<Your file content>")
.