<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nora Bassey</title>
    <description>The latest articles on DEV Community by Nora Bassey (@nora_b).</description>
    <link>https://dev.to/nora_b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1934366%2F8ddc6fb0-5f85-4b29-8482-637a4ac90b32.jpg</url>
      <title>DEV Community: Nora Bassey</title>
      <link>https://dev.to/nora_b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nora_b"/>
    <language>en</language>
    <item>
      <title>Linux 101: Understanding Basic Commands and Concepts By: Bassey Ekpenyonganwan (NORA)</title>
      <dc:creator>Nora Bassey</dc:creator>
      <pubDate>Fri, 23 Aug 2024 17:33:43 +0000</pubDate>
      <link>https://dev.to/nora_b/linux-101-understanding-basic-commands-and-concepts-by-bassey-ekpenyonganwan-nora-2lap</link>
      <guid>https://dev.to/nora_b/linux-101-understanding-basic-commands-and-concepts-by-bassey-ekpenyonganwan-nora-2lap</guid>
      <description>&lt;p&gt;___##INDEX&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Introduction&lt;/li&gt;
&lt;li&gt;Sudo&lt;/li&gt;
&lt;li&gt;cd&lt;/li&gt;
&lt;li&gt;ls&lt;/li&gt;
&lt;li&gt;rm&lt;/li&gt;
&lt;li&gt;nano&lt;/li&gt;
&lt;li&gt;cat&lt;/li&gt;
&lt;li&gt;mkdir&lt;/li&gt;
&lt;li&gt;grep&lt;/li&gt;
&lt;li&gt;echo&lt;/li&gt;
&lt;li&gt;head&lt;/li&gt;
&lt;li&gt;tail&lt;/li&gt;
&lt;li&gt;su&lt;/li&gt;
&lt;li&gt;man&lt;/li&gt;
&lt;li&gt;adduser&lt;/li&gt;
&lt;li&gt;touch&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Linux, the backbone of modern computing, is a powerful and versatile operating system that has revolutionized the way we interact with technology. With its robust architecture and extensive customization options, Linux has become the go-to choice for developers, system administrators, and power users alike. However, navigating the intricacies of Linux can be daunting, especially for those new to the ecosystem.&lt;/p&gt;

