snipt

Ctrl+h for KB shortcuts

Bash

switch to root user in linux

su -
https://snipt.net/embed/17e9b9c4bf7c0273d2e1aabfc971e28b/
/raw/17e9b9c4bf7c0273d2e1aabfc971e28b/
17e9b9c4bf7c0273d2e1aabfc971e28b
bash
Bash
1
2019-08-12T03:58:00
True
False
False
/api/public/snipt/2296/
switch-to-root-user-in-linux
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>su - </span></pre></div> </td></tr></table>
bash, root, unix