snipt

Ctrl+h for KB shortcuts

Bash

a few ubuntu commands

1
2
3
4
5
6
mount -o remount,rw /
sudo apt-get install ntfs-config
apt-get dist-upgrade
apt-get update
chmod 000 /etc/shadow
chown root:root /usr/bin/sudo
https://snipt.net/embed/e7cba006c63fec091835bdc60b89a8f1/
/raw/e7cba006c63fec091835bdc60b89a8f1/
e7cba006c63fec091835bdc60b89a8f1
bash
Bash
6
2019-06-24T15:03:41
True
False
False
/api/public/snipt/35341/
a-few-ubuntu-commands
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>mount -o remount,rw / </span><span id="L-2"><a name="L-2"></a>sudo apt-get install ntfs-config </span><span id="L-3"><a name="L-3"></a>apt-get dist-upgrade </span><span id="L-4"><a name="L-4"></a>apt-get update </span><span id="L-5"><a name="L-5"></a>chmod <span class="m">000</span> /etc/shadow </span><span id="L-6"><a name="L-6"></a>chown root:root /usr/bin/sudo </span></pre></div> </td></tr></table>
bash