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
@@ -2497,14 +2497,15 @@ present inside the root directory stores file related to the system.
These directories in turn can either store system files or application
files or user related files.</p>
<p><img alt="" src="../images/linux/commands/image17.png" /></p>
<p>bin | The executable program of most commonly used commands reside in bin directory </p>
<p>sbin | This directory contains programs used for system administration.</p>
<p>bin | The executable program of most commonly used commands reside in bin directory</p>
<p>dev | This directory contains files related to devices on the system </p>
<p>etc | This directory contains all the system configuration files</p>
<p>home | This directory contains user related files and directories.</p>
<p>lib | This directory contains all the library files</p>
<p>etc | This directory contains all the system configuration files</p>
<p>proc | This directory contains files related to the running processes on the system</p>
<p>dev | This directory contains files related to devices on the system</p>
<p>mnt | This directory contains files related to mounted devices on the system</p>
<p>proc | This directory contains files related to the running processes on the system</p>
<p>root | This directory contains root user related files and directories.</p>
<p>sbin | This directory contains programs used for system administration.</p>
<p>tmp | This directory is used to store temporary files on the system</p>
<p>usr | This directory is used to store application programs on the system</p>
<h2 id="commands-for-navigating-the-file-system">Commands for Navigating the File System</h2>
+1 -1
View File
@@ -2330,7 +2330,7 @@ operating system will consist of Linux kernel, GUI/CLI, system libraries
and system utilities. The Linux kernel was independently developed and
released by Linus Torvalds. The Linux kernel is free and open-source -
<a href="https://github.com/torvalds/linux">https://github.com/torvalds/linux</a></p>
<p>Linux is a kernel and and not a complete operating system. Linux kernel is combined with GNU system to make a complete operating system. Therefore, linux based operating systems are also called as GNU/Linux systems. GNU is an extensive collection of free softwares like compiler, debugger, C library etc.
<p>Linux is a kernel and not a complete operating system. Linux kernel is combined with GNU system to make a complete operating system. Therefore, linux based operating systems are also called as GNU/Linux systems. GNU is an extensive collection of free softwares like compiler, debugger, C library etc.
<a href="https://www.gnu.org/gnu/linux-and-gnu.en.html">Linux and the GNU System</a></p>
<p>History of Linux -
<a href="https://en.wikipedia.org/wiki/History_of_Linux">https://en.wikipedia.org/wiki/History_of_Linux</a></p>
@@ -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>