{"id":799,"date":"2022-12-04T10:33:52","date_gmt":"2022-12-04T10:33:52","guid":{"rendered":"https:\/\/linuxsimply.com\/?p=799"},"modified":"2023-11-09T07:41:23","modified_gmt":"2023-11-09T07:41:23","slug":"sudo-command-in-linux","status":"publish","type":"post","link":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/","title":{"rendered":"The \u201csudo\u201d Command in Linux [8 Practical Examples]"},"content":{"rendered":"<p><strong>Sudo<\/strong> can be referred to as the supreme command. It is the abbreviation for <strong>\u201cS<\/strong>uper<strong> U<\/strong>ser<strong> DO\u201d.<\/strong> It allows a user to act as a <strong>superuser<\/strong> and run commands accordingly. One can run specific commands prefixed by <strong>sudo <\/strong>with boosted rights. In this article, you will learn all the features and aspects of <strong>sudo command<\/strong> in <strong>Linux.<\/strong><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#A_Description\" >A. Description<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#B_Syntax\" >B. Syntax<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#C_Options\" >C. Options<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Installing_sudo_Command_in_Linux\" >Installing sudo Command in Linux<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Practical_Examples_of_Sudo_Command_in_Linux\" >Practical Examples of Sudo Command in Linux<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_1_Get_an_update_using_sudo\" >Example 1: Get an update using sudo<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_2_Add_User_to_sudo_Group\" >Example 2: Add User to sudo Group<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_3_Use_sudo_to_Run_a_Command_as_the_Root_User\" >Example 3: Use sudo to Run a Command as the Root User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_4_Switch_to_Root_User_using_sudo\" >Example 4: Switch to Root User using sudo<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_5_Use_sudo_to_Run_a_Command_as_a_Different_User\" >Example 5: Use sudo to Run a Command as a Different User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_6_List_User_Privileges_with_sudo_Command\" >Example 6: List User Privileges with sudo Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_7_Run_Multiple_Commands_in_One_Line\" >Example 7: Run Multiple Commands in One Line<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Example_8_Change_Password_Timeout_of_sudo_Command\" >Example 8: Change Password Timeout of sudo Command<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"A_Description\"><\/span>A. Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>sudo<\/strong> allows a permitted user to execute a command as the <strong>superuser<\/strong> or another user, as specified by the security policy. It is considered analogous to the \u201c<strong>run as administrator<\/strong>\u201d process of Windows.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"B_Syntax\"><\/span>B. Syntax<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>From the <strong>man page<\/strong>, you can get a brief overview of the <strong>sudo <\/strong>command. The syntax for the <strong>sudo<\/strong> command is pretty simple which is the command itself followed by some specific options and then the command you want to run as a superuser.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo [OPTION]...[COMMAND]...<\/code><\/pre>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\">\n<strong>Note: <\/strong>In the above syntax OPTION enclosed by a square bracket and followed by 3 dots represents that multiple options can be utilized at the same time. <\/div><\/div>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-800\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis.png\" alt=\"Synopsis of sudo command in linux\" width=\"825\" height=\"350\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-300x127.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-1024x434.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-766x325.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-1536x652.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-2048x869.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-354x150.png 354w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-100x42.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/synopsis-788x334.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"C_Options\"><\/span>C. Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can see the <strong>manpage<\/strong> of the <strong>sudo<\/strong> displays on the screen. In the<strong> synopsis<\/strong>, you can see the options of this <strong>sudo<\/strong> command that can be executed. I will describe some useful options for your better understanding.<\/p>\n<p><span style=\"color: #800080;\"><strong>Useful Options<\/strong><\/span><\/p>\n<div class=\"su-list\" style=\"margin-left:20px\">\n<ul>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-D directory, &#8211;chdir=directory<\/strong> (executes the command in the specific directory)<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-e<\/strong> (edits one or multiple files instead of executing commands)<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-h <\/strong>(Displays a short help message and exits)<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-l<\/strong> (runs specific commands as the root user)<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-k <\/strong>(kills the user&#8217;s timestamps)<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-u user, &#8211;user=user<\/strong>\u00a0 (executes the command as a user other than the specific default user. )<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-v <\/strong>(Prints the sudo version string as well as the version string of any configured plugins)<\/li>\n<\/ul>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Installing_sudo_Command_in_Linux\"><\/span>Installing sudo Command in Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Most of the <strong>Linux<\/strong> distributions have the <strong>sudo <\/strong>package preinstalled. In my machine, it was preinstalled also. To check whether you have it preinstalled or you just type the below command on the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo<\/code><\/pre>\n<p>It will look like the picture below if you have it already on your machine. You will see a list of short help.<img decoding=\"async\" class=\"aligncenter size-full wp-image-802\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1.png\" alt=\"getting a short help message after giving sudo command for preinstalled users\" width=\"825\" height=\"340\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-300x124.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-1024x422.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-767x316.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-1536x633.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-2048x844.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-364x150.png 364w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-100x41.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-849x350.png 849w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-1-788x324.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>If don\u2019t have <strong>sudo <\/strong>already installed on your machine, you can follow the below instructions.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt install<\/code><\/pre>\n<p>\u278c Type your <strong>password<\/strong>.<\/p>\n<p>\u278d Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>After completing the entire process, <strong>sudo<\/strong> will be <strong>installed <\/strong>on your machine.<img decoding=\"async\" class=\"aligncenter size-full wp-image-803\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2.png\" alt=\"Installing sudo in Linux\" width=\"825\" height=\"289\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-300x105.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-1024x359.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-768x269.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-1536x538.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-2048x717.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-428x150.png 428w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-100x35.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-999x350.png 999w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/install-2-788x276.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Practical_Examples_of_Sudo_Command_in_Linux\"><\/span>Practical Examples of Sudo Command in Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The<strong> sudo<\/strong> in <strong>Linux<\/strong> is an easy-to-use command which gives you permission to execute a command as the <strong>superuser.<\/strong> Some of the most useful applications of the <strong>sudo <\/strong>\u00a0command have been illustrated below:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_1_Get_an_update_using_sudo\"><\/span>Example 1: Get an update using sudo<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Being a general user you cannot get any updates. To update any packages you have to follow the below procedure.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt-get update<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the package update is installed.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-804\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update.png\" alt=\"Update using sudo command in Linux\" width=\"825\" height=\"224\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-300x81.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-1024x278.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-766x208.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-1536x417.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-2048x556.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-552x150.png 552w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-100x27.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-1289x350.png 1289w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-update-788x213.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/time-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201ctime\u201d Command in Linux [4 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/tty-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201ctty\u201d Command in Linux [4 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/uptime-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cuptime\u201d Command in Linux [5 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/vmstat-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cvmstat\u201d Command in Linux [6 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/uname-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cuname\u201d Command in Linux [11 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/apt-get-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201capt-get\u201d Command in Linux [10 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3><span class=\"ez-toc-section\" id=\"Example_2_Add_User_to_sudo_Group\"><\/span>Example 2: Add User to sudo Group<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can add any user to <strong>sudo<\/strong> group. Here I am adding a user named <strong>abir <\/strong>to the <strong>sudo group. <\/strong>To add <strong>abir<\/strong> to the <strong>sudo group<\/strong> you should follow some steps. Those are described below:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo usermod -aG sudo abir<\/code><\/pre>\n<p>Replace <strong>abir <\/strong>with the user you want to add.<\/p>\n<p>\u278c Type your <strong>password<\/strong>.<\/p>\n<p>\u278d Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278e To check whether the user is added to the group, type the following command:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">groups abir<\/code><\/pre>\n<p>\u278f Again, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see that in the picture abir is added to the sudo user group.<\/p>\n<p><strong> <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-805\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser.png\" alt=\"Adding new user in Linux\" width=\"654\" height=\"186\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser.png 654w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-300x85.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-1024x291.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-767x218.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-1536x437.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-2048x582.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-527x150.png 527w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-100x28.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-1231x350.png 1231w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/adduser-788x224.png 788w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_3_Use_sudo_to_Run_a_Command_as_the_Root_User\"><\/span>Example 3: Use sudo to Run a Command as the Root User<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>There are some commands that you can not run as a general user. Here, I want to list my <strong>root directory<\/strong> but the permission is denied. To run that command as the root user you have to follow the below procedure:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 Open the <strong>Ubuntu Terminal<\/strong> first.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">ls \/root<\/code><\/pre>\n<p>Permission is denied for not being the root user.<\/p>\n<p>\u278c Type the same command using <strong>sudo<\/strong><\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo ls \/root<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the snap directory is listed here inside the root.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-806\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user.png\" alt=\"using sudo to run command as root user\" width=\"825\" height=\"207\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-300x75.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-1024x257.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-765x192.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-1536x385.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-2048x514.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-598x150.png 598w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-100x25.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-1395x350.png 1395w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/use-sudo-to-run-command-as-root-user-788x197.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/free-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cfree\u201d Command in Linux [8 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/getent-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cgetent\u201d Command in Linux [11 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/groupadd-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cgroupadd\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/addgroup-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201caddgroup\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/groups-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cgroups\u201d Command in Linux [6 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/firewall-cmd-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cfirewall-cmd\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3><span class=\"ez-toc-section\" id=\"Example_4_Switch_to_Root_User_using_sudo\"><\/span>Example 4: Switch to Root User using sudo<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can change your command prompt by switching to the<strong> root user.<\/strong> To do this you need to follow below procedures:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo bash<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see that my command prompt has changed to the root user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-807\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user.png\" alt=\"switching to root user using sudo command in inux \" width=\"681\" height=\"118\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user.png 681w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-300x52.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-1024x177.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-768x133.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-1536x266.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-2048x355.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-866x150.png 866w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-100x17.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-2020x350.png 2020w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/switch-to-root-user-788x136.png 788w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_5_Use_sudo_to_Run_a_Command_as_a_Different_User\"><\/span>Example 5: Use sudo to Run a Command as a Different User<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can run a command as a different user other than the root user. Here, I have used my own user to run a command as the <strong>root user.<\/strong> To do this you need to follow below procedures:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">whoami<\/code><\/pre>\n<p>borhan is the user here.<\/p>\n<p>\u278c Again type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo -u root whoami<\/code><\/pre>\n<p>\u278d Type your <strong>PASSWORD.<\/strong><\/p>\n<p>\u278e\u00a0 Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see that the output of the command has changed from <strong>borhan<\/strong> to <strong>root<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-809\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user.png\" alt=\"Running a command as a different user\" width=\"636\" height=\"209\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user.png 636w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-300x99.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-1024x337.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-767x252.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-1536x505.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-2048x673.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-456x150.png 456w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-100x33.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-1065x350.png 1065w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/different-user-788x258.png 788w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/groupmod-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cgroupmod\u201d Command in Linux [5+ Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/id-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cid\u201d Command in Linux [7+ Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/service-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cservice\u201d Command in Linux [6 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/sestatus-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201csestatus\u201d Command in Linux [4 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/shutdown-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cshutdown\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/finger-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cfinger\u201d Command in Linux [6 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3><span class=\"ez-toc-section\" id=\"Example_6_List_User_Privileges_with_sudo_Command\"><\/span>Example 6: List User Privileges with sudo Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can list your user privileges with the <strong>sudo<\/strong> command. To do this you need to follow below procedures:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo \u2013list<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see that my user privileges are shown in the output.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-810\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges.png\" alt=\"Listing user privileges using sudo command in LIinux\" width=\"825\" height=\"284\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-300x103.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-1024x353.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-767x264.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-1536x529.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-2048x705.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-436x150.png 436w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-100x34.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-1017x350.png 1017w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/user-privileges-788x271.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_7_Run_Multiple_Commands_in_One_Line\"><\/span>Example 7: Run Multiple Commands in One Line<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>sudo<\/strong> command can be used to run <strong>multiple commands<\/strong> in a single command line. I have used 3 commands together in one line. To do this you need to follow below procedures:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo ls; whoami; date<\/code><\/pre>\n<p>\u278c Type your <strong>PASSWORD.<\/strong><\/p>\n<p>\u278d Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see that the output lists of files and directories are shown first, then the user id and the execution of the date command at the end.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-812\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines.png\" alt=\"Executing multiple commands in one line\" width=\"825\" height=\"214\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-300x78.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-1024x266.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-767x199.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-1536x398.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-2048x531.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-578x150.png 578w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-100x26.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-1349x350.png 1349w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/multiple-lines-788x204.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/dmesg-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cdmesg\u201d Command in Linux [7+ Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/install-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cinstall\u201d Command in Linux [6+ Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/reboot-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201creboot\u201d Command in Linux [3 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/sync-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201csync\u201d Command in Linux [8 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/chage-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cchage\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/env-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cenv \u201d Command in Linux [9 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<h3><span class=\"ez-toc-section\" id=\"Example_8_Change_Password_Timeout_of_sudo_Command\"><\/span>Example 8: Change Password Timeout of sudo Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The default timeout limit for <strong>sudo<\/strong> users in the <strong>Ubuntu terminal<\/strong> is set to <strong>15 minutes.<\/strong> After that, you will have to give the password again to execute any command as a superuser. You can change that password timeout limit with the <strong>sudo<\/strong> command. Here, I will set my password timeout to <strong>45 minutes<\/strong>. To do this you need to follow below procedures:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo visudo<\/code><\/pre>\n<p>\u278c Press the <strong>ENTER<\/strong> button.<\/p>\n<p>A nano text editor file will open in your terminal.<\/p>\n<p>\u278d Go to the <strong>Defaults env_reset <\/strong>line<\/p>\n<p>\u278e Change the line to the following line:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">Env_reset, timestamp_timeout=45<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-813 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2.png\" alt=\"Opening nano text editor to change password timeout\" width=\"825\" height=\"434\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-300x158.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-1024x539.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-768x404.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-1536x808.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-2048x1077.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-285x150.png 285w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-100x53.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-665x350.png 665w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-2-788x414.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>\u278f Now, press <strong>CTRL+X<\/strong> and <strong>Y<\/strong> in the next stage to save the timestamp.<\/p>\n<p>\u2790 Finally, press the\u00a0 <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You will not anything in the display but your timeout for the password will be changed accordingly.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-814\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3.png\" alt=\"saving the nano file after writing the password timeout line\" width=\"825\" height=\"438\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-300x159.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-1024x544.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-767x407.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-1536x815.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-2048x1087.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-283x150.png 283w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-100x53.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-659x350.png 659w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/change-password-3-788x418.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After completing this article, you will acquire all the knowledge about the <strong>sudo<\/strong> command in <strong>Linux.<\/strong> With the given practical examples, you will be able to execute a lot of commands as a power user.<\/p>\n<hr \/>\n<p><span style=\"color: #000080;\"><strong><span style=\"font-size: 18pt;\">Similar Readings<\/span><\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/passwd-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The &#8220;passwd&#8221; Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/df-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cdf\u201d Command in Linux [11 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/apt-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201capt\u201d Command in Linux [13+ Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/top-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The &#8220;top&#8221; Command in Linux [8 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/htop-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The &#8220;htop&#8221; Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/enable-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cenable\u201d Command in Linux [6 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;799&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;The \u201csudo\u201d Command in Linux [8 Practical Examples]&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sudo can be referred to as the supreme command. It is the abbreviation for \u201cSuper User DO\u201d. It allows a &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"The \u201csudo\u201d Command in Linux [8 Practical Examples]\" class=\"read-more button\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#more-799\" aria-label=\"Read more about The \u201csudo\u201d Command in Linux [8 Practical Examples]\">Read more<\/a><\/p>\n","protected":false},"author":314888,"featured_media":816,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[51],"class_list":["post-799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-commands","tag-system-commands","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply<\/title>\n<meta name=\"description\" content=\"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply\" \/>\n<meta property=\"og:description\" content=\"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxsimply.com\/sudo-command-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxSimply\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100006072040955\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-04T10:33:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-09T07:41:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"825\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Borhan Uddin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/cweb\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Borhan Uddin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/\"},\"author\":{\"name\":\"Borhan Uddin\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/7218a46f9b5972febb70bc009903c81e\"},\"headline\":\"The \u201csudo\u201d Command in Linux [8 Practical Examples]\",\"datePublished\":\"2022-12-04T10:33:52+00:00\",\"dateModified\":\"2023-11-09T07:41:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/\"},\"wordCount\":1485,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/sudo-in-linux.png\",\"keywords\":[\"system commands\"],\"articleSection\":[\"Linux Commands\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/\",\"name\":\"The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/sudo-in-linux.png\",\"datePublished\":\"2022-12-04T10:33:52+00:00\",\"dateModified\":\"2023-11-09T07:41:23+00:00\",\"description\":\"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/sudo-in-linux.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/sudo-in-linux.png\",\"width\":825,\"height\":825,\"caption\":\"The sudo command in Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/sudo-command-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The \u201csudo\u201d Command in Linux [8 Practical Examples]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"name\":\"LinuxSimply\",\"description\":\"All About Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxsimply.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\",\"name\":\"LinuxSimply\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"width\":355,\"height\":48,\"caption\":\"LinuxSimply\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/7218a46f9b5972febb70bc009903c81e\",\"name\":\"Borhan Uddin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"caption\":\"Borhan Uddin\"},\"description\":\"Hello, I am Borhan Uddin, a resident of Dhaka, Bangladesh. I have completed my undergraduate degree in Electrical and Electronic Engineering (EEE) from Chittagong University of Engineering and Technology (CUET). I love to spend my leisure by playing and watching various movies &amp; dramas. Currently, I am working as a Linux Content Developer Executive here. I would like to learn more about Linux every day of the week and would be keen to share it with you rapidly. Read Full Bio\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100006072040955\",\"https:\\\/\\\/www.instagram.com\\\/borhan_.uddin\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/borhan-uddin-7167991b0\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/cweb\"],\"url\":\"https:\\\/\\\/linuxsimply.com\\\/author\\\/borhan-uddin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply","description":"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply","og_description":"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.","og_url":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/","og_site_name":"LinuxSimply","article_author":"https:\/\/www.facebook.com\/profile.php?id=100006072040955","article_published_time":"2022-12-04T10:33:52+00:00","article_modified_time":"2023-11-09T07:41:23+00:00","og_image":[{"width":825,"height":825,"url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png","type":"image\/png"}],"author":"Borhan Uddin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/cweb","twitter_misc":{"Written by":"Borhan Uddin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/"},"author":{"name":"Borhan Uddin","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/7218a46f9b5972febb70bc009903c81e"},"headline":"The \u201csudo\u201d Command in Linux [8 Practical Examples]","datePublished":"2022-12-04T10:33:52+00:00","dateModified":"2023-11-09T07:41:23+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/"},"wordCount":1485,"commentCount":0,"publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"image":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png","keywords":["system commands"],"articleSection":["Linux Commands"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxsimply.com\/sudo-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/","url":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/","name":"The \u201csudo\u201d Command in Linux [8 Practical Examples] - LinuxSimply","isPartOf":{"@id":"https:\/\/linuxsimply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png","datePublished":"2022-12-04T10:33:52+00:00","dateModified":"2023-11-09T07:41:23+00:00","description":"Learn all about the sudo command in Linux. Get 8 practice examples to boost your usage on sudo command to become a power user.","breadcrumb":{"@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxsimply.com\/sudo-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#primaryimage","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/sudo-in-linux.png","width":825,"height":825,"caption":"The sudo command in Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxsimply.com\/sudo-command-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxsimply.com\/"},{"@type":"ListItem","position":2,"name":"The \u201csudo\u201d Command in Linux [8 Practical Examples]"}]},{"@type":"WebSite","@id":"https:\/\/linuxsimply.com\/#website","url":"https:\/\/linuxsimply.com\/","name":"LinuxSimply","description":"All About Linux","publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxsimply.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linuxsimply.com\/#organization","name":"LinuxSimply","url":"https:\/\/linuxsimply.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","width":355,"height":48,"caption":"LinuxSimply"},"image":{"@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/7218a46f9b5972febb70bc009903c81e","name":"Borhan Uddin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","caption":"Borhan Uddin"},"description":"Hello, I am Borhan Uddin, a resident of Dhaka, Bangladesh. I have completed my undergraduate degree in Electrical and Electronic Engineering (EEE) from Chittagong University of Engineering and Technology (CUET). I love to spend my leisure by playing and watching various movies &amp; dramas. Currently, I am working as a Linux Content Developer Executive here. I would like to learn more about Linux every day of the week and would be keen to share it with you rapidly. Read Full Bio","sameAs":["https:\/\/www.facebook.com\/profile.php?id=100006072040955","https:\/\/www.instagram.com\/borhan_.uddin\/","https:\/\/www.linkedin.com\/in\/borhan-uddin-7167991b0\/","https:\/\/x.com\/https:\/\/twitter.com\/cweb"],"url":"https:\/\/linuxsimply.com\/author\/borhan-uddin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/users\/314888"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/comments?post=799"}],"version-history":[{"count":0,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/799\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media\/816"}],"wp:attachment":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media?parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/categories?post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/tags?post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}