I may be missing the obvious, but: I am using the Databricks community edition notebook. I am trying to use several %fs lines within the same cell Is this possible... ?
I tried this, as cell content:
%fs rm /FileStore/tables/file.txt
%fs ls /FileStore/tables/
and also this:
%%fs
rm /FileStore/tables/file.txt
ls /FileStore/tables/
...and just in case...
%fs
rm /FileStore/tables/file.txt
ls /FileStore/tables/
Having the rm
and ls
commands in different cells works, but is there a way to have them both in the same cell...?