&lt;p&gt;In this article, we’ll delve into the essential Linux commands that form the foundation of mastery, with examples using Windows Subsystem for Linux (WSL) running Ubuntu Debian. These commands are the building blocks of Linux expertise, and understanding them is crucial for unlocking the full potential of this incredible operating system. From navigating file systems to managing processes, we’ll explore 15 basic Linux commands that every user should know.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. &lt;code&gt;sudo&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;sudo&lt;/code&gt; command runs a command with superuser privileges, prompting for your user password. It's used for tasks that require elevated permissions, like installing software or modifying system files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Update the package list to ensure you have the latest package information.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Upgrade all installed packages to the latest version.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftb4pxx3kvurdhlyg4cf5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftb4pxx3kvurdhlyg4cf5.png" alt="An instance of Updating and upgrading your software to the latest version using the sudo command " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. &lt;code&gt;cd&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;cd&lt;/code&gt; (change directory) command is used to navigate between directories in the file system. It allows you to move to different directories, making it easier to manage files and folders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /mnt/c/Users/USER/Desktop/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Change from the current directory to the windows desktop directory.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdesxwp37fm3zypqjpnfj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdesxwp37fm3zypqjpnfj.png" alt="An instance of changing Directory using the ‘cd’ command." width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  3. &lt;code&gt;ls&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;ls&lt;/code&gt; command in Linux is used to list the contents of a directory. It displays a list of files and subdirectories in the current directory or the specified directory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;List the contents of the current directory.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukqq5xx1epyz4aqbvav1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukqq5xx1epyz4aqbvav1.png" alt="the ls command listing out contents in the current directory" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  4. &lt;code&gt;rm&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;rm&lt;/code&gt; command is used to remove a file or directory. The command line doesn’t have a recycle bin or trash, so while using the &lt;code&gt;rm&lt;/code&gt; command, one has to be careful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Remove a file or directory with verbose output.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqea1udmyrmsn8kpasu6c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqea1udmyrmsn8kpasu6c.png" alt="removing a file from a directory using the rm -v command" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  5. &lt;code&gt;nano&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;nano&lt;/code&gt; command is a lightweight text editor, ideal for quick edits and small files. It is user-friendly and easy to navigate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nano NORA BASSEY.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9sxhejmzupb3bcwpyg07.png" alt="image showing how nano text editor looks like" width="" height=""&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  6. &lt;code&gt;cat&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;cat&lt;/code&gt; command in Linux is used to display, combine, and create files. It can show the contents of a file, merge multiple files into one, or create a new file and allow you to enter text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;NORA BASSEY
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Display the contents of that file.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfjw3lse3g1pacyu7udj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfjw3lse3g1pacyu7udj.png" alt="cat command being used to display the content of a file " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  7. &lt;code&gt;mkdir&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;mkdir&lt;/code&gt; command is used to create a new directory (folder). When you run &lt;code&gt;mkdir&lt;/code&gt; followed by a name, it creates a new directory with that name in your current working directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhddovhp3dvwea1yaxfvj.png" alt="Image description" width="" height=""&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  8. &lt;code&gt;grep&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;grep&lt;/code&gt; command is used to search for a specific pattern or text within one or more files. It's a powerful tool for finding and filtering data in text files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s2"&gt;"pattern"&lt;/span&gt; file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Search for a specific pattern in a file.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  9. &lt;code&gt;echo&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;echo&lt;/code&gt; command prints its arguments to the terminal, expanding variables and processing options. It outputs the text followed by a newline character and is used to append t file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo &lt;/span&gt;nora &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; squad5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Append the text "nora" to the file &lt;code&gt;squad5&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5oyegkldr6twn6b9fh3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5oyegkldr6twn6b9fh3.png" alt="An instance of echo command on the  terminal" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  10. &lt;code&gt;head&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;head&lt;/code&gt; command displays the first few lines of a file (default is 10 lines). It shows the top portion of a text file, helping you quickly view the beginning of a file without opening the entire file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;head&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; 10 file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Display the first 10 lines of a file with the file name.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpdo8z374gg95toxrhvv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpdo8z374gg95toxrhvv.png" alt="An instance of the head command in linux" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  11. &lt;code&gt;tail&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;tail&lt;/code&gt; command displays the last few lines of a file (default is 10 lines). It shows the end portion of a text file, helping you quickly view the latest entries or updates in a file, such as log files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;tail&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; &lt;span class="nt"&gt;-5&lt;/span&gt; file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Display the last 5 lines of a file.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhg5yrfmrl3f9npxkhkws.png" alt="An instance of the tail command in linux" width="" height=""&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  12. &lt;code&gt;su&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;su&lt;/code&gt; command switches the current user to another user, typically the superuser (root), allowing you to execute commands with elevated privileges.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su -
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Switch to the root user.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su - username
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Switch to a specific user.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgtlehevbmdbegcpebj0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgtlehevbmdbegcpebj0j.png" alt="su command switching to another user" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  13. &lt;code&gt;man&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;man&lt;/code&gt; command displays the manual for a command, function, or system call, providing detailed documentation on its usage, options, and examples.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;man &lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Show the manual for the &lt;code&gt;ls&lt;/code&gt; command.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyf4x1ds5nrvpe7bnjn91.png" alt="Image description" width="" height=""&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  14. &lt;code&gt;adduser&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;adduser&lt;/code&gt; command creates a new user account on a Linux system, allowing you to specify username, password, and other details. It's a simple way to add users without manually editing configuration files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;adduser bob
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Create a new user account named &lt;code&gt;bob&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvo2ihy5xkbvkc560k5l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvo2ihy5xkbvkc560k5l.png" alt="An instance displaying the application of adduser" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  15. &lt;code&gt;touch&lt;/code&gt; Command
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;touch&lt;/code&gt; command creates a new empty file or updates the timestamp of an existing file to the current date and time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;touch &lt;/span&gt;newfile.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Create a new empty file named &lt;code&gt;newfile.txt&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2skoeiswjs735rhxi1w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2skoeiswjs735rhxi1w.png" alt="Image description" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  SUMMARY
&lt;/h2&gt;

&lt;p&gt;In this article, I covered the basics of Linux commands, including navigating the file system, creating and editing files, and managing users. Practice these commands to become more comfortable with the Linux environment. For more advanced topics, explore online resources like the Linux Documentation Projects. Remember to always use the manual pages for detailed command information. Again I hope you found it helpful?&lt;br&gt;&lt;br&gt;
&lt;strong&gt;-- stay curious and keep learning!&lt;/strong&gt;&lt;br&gt;
_&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>cloud</category>
      <category>linux</category>
      <category>bash</category>
    </item>
    <item>
      <title>mkdir NewUser</title>
      <dc:creator>Nora Bassey</dc:creator>
      <pubDate>Sat, 17 Aug 2024 12:02:15 +0000</pubDate>
      <link>https://dev.to/nora_b/mkdir-newuser-m0l</link>
      <guid>https://dev.to/nora_b/mkdir-newuser-m0l</guid>
      <description>&lt;p&gt;Hello world! &lt;br&gt;
adduser nora &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>aws</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
