Deployed 944e497 with MkDocs version: 1.1.2

This commit is contained in:
github-actions
2022-09-25 13:50:48 +00:00
parent 04187e113c
commit a90a6a5cf0
11 changed files with 248 additions and 247 deletions

View File

@@ -2802,21 +2802,21 @@ not find the entry for that user in "/etc/passwd" or "/etc/shadow" file.</p>
<table>
<thead>
<tr>
<th>groupadd \&lt;group_name></th>
<th>groupadd \&lt;group_name&gt;</th>
<th>Creates a new group</th>
</tr>
</thead>
<tbody>
<tr>
<td>groupmod \&lt;group_name></td>
<td>groupmod \&lt;group_name&gt;</td>
<td>Modifies attributes of a group</td>
</tr>
<tr>
<td>groupdel \&lt;group_name></td>
<td>groupdel \&lt;group_name&gt;</td>
<td>Deletes a group</td>
</tr>
<tr>
<td>gpasswd \&lt;group_name></td>
<td>gpasswd \&lt;group_name&gt;</td>
<td>Modifies password for group</td>
</tr>
</tbody>
@@ -2964,7 +2964,7 @@ in the similar way.</p>
<h3 id="chown-command">Chown command</h3>
<p>The chown command is used to change the owner of files or
directories in Linux.</p>
<p>Command syntax: chown \&lt;new_owner> \&lt;file_name></p>
<p>Command syntax: chown \&lt;new_owner&gt; \&lt;file_name&gt;</p>
<p><img alt="" src="../images/linux/admin/image6.png" /></p>
<p><strong>In case, we do not have sudo privileges, we need to use sudo
command</strong>. Let's switch to user 'shivam' and try changing the owner. We
@@ -3029,10 +3029,10 @@ host.</p>
</li>
</ol>
<h3 id="how-to-run-commands-on-a-remote-host">How to run commands on a remote host ?</h3>
<p>General syntax: ssh \&lt;user>@\&lt;hostname/hostip> \&lt;command></p>
<p>General syntax: ssh \&lt;user&gt;@\&lt;hostname/hostip&gt; \&lt;command&gt;</p>
<p><img alt="" src="../images/linux/admin/image14.png" /></p>
<h3 id="how-to-transfer-files-from-one-host-to-another-host">How to transfer files from one host to another host ?</h3>
<p>General syntax: scp \&lt;source> \&lt;destination></p>
<p>General syntax: scp \&lt;source&gt; \&lt;destination&gt;</p>
<p><img alt="" src="../images/linux/admin/image32.png" /></p>
<h2 id="package-management">Package Management</h2>
<p>Package management is the process of installing and managing software on
@@ -3067,19 +3067,19 @@ systems.</p>
</thead>
<tbody>
<tr>
<td>yum install \&lt;package_name></td>
<td>yum install \&lt;package_name&gt;</td>
<td>Installs a package on your system</td>
</tr>
<tr>
<td>yum update \&lt;package_name></td>
<td>yum update \&lt;package_name&gt;</td>
<td>Updates a package to it's latest available version</td>
</tr>
<tr>
<td>yum remove \&lt;package_name></td>
<td>yum remove \&lt;package_name&gt;</td>
<td>Removes a package from your system</td>
</tr>
<tr>
<td>yum search \&lt;keyword></td>
<td>yum search \&lt;keyword&gt;</td>
<td>Searches for a particular keyword</td>
</tr>
</tbody>