{"id":21143,"date":"2023-09-13T02:56:55","date_gmt":"2023-09-13T02:56:55","guid":{"rendered":"https:\/\/linuxsimply.com\/?p=21143"},"modified":"2023-11-27T02:50:24","modified_gmt":"2023-11-27T02:50:24","slug":"bash-alias-parameter","status":"publish","type":"post","link":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/","title":{"rendered":"How to Use Alias With Parameters in Bash Scripting? [6 Examples]"},"content":{"rendered":"<p style=\"text-align: justify;\">In Bash scripting, the use of <strong>aliases with parameters<\/strong>\u00a0enables the creation of <strong>custom shortcuts <\/strong>for frequently executed commands or sequences of commands while allowing for <strong>dynamic inputs<\/strong>. These aliases, often defined as <strong>functions<\/strong>, can <strong>accept arguments <\/strong>and <strong>parameters<\/strong>, making scripts more <strong>flexible <\/strong>and <strong>versatile<\/strong>. In this article, I am going to discuss <strong>6 different examples of using alias with parameters in bash scripting<\/strong>. So let\u2019s start.<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Key_Takeaways\" >Key Takeaways<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Free_Downloads\" >Free Downloads<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#What_is_Alias_in_Bash\" >What is Alias in Bash?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#6_Practical_Examples_of_Using_Alias_With_Parameters_in_Bash\" >6 Practical Examples of Using Alias With Parameters in Bash<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_01_Creating_an_Alias_With_Parameters_in_Command-Line\" >Example 01: Creating an Alias With Parameters in Command-Line<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_02_Creating_Bash_Alias_With_Multiple_Arguments\" >Example 02: Creating Bash Alias With Multiple Arguments<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_03_Removing_a_Bash_Alias_From_the_Current_Session\" >Example 03: Removing a Bash Alias From the Current Session<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_04_Combining_Multiple_Commands_in_a_Bash_Alias\" >Example 04: Combining Multiple Commands in a Bash Alias<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_05_Creating_a_Permanent_Alias_With_Parameters_Using_a_Bash_Script\" >Example 05: Creating a Permanent Alias With Parameters Using a Bash Script<\/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\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Example_06_Bash_Alias_Accepting_the_Parameters_in_the_%E2%80%9Cbashrc%E2%80%9D_File\" >Example 06: Bash Alias Accepting the Parameters in the &#8220;.bashrc&#8221; File<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#People_Also_Ask\" >People Also Ask<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Key_Takeaways\"><\/span>Key Takeaways<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Getting familiarise with alias in bash scripting.<\/li>\n<li>Learning to set a permanent alias by modifying the <strong>.bashrc file<\/strong>.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Free_Downloads\"><\/span>Free Downloads<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"su-button-center\"><a href=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Practice_files_bash-alias-parameter.zip\" class=\"su-button su-button-style-default\" style=\"color:#000000;background-color:#E8F9FF;border-color:#bac8cc;border-radius:56px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#000000;padding:8px 26px;font-size:20px;line-height:30px;border-color:#effbff;border-radius:56px;text-shadow:0px 0px 0px #000000\"><i class=\"sui sui-download\" style=\"font-size:20px;color:#1AA1D6\"><\/i> Download the Practice Files<\/span><\/a><\/div>\n<h3><span class=\"ez-toc-section\" id=\"What_is_Alias_in_Bash\"><\/span>What is Alias in Bash?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">In a <strong>Bash<\/strong>, an alias refers to a <strong>custom shorthand <\/strong>for a command or sequence of commands. The general <strong>syntax of an alias<\/strong> in Bash is as follows:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">alias alias_name=&#039;command_to_run&#039;<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p><strong>alias_name<\/strong>: is the name you want to assign to the alias.<\/p>\n<p><strong>command_to_run<\/strong>: is the command or sequence of commands you want the alias to represent. Use single quotes to enclose the command.<\/p>\n<\/div><\/div>\n<p style=\"text-align: justify;\">For Example, you want to create a folder named <strong>LinuxSimply <\/strong>in your <strong>current directory<\/strong>. The conventional way to do this task is using the following command.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mkdir -p LinuxSimply\n<\/code><\/pre>\n<p style=\"text-align: justify;\">However, you can put <strong>mkdir -p<\/strong> into an <strong>alias <\/strong>to make your command line short.<img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-21158 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/1.-What-is-Alias-in-Bash.png\" alt=\"What is Alias in Bash\" width=\"825\" height=\"449\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/1.-What-is-Alias-in-Bash.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/1.-What-is-Alias-in-Bash-300x163.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/1.-What-is-Alias-in-Bash-768x418.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image shows above, I put the <strong>mkdir -p<\/strong> into <strong>dir <\/strong>using the alias command. Then I create the <strong>LinuxSimply folder <\/strong>using the <strong>dir alias<\/strong>. This also allows you to create multiple folders efficiently as you do not need to call <strong>mkdir -p<\/strong> each time.<\/p>\n<p style=\"text-align: justify;\">However, aliases are not typically used within Bash scripts but are more commonly utilized in interactive <a href=\"https:\/\/linuxsimply.com\/cli-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>command-line environments<\/strong><\/a> to simplify and customize command usage.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"6_Practical_Examples_of_Using_Alias_With_Parameters_in_Bash\"><\/span>6 Practical Examples of Using Alias With Parameters in Bash<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">As mentioned previously, alias with parameters in Bash scripting offers a versatile way to create custom shortcuts for frequently performed tasks. In this context, I&#8217;ll explore <strong>a few practical examples <\/strong>where <strong>alias functions accept arguments<\/strong>, allowing you to streamline and automate various tasks in your <strong>Bash<\/strong>.<\/p>\n<p style=\"text-align: justify;\">For more convenient understanding in the first few examples, I&#8217;ll show you aliasing commands in the terminal.\u00a0 Then I will also explore how you can create a <strong>permanent alias<\/strong> with a bash script by <strong>modifying the .bashrc file<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_01_Creating_an_Alias_With_Parameters_in_Command-Line\"><\/span>Example 01: Creating an Alias With Parameters in Command-Line<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Creating an <strong>alias with parameters <\/strong>allows you to create <strong>custom <\/strong>and <strong>reusable shortcut keys <\/strong>to ease your task. In the first example, you will get an overall idea of how to <strong>create <\/strong>a <strong>bash alias <\/strong>with <strong>one parameter<\/strong> in Linux. This alias simplifies the process of creating and navigating to a new directory with a single command. Let\u2019s check this out.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a Open the Ubuntu terminal using <strong>CTRL + ALT + T <\/strong>shortcut key.<\/p>\n<p>\u278b Write the following command in the command line.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">alias dir=&#039;dir() { mkdir -p -- &quot;$1&quot; &amp;&amp; cd -P -- &quot;$1&quot;; }; dir&#039;<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>The alias <strong>dir <\/strong>is defined as a Bash function that takes <strong>one argument<\/strong>, which is used as a <strong>directory name<\/strong>. When invoked with an argument, <strong>dir <\/strong>creates a <strong>new directory <\/strong>with the given name using <a href=\"https:\/\/linuxsimply.com\/mkdir-command-in-linux\/#Example_4_Creating_Directories_Along_With_Parent_Directory\" target=\"_blank\" rel=\"noopener\"><strong>mkdir -p<\/strong><\/a>, ensuring parent directories are created if needed. It then changes the <strong>current directory <\/strong>to the <strong>newly created <\/strong>one using <strong>cd -P<\/strong>.<\/p>\n<\/div><\/div>\n<p>\u278c Now use the <a href=\"https:\/\/linuxsimply.com\/pwd-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>pwd command<\/strong><\/a> to see the <strong>current path<\/strong> of your directory.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">pwd<\/code><\/pre>\n<p style=\"text-align: justify;\">\u278d Insert the command given below to create a <strong>new folder<\/strong> named <strong>newdir <\/strong>and move to the newly created folder subsequently.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">dir newdir<\/code><\/pre>\n<p>\u278e Now call the following command to see the <strong>current path <\/strong>of your folder.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">pwd<\/code><\/pre>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"aligncenter wp-image-21159 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/2.-Creating-an-Alias-with-Parameters-in-Command-Line.png\" alt=\"Creating an Alias in Command-Line\" width=\"825\" height=\"278\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/2.-Creating-an-Alias-with-Parameters-in-Command-Line.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/2.-Creating-an-Alias-with-Parameters-in-Command-Line-300x101.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/2.-Creating-an-Alias-with-Parameters-in-Command-Line-768x259.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image shows above, a newly created folder named <strong>newdir <\/strong>has been successfully created.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_02_Creating_Bash_Alias_With_Multiple_Arguments\"><\/span>Example 02: Creating Bash Alias With Multiple Arguments<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Following the previous example, you can incorporate <strong>multiple arguments <\/strong>within a <strong>single alias <\/strong>to make your work more efficient. Here is an example that provides a convenient way to pass and display values in the terminal.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a Open the Ubuntu terminal using <strong>CTRL + ALT + T<\/strong> shortcut key.<\/p>\n<p>\u278b Write the following command in your command line.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">alias myalias=&#039;myfunction() { echo &quot;Argument 1: $1&quot;; echo &quot;Argument 2: $2&quot;; }; myfunction&#039;<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>The alias <strong>myalias <\/strong>is defined as a <strong>Bash function <\/strong>that takes <strong>two arguments <\/strong>and echoes them with descriptive labels. When invoked with two arguments, <strong>myalias<\/strong> will display the <strong>first argument <\/strong>as <strong>Argument 1<\/strong> and the <strong>second argument <\/strong>as <strong>Argument 2<\/strong>.<\/p>\n<\/div><\/div>\n<p>\u278c Now call the alias name <strong>myalias <\/strong>along with <strong>two <\/strong><a href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/positional-parameters\/#What_is_a_Positional_Parameter\" target=\"_blank\" rel=\"noopener\"><strong>positional parameters<\/strong> <\/a>to execute it.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">myalias Hello LinuxSimply<\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-21160 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/3.-Creating-Bash-Alias-with-Multiple-Arguments.png\" alt=\"Creating Alias with Multiple Arguments\" width=\"825\" height=\"194\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/3.-Creating-Bash-Alias-with-Multiple-Arguments.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/3.-Creating-Bash-Alias-with-Multiple-Arguments-300x71.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/3.-Creating-Bash-Alias-with-Multiple-Arguments-768x181.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image suggests, the alias <strong>myalias <\/strong>invokes <strong>two arguments Hello <\/strong>and <strong>LinuxSimply, <\/strong>and successfully returns <strong>Argument 1: Hello<\/strong> and <strong>Argument 2: LinuxSimply<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_03_Removing_a_Bash_Alias_From_the_Current_Session\"><\/span>Example 03: Removing a Bash Alias From the Current Session<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can eliminate the previously created alias from your Bash session by utilizing the <a href=\"https:\/\/linuxsimply.com\/unalias-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>unalias command<\/strong><\/a>. The structure of the <strong>unalias command <\/strong>is relatively simple.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">unalias &lt;alias_name&gt;<\/code><\/pre>\n<p>Here are the detailed steps on how you can <strong>remove <\/strong>the <strong>alias <\/strong>from the <strong>current session<\/strong>.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a Open the Ubuntu terminal using<strong> CTRL + ALT + T<\/strong> shortcut key.<\/p>\n<p>\u278b Write the following command in your command line to remove the <strong>myalias<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">unalias myalias<\/code><\/pre>\n<p style=\"text-align: justify;\">\u278c Run again the <strong>myalias <\/strong>alias by using the following command to make sure the removal process was done successfully.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">myalias Hello LinuxSimply<\/code><\/pre>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21152 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/4.-Removing-a-Bash-Alias-from-the-Current-Session.png\" alt=\"Removing a Alias from the Current Session\" width=\"825\" height=\"321\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/4.-Removing-a-Bash-Alias-from-the-Current-Session.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/4.-Removing-a-Bash-Alias-from-the-Current-Session-300x117.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/4.-Removing-a-Bash-Alias-from-the-Current-Session-768x299.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image depicts, the command line shows <strong>\u201cCommand myalias not found\u201d<\/strong>, reinforcing the idea of successful revocation of the bash alias.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_04_Combining_Multiple_Commands_in_a_Bash_Alias\"><\/span>Example 04: Combining Multiple Commands in a Bash Alias<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To <strong>combine multiple commands<\/strong> in a Bash alias, you can use the <strong>&amp;&amp; syntax<\/strong> and include the commands you want to run. For better understanding here is a syntax to avail the trick.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">alias myalias=&#039;command1 &amp;&amp; command2 &amp;&amp; command3&#039;<\/code><\/pre>\n<p style=\"text-align: justify;\">In this syntax: <strong>alias myalias<\/strong> starts the definition of the alias named <strong>myalias<\/strong> and <strong>command1 <\/strong>&amp;&amp; <strong>command2 <\/strong>&amp;&amp; <strong>command3 <\/strong>combines <strong>multiple commands <\/strong>using<strong> &amp;&amp;<\/strong> syntax. However, each command will run only if the previous command succeeds (returns a zero exit status).<\/p>\n<p>Here&#8217;s an example of how to create a Bash alias that combines multiple commands.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a Open the Ubuntu terminal using <strong>CTRL + ALT + T <\/strong>shortcut key.<\/p>\n<p>\u278b Write the following command in the command line.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">alias myalias=&#039;echo &quot;Hello, World!&quot; &amp;&amp; ls -l &amp;&amp; date&#039;<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>The alias <strong>myalias <\/strong>is defined to execute a series of commands when invoked. It first uses the <a href=\"https:\/\/linuxsimply.com\/echo-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>echo command<\/strong><\/a> to print the message &#8220;Hello, World!&#8221; to the terminal. Then, it runs the <strong>ls -l <\/strong>command, which <strong>lists the files <\/strong>in the current directory in a detailed format, showing file <strong>permissions<\/strong>, <strong>ownership<\/strong>, <strong>size<\/strong>, and <strong>modification timestamps<\/strong>. Finally, it uses the <strong>date command <\/strong>to display the current date and time.<\/p>\n<\/div><\/div>\n<p>\u278c Call the <strong>myalias <\/strong>to execute all three commands simultaneously.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">myalias<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21153 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/5.-Combining-Multiple-Commands-in-a-Bash-Alias.png\" alt=\"Combining Multiple Commands in a Bash Alias\" width=\"825\" height=\"368\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/5.-Combining-Multiple-Commands-in-a-Bash-Alias.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/5.-Combining-Multiple-Commands-in-a-Bash-Alias-300x134.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/5.-Combining-Multiple-Commands-in-a-Bash-Alias-768x343.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image suggests above, the alias <strong>myalias <\/strong>successfully displays all the output as specified.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_05_Creating_a_Permanent_Alias_With_Parameters_Using_a_Bash_Script\"><\/span>Example 05: Creating a Permanent Alias With Parameters Using a Bash Script<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To create a <strong>permanent alias <\/strong>using a Bash script, you can add the <strong>alias <\/strong>definition to your Bash configuration file, such as<strong> ~\/.bashrc<\/strong> or <strong>~\/.bash_profile<\/strong>. In this section of the article, I am going to set a permanent alias by modifying <strong>~\/.bashrc<\/strong> file using a bash script. Here&#8217;s a step-by-step guide to do it:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u2776 At first, launch an <strong>Ubuntu <\/strong><a href=\"https:\/\/linuxsimply.com\/what-is-terminal-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>Terminal<\/strong><\/a>.<\/p>\n<p>\u2777 Write the following command to open a file in Nano:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">nano addtext.sh<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<ul>\n<li><a href=\"https:\/\/linuxsimply.com\/nano-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>nano<\/strong><\/a><strong>:<\/strong> Opens a file in the Nano text editor.<\/li>\n<li><strong>addtext.sh<\/strong>: Name of the file.<\/li>\n<\/ul>\n<\/div><\/div>\n<p>\u2778 Copy the script mentioned below:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">#!\/bin\/bash\n\n# alias command to add to .bashrc\ntext_to_add=$1\n\n# Append the command line to .bashrc\necho &quot;\\&quot;$text_to_add\\&quot;&quot; &gt;&gt; ~\/.bashrc\n\n# Reload .bashrc to apply changes\nsource ~\/.bashrc \necho &quot;Alias added to .bashrc and .bashrc reloaded.&quot;<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>This Bash script takes a <strong>command <\/strong>as an <strong>argument <\/strong>(<strong>text_to_add<\/strong>) and appends it as a line to the<strong> .bashrc <\/strong>file within double quotes. It then reloads the <strong>.bashrc file<\/strong> using the <a href=\"https:\/\/linuxsimply.com\/source-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>source command<\/strong><\/a> to apply the changes immediately. Finally, it prints a message indicating that the alias or command has been added to <strong>.bashrc<\/strong> and the file has been reloaded, ensuring the added command is available in the <strong>current <\/strong>and <strong>future terminal sessions<\/strong>.<\/p>\n<\/div><\/div>\n<p>\u2779 Press<strong> CTRL+O<\/strong> and <strong>ENTER <\/strong>to save the file;<strong> CTRL+X <\/strong>to exit.<\/p>\n<p>\u277a Use the following command to make the file executable:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">chmod u+x addtext.sh<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<ul>\n<li><a href=\"https:\/\/linuxsimply.com\/chmod-command-in-linux\/\" target=\"_blank\" rel=\"noopener\"><strong>chmod<\/strong><\/a>: Changes the permissions of files and directories.<\/li>\n<li><strong>u+x<\/strong>: Here, <strong>u<\/strong> refers to the &#8220;<strong>user<\/strong>&#8221; or the <strong>owner <\/strong>of the file and <strong>+x<\/strong> specifies the permission being added, in this case, the &#8220;<strong>execute<\/strong>&#8221; permission. When <strong>u+x<\/strong> is added to the file permissions, it grants the user (<strong>owner<\/strong>) permission to execute (<strong>run<\/strong>) the file.<\/li>\n<li><strong>addtext.sh<\/strong>: File name.<\/li>\n<\/ul>\n<\/div><\/div>\n<p>\u277b Run the script by the following command to set the bash alias in the .<strong>bashrc<\/strong> <strong>file <\/strong>permanently.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">.\/addtext.sh &quot;alias md=&#039;mkdir -p&#039;&quot;<\/code><\/pre>\n<p>\u2790 Lastly, use the following command to create a folder in the command line using the bash alias.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">md LinuxSimply<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21155 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/6.-Creating-a-Permanent-Alias-Using-a-Bash-Script.png\" alt=\"Creating a Permanent Alias Using a Bash Script\" width=\"825\" height=\"510\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/6.-Creating-a-Permanent-Alias-Using-a-Bash-Script.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/6.-Creating-a-Permanent-Alias-Using-a-Bash-Script-300x185.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/6.-Creating-a-Permanent-Alias-Using-a-Bash-Script-768x475.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As the image shows above, I have created a new folder named <strong>LinuxSimply <\/strong>using the permanent bash alias in the command line.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_06_Bash_Alias_Accepting_the_Parameters_in_the_%E2%80%9Cbashrc%E2%80%9D_File\"><\/span>Example 06: Bash Alias Accepting the Parameters in the &#8220;.bashrc&#8221; File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To create a Bash alias that accepts parameters and define it in your <strong>.bashrc <\/strong>file, you can follow these steps:<\/p>\n<p><span style=\"color: #800080;\"><strong>Step to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a Open the Ubuntu terminal using <strong>CTRL + ALT + T <\/strong>shortcut key.<\/p>\n<p>\u278b Write the following command in your command line to open the <strong>.bashrc file<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">nano .bashrc<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<ul>\n<li><strong>nano<\/strong><strong>:<\/strong> Opens a file in the Nano text editor.<\/li>\n<li><strong>.bashrc<\/strong>: Name of the file.<\/li>\n<\/ul>\n<\/div><\/div>\n<p>\u278c Now scroll down to the last and write the following code in the .bashrc file<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">move_up() {\nlocal steps=&quot;$1&quot; path=&quot;&quot;\n[[ ! &quot;$steps&quot; =~ ^[0-9]+$ || &quot;$steps&quot; -lt 0 ]] &amp;&amp; { echo &quot;Invalid number of steps: $steps&quot;; return 1; }\nfor ((i = 0; i &lt; steps; i++)); do path=&quot;..\/$path&quot;; done\ncd &quot;$path&quot; || return 1\n}<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>The Bash function <strong>move_up() <\/strong>takes a parameter where <strong>steps <\/strong>represent the number of directory levels to move up. It first validates that steps is a<strong> non-negative intege<\/strong>r, and if not, it returns an <strong>error message<\/strong>. Then, it constructs a relative path by adding <strong>..\/ to path <\/strong>for each iteration of a <strong>loop<\/strong>, effectively moving up the directory structure. Finally, it attempts to change the current directory to the <strong>calculated path<\/strong>, returning an error if unsuccessful, allowing for efficient navigation of directories in a script.<\/p>\n<\/div><\/div>\n<p>\u2779 Press<strong> CTRL+O<\/strong> and <strong>ENTER <\/strong>to save the file;<strong> CTRL+X <\/strong>to exit.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21156 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/7.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File.png\" alt=\" Bash Alias Accepting the Parameter in the .bashrc File\" width=\"825\" height=\"258\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/7.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/7.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File-300x94.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/7.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File-768x240.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>\u278e Now, to make the changes take effect, you can either <strong>restart <\/strong>your <strong>terminal <\/strong>or <strong>run <\/strong>the following <strong>command<\/strong>:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">source ~\/.bashrc<\/code><\/pre>\n<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#aeb0b3;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#E1E3E6;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\"> EXPLANATION<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">\n<p>The command <strong>source ~\/.bashrc<\/strong> is used to execute the commands and configurations stored in the <strong>.bashrc file <\/strong>within the user&#8217;s <strong>home directory<\/strong>. When this command is run, it reads the contents of the .<strong>bashrc<\/strong> <strong>file <\/strong>and executes any shell customizations or environment variable settings defined within it.<\/p>\n<\/div><\/div>\n<p>\u278f Now execute the following command to see the <strong>path <\/strong>of the <strong>current directory<\/strong>.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">pwd<\/code><\/pre>\n<p>\u2790 Then write the following command and execute it to <strong>move 2<\/strong> <strong>steps <\/strong>forward from your current path.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">move_up 2<\/code><\/pre>\n<p>\u2791 Execute the following command one more time to check whether you<strong> move 2 steps <\/strong>forward or not.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">pwd<\/code><\/pre>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21157 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/8.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File.png\" alt=\"Bash Alias Accepting the Parameters in the .bashrc File\" width=\"825\" height=\"204\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/8.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/8.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File-300x74.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/8.-Bash-Alias-Accepting-the-Parameters-in-the-.bashrc-File-768x190.png 768w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>As you can see from the above image, the <strong>directory <\/strong>has been <strong>changed <\/strong>upon execution of the newly created bash alias.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">In conclusion, using aliases with parameters in Bash scripting can empower you to create efficient and adaptable tools that simplify complex tasks and enhance the scripting experience. By incorporating <strong>dynamic inputs <\/strong>and <strong>custom shortcuts<\/strong>, these aliases improve code <strong>readability<\/strong>, <strong>maintainability<\/strong>, and overall script <strong>performance<\/strong>. In this article, I have discussed<strong> 6 different examples<\/strong> related to the topic. However, if you have any questions or queries related to this, feel free to comment below.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"People_Also_Ask\"><\/span>People Also Ask<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"su-accordion su-u-trim\">\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>How do I run an alias?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"> To run an alias in Bash, simply type the <strong>alias name followed by <\/strong>any <strong>necessary arguments <\/strong>in the terminal. Press <strong>Enter <\/strong>to execute the command or sequence associated with the alias. <\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>What is the purpose of an alias in Bash?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"> The purpose of an <strong>alias <\/strong>in <strong>Bash <\/strong>is to create <strong>custom shortcuts for frequently used <\/strong>or complex commands, streamlining the command-line experience and enhancing productivity. <\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>What are Bash parameters?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"> <strong>Bash parameters <\/strong>refer to the values or <strong>arguments <\/strong>supplied to a Bash script or function during execution. These inputs enable <strong>customization<\/strong>, <strong>data manipulation<\/strong>, and <strong>decision<\/strong>&#8211;<strong>making<\/strong> within the script or function, enhancing its <strong>versatility<\/strong>. <\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Can bash functions take in parameters?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>Certainly, Bash functions can <strong>accept parameters<\/strong>, allowing you to <strong>pass values <\/strong>or arguments to the function for <strong>processing <\/strong>within <strong>its code block<\/strong>.<\/div><\/div>\n<\/div>\n<p><strong><span style=\"font-size: 18pt; color: #003366;\">Related Articles<\/span><\/strong><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/all-bash-parameters\/\" target=\"_blank\" rel=\"noopener\">How to Pass All Parameters in Bash Scripts? [6 Cases]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/parsing\/\" target=\"_blank\" rel=\"noopener\">Parsing Parameters in Bash Scripts [5 Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/named-parameters\/\" target=\"_blank\" rel=\"noopener\">4 Methods to Pass Named Parameters in a Bash Script<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/dollar-0\/\" target=\"_blank\" rel=\"noopener\">What is $0 in Bash Script? [4 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/double-vs-single-dollar\/\" target=\"_blank\" rel=\"noopener\">Difference Between $$ Vs $ in Bash Scripting [With Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/function-parameters\/\" target=\"_blank\" rel=\"noopener\">How to Use Bash Function with Parameters? [6 Examples]<\/a><\/strong><\/li>\n<\/ul>\n<hr \/>\n<p><strong>&lt;&lt; Go Back to <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Parameters in Bash Scripting&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:1065857,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:1,&quot;11&quot;:4,&quot;12&quot;:0,&quot;17&quot;:1,&quot;23&quot;:1}\" data-sheets-hyperlink=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/\"><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/\" target=\"_blank\" rel=\"noopener\">Parameters in Bash Scripting<\/a><\/span> | <span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Bash Scripting Tutorial&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:1065857,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:1,&quot;11&quot;:4,&quot;12&quot;:0,&quot;17&quot;:1,&quot;23&quot;:1}\" data-sheets-hyperlink=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/\"><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/\" target=\"_blank\" rel=\"noopener\">Bash Scripting Tutorial<\/a><\/span><\/strong><\/p>\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;21143&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;9&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&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;5\\\/5 - (9 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;How to Use Alias With Parameters in Bash Scripting? [6 Examples]&quot;,&quot;width&quot;:&quot;142.5&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: 142.5px;\">\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            5\/5 - (9 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Bash scripting, the use of aliases with parameters\u00a0enables the creation of custom shortcuts for frequently executed commands or sequences &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Use Alias With Parameters in Bash Scripting? [6 Examples]\" class=\"read-more button\" href=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#more-21143\" aria-label=\"Read more about How to Use Alias With Parameters in Bash Scripting? [6 Examples]\">Read more<\/a><\/p>\n","protected":false},"author":314906,"featured_media":21162,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[131],"class_list":["post-21143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash-scripting","tag-bash-paramters","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>How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply<\/title>\n<meta name=\"description\" content=\"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.\" \/>\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\/bash-scripting-tutorial\/parameters\/alias-parameters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply\" \/>\n<meta property=\"og:description\" content=\"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxSimply\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/msmshah.miran\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-13T02:56:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-27T02:50:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mohammad Shah Miran\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mohammad Shah Miran\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/\"},\"author\":{\"name\":\"Mohammad Shah Miran\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/3d367dace727c53f2b8683eeb23fae77\"},\"headline\":\"How to Use Alias With Parameters in Bash Scripting? [6 Examples]\",\"datePublished\":\"2023-09-13T02:56:55+00:00\",\"dateModified\":\"2023-11-27T02:50:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/\"},\"wordCount\":2177,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/bash-alias-parameters.png\",\"keywords\":[\"bash paramters\"],\"articleSection\":[\"Bash Scripting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/\",\"name\":\"How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/bash-alias-parameters.png\",\"datePublished\":\"2023-09-13T02:56:55+00:00\",\"dateModified\":\"2023-11-27T02:50:24+00:00\",\"description\":\"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/bash-alias-parameters.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/bash-alias-parameters.png\",\"width\":400,\"height\":400,\"caption\":\"bash alias parameters\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/alias-parameters\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bash Scripting Tutorial\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Parameters in Bash Scripting\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/bash-scripting-tutorial\\\/parameters\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Use Alias With Parameters in Bash Scripting? [6 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\\\/3d367dace727c53f2b8683eeb23fae77\",\"name\":\"Mohammad Shah Miran\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Mohammad-Shah-Miran-II-96x96.png\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Mohammad-Shah-Miran-II-96x96.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Mohammad-Shah-Miran-II-96x96.png\",\"caption\":\"Mohammad Shah Miran\"},\"description\":\"Hey, I'm Mohammad Shah Miran, previously worked as a VBA and Excel Content Developer at SOFTEKO, and for now working as a Linux Content Developer Executive in LinuxSimply Project. I completed my graduation from Bangladesh University of Engineering and Technology (BUET). As a part of my job, i communicate with Linux operating system, without letting the GUI to intervene and try to pass it to our audience.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/msmshah.miran\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/shah-miran-2a94a7144\\\/\"],\"url\":\"https:\\\/\\\/linuxsimply.com\\\/author\\\/miran\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply","description":"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.","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\/bash-scripting-tutorial\/parameters\/alias-parameters\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply","og_description":"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.","og_url":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/","og_site_name":"LinuxSimply","article_author":"https:\/\/www.facebook.com\/msmshah.miran\/","article_published_time":"2023-09-13T02:56:55+00:00","article_modified_time":"2023-11-27T02:50:24+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png","type":"image\/png"}],"author":"Mohammad Shah Miran","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mohammad Shah Miran","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#article","isPartOf":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/"},"author":{"name":"Mohammad Shah Miran","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/3d367dace727c53f2b8683eeb23fae77"},"headline":"How to Use Alias With Parameters in Bash Scripting? [6 Examples]","datePublished":"2023-09-13T02:56:55+00:00","dateModified":"2023-11-27T02:50:24+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/"},"wordCount":2177,"commentCount":0,"publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"image":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png","keywords":["bash paramters"],"articleSection":["Bash Scripting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/","url":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/","name":"How to Use Alias With Parameters in Bash Scripting? [6 Examples] - LinuxSimply","isPartOf":{"@id":"https:\/\/linuxsimply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#primaryimage"},"image":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png","datePublished":"2023-09-13T02:56:55+00:00","dateModified":"2023-11-27T02:50:24+00:00","description":"A Bash alias parameter is a variable used to pass arguments or values to custom shortcuts for commands, enhancing command-line efficiency.","breadcrumb":{"@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#primaryimage","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/bash-alias-parameters.png","width":400,"height":400,"caption":"bash alias parameters"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/alias-parameters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxsimply.com\/"},{"@type":"ListItem","position":2,"name":"Bash Scripting Tutorial","item":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/"},{"@type":"ListItem","position":3,"name":"Parameters in Bash Scripting","item":"https:\/\/linuxsimply.com\/bash-scripting-tutorial\/parameters\/"},{"@type":"ListItem","position":4,"name":"How to Use Alias With Parameters in Bash Scripting? [6 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\/3d367dace727c53f2b8683eeb23fae77","name":"Mohammad Shah Miran","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Mohammad-Shah-Miran-II-96x96.png","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Mohammad-Shah-Miran-II-96x96.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Mohammad-Shah-Miran-II-96x96.png","caption":"Mohammad Shah Miran"},"description":"Hey, I'm Mohammad Shah Miran, previously worked as a VBA and Excel Content Developer at SOFTEKO, and for now working as a Linux Content Developer Executive in LinuxSimply Project. I completed my graduation from Bangladesh University of Engineering and Technology (BUET). As a part of my job, i communicate with Linux operating system, without letting the GUI to intervene and try to pass it to our audience.","sameAs":["https:\/\/www.facebook.com\/msmshah.miran\/","https:\/\/www.linkedin.com\/in\/shah-miran-2a94a7144\/"],"url":"https:\/\/linuxsimply.com\/author\/miran\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/21143","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\/314906"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/comments?post=21143"}],"version-history":[{"count":0,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/21143\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media\/21162"}],"wp:attachment":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media?parent=21143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/categories?post=21143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/tags?post=21143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}