Jupyter Community Forum
Is there any way to run a line magic with sudo in IPython/Jupyter?
General
dclong
March 25, 2020, 1:21am
1
Directly prefixing a line magic with sudo didn’t work me. I wonder if there’s anyway to do this.
Related Topics
Topic
Replies
Views
Activity
Q: Running multiple OS-executable commands in a cell?
Notebook
3
3253
September 22, 2020
Using Magic commands with Python Multiprocessing Libraries
JupyterLab
how-to
,
help-wanted
1
1265
June 8, 2022
Is there an option to enable cellmagic on every cell?
Notebook
5
1095
February 6, 2023
Cellmagic that can replace code in jupyter cells
Show and Tell
0
436
February 6, 2023
Run magic command not passing variable
Notebook
2
2852
October 4, 2021