{"id":16158,"date":"2025-09-24T12:26:32","date_gmt":"2025-09-24T04:26:32","guid":{"rendered":"https:\/\/www.quape.com\/?p=16158"},"modified":"2025-09-24T12:26:32","modified_gmt":"2025-09-24T04:26:32","slug":"basic-linux-commands-and-their-uses-for-beginners","status":"publish","type":"post","link":"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/","title":{"rendered":"Perintah Dasar Linux dan Kegunaannya untuk Pemula"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><span class=\"selected\">If you&#8217;re new to the world of web hosting, dedicated servers, or even just working with code, you&#8217;ve likely heard of Linux. While the graphical interface is friendly, the real power of Linux lies in its command-line interface (CLI). It might look intimidating at first, but with a few essential commands, you can unlock incredible efficiency and control.<\/span><\/p>\n<p><span class=\"selected\">This guide will walk you through the most fundamental Linux commands, breaking down complex topics into simple, actionable steps. We\u2019ll cover everything from navigating your system to managing files, so you can go from a complete beginner to a confident user.<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-transparent 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 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#Your_First_Steps_Essential_Navigation_Commands\" >Your First Steps: Essential Navigation Commands<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#pwd_%E2%80%93_Print_Working_Directory\" >pwd &#8211; Print Working Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#ls_%E2%80%93_List_Files_and_Directories\" >ls &#8211; List Files and Directories<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#cd_%E2%80%93_Change_Directory\" >cd &#8211; Change Directory<\/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:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#Managing_Files_and_Folders_with_Ease\" >Managing Files and Folders with Ease<\/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:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#mkdir_touch_%E2%80%93_Creating_New_Items\" >mkdir &amp; touch &#8211; Creating New Items<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#cp_mv_%E2%80%93_Copying_and_Moving_Files\" >cp &amp; mv &#8211; Copying and Moving Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#rm_rmdir_%E2%80%93_Deleting_Files_Carefully\" >rm &amp; rmdir &#8211; Deleting Files (Carefully!)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#Viewing_and_Searching_File_Contents\" >Viewing and Searching File Contents<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#cat_head_tail_%E2%80%93_Quick_Looks\" >cat, head, &amp; tail &#8211; Quick Looks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#grep_%E2%80%93_The_Ultimate_Search_Tool\" >grep &#8211; The Ultimate Search Tool<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#Getting_Information_About_Your_System\" >Getting Information About Your System<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#ps_top_%E2%80%93_Monitoring_Running_Processes\" >ps &amp; top &#8211; Monitoring Running Processes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#df_du_%E2%80%93_Checking_Disk_Usage\" >df &amp; du &#8211; Checking Disk Usage<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.quape.com\/id\/basic-linux-commands-and-their-uses-for-beginners\/#Conclusion_Your_Linux_Journey_Begins_Now\" >Conclusion: Your Linux Journey Begins Now<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Your_First_Steps_Essential_Navigation_Commands\"><\/span><span class=\"selected\">Your First Steps: Essential Navigation Commands<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">Before you can manage files or run scripts, you need to know how to get around. Think of these commands as your personal GPS for the Linux filesystem.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"pwd_%E2%80%93_Print_Working_Directory\"><\/span><code><span class=\"selected\">pwd<\/span><\/code><span class=\"selected\"> &#8211; Print Working Directory<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">This is one of the first commands you\u2019ll ever use. It stands for &#8220;print working directory&#8221; and simply tells you where you are right now. This is crucial for keeping track of your location and avoiding mistakes.<\/span><\/p>\n<p><strong><span class=\"selected\">Syntax:<\/span><\/strong><\/p>\n<pre><code><span class=\"selected\">pwd<\/span><\/code><\/pre>\n<p><strong><span class=\"selected\">Example:<\/span><\/strong><span class=\"selected\"> If you type <\/span><code><span class=\"selected\">pwd<\/span><\/code><span class=\"selected\"> after logging in, you&#8217;ll likely see <\/span><code><span class=\"selected\">\/home\/yourusername<\/span><\/code><span class=\"selected\">, which is your personal home directory.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"ls_%E2%80%93_List_Files_and_Directories\"><\/span><code><span class=\"selected\">ls<\/span><\/code><span class=\"selected\"> &#8211; List Files and Directories<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">Once you know where you are, you&#8217;ll want to see what&#8217;s around you. The <\/span><code><span class=\"selected\">ls<\/span><\/code><span class=\"selected\"> command (short for &#8220;list&#8221;) shows you all the files and folders in your current directory.<\/span><\/p>\n<p><strong><span class=\"selected\">Syntax:<\/span><\/strong><\/p>\n<pre><code><span class=\"selected\">ls [options]<\/span><\/code><\/pre>\n<p><strong><span class=\"selected\">Common Options for Beginners:<\/span><\/strong><\/p>\n<ul>\n<li><code><span class=\"selected\">ls<\/span><\/code><span class=\"selected\">: Displays files and directories in a simple, compact format.<\/span><\/li>\n<li><code><span class=\"selected\">ls -l<\/span><\/code><span class=\"selected\">: The &#8220;long listing&#8221; format. It provides detailed information about each item, including permissions, owner, size, and modification date.<\/span><\/li>\n<li><code><span class=\"selected\">ls -a<\/span><\/code><span class=\"selected\">: Displays all files, including hidden ones (those that start with a dot, like <\/span><code><span class=\"selected\">.bashrc<\/span><\/code><span class=\"selected\">).<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"cd_%E2%80%93_Change_Directory\"><\/span><code><span class=\"selected\">cd<\/span><\/code><span class=\"selected\"> &#8211; Change Directory<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">This is your main command for moving from one location to another. The &#8220;change directory&#8221; command allows you to navigate the filesystem with ease. To use it effectively, you need to understand the difference between two types of paths:<\/span><\/p>\n<ul>\n<li><strong><span class=\"selected\">Absolute Path:<\/span><\/strong><span class=\"selected\"> A full, unchanging address that starts from the root directory (<\/span><code><span class=\"selected\">\/<\/span><\/code><span class=\"selected\">).<\/span>\n<ul>\n<li><strong><span class=\"selected\">Example:<\/span><\/strong> <code><span class=\"selected\">cd \/home\/user\/documents<\/span><\/code><span class=\"selected\"> will always take you to the <\/span><code><span class=\"selected\">documents<\/span><\/code><span class=\"selected\"> folder, no matter where you are starting from.<\/span><\/li>\n<\/ul>\n<\/li>\n<li><strong><span class=\"selected\">Relative Path:<\/span><\/strong><span class=\"selected\"> A path that starts from your current location.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Example:<\/span><\/strong><span class=\"selected\"> If you are in <\/span><code><span class=\"selected\">\/home\/user<\/span><\/code><span class=\"selected\">, typing <\/span><code><span class=\"selected\">cd documents<\/span><\/code><span class=\"selected\"> will take you to <\/span><code><span class=\"selected\">\/home\/user\/documents<\/span><\/code><span class=\"selected\">.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong><span class=\"selected\">Essential Shortcuts:<\/span><\/strong><\/p>\n<ul>\n<li><code><span class=\"selected\">cd ~<\/span><\/code><span class=\"selected\"> or just <\/span><code><span class=\"selected\">cd<\/span><\/code><span class=\"selected\">: Instantly takes you back to your home directory from anywhere.<\/span><\/li>\n<li><code><span class=\"selected\">cd ..<\/span><\/code><span class=\"selected\">: Moves you up one directory level.<\/span><\/li>\n<li><code><span class=\"selected\">cd -<\/span><\/code><span class=\"selected\">: Returns you to the previous directory you were in.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Managing_Files_and_Folders_with_Ease\"><\/span><span class=\"selected\">Managing Files and Folders with Ease<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">With navigation under control, you&#8217;re ready to start working with files and folders.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"mkdir_touch_%E2%80%93_Creating_New_Items\"><\/span><code><span class=\"selected\">mkdir<\/span><\/code><span class=\"selected\"> &amp; <\/span><code><span class=\"selected\">touch<\/span><\/code><span class=\"selected\"> &#8211; Creating New Items<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code><span class=\"selected\">mkdir<\/span><\/code><span class=\"selected\"> (Make Directory):<\/span><\/strong><span class=\"selected\"> Creates a new, empty folder.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Syntax:<\/span><\/strong> <code><span class=\"selected\">mkdir new_folder_name<\/span><\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong><code><span class=\"selected\">touch<\/span><\/code><span class=\"selected\">:<\/span><\/strong><span class=\"selected\"> The simplest way to create a new, empty file.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Syntax:<\/span><\/strong> <code><span class=\"selected\">touch new_file.txt<\/span><\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"cp_mv_%E2%80%93_Copying_and_Moving_Files\"><\/span><code><span class=\"selected\">cp<\/span><\/code><span class=\"selected\"> &amp; <\/span><code><span class=\"selected\">mv<\/span><\/code><span class=\"selected\"> &#8211; Copying and Moving Files<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code><span class=\"selected\">cp<\/span><\/code><span class=\"selected\"> (Copy):<\/span><\/strong><span class=\"selected\"> Makes a duplicate of a file or directory. To copy an entire folder, you <\/span><strong><span class=\"selected\">must<\/span><\/strong><span class=\"selected\"> use the <\/span><code><span class=\"selected\">-r<\/span><\/code><span class=\"selected\"> (recursive) flag. This is a safety feature that prevents you from accidentally copying a massive directory by mistake.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Copying a file:<\/span><\/strong> <code><span class=\"selected\">cp file.txt \/path\/to\/destination\/<\/span><\/code><\/li>\n<li><strong><span class=\"selected\">Copying a directory:<\/span><\/strong> <code><span class=\"selected\">cp -r my_folder \/path\/to\/destination\/<\/span><\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong><code><span class=\"selected\">mv<\/span><\/code><span class=\"selected\"> (Move):<\/span><\/strong><span class=\"selected\"> This command has a dual purpose. It can either move a file or rename it.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Moving a file:<\/span><\/strong> <code><span class=\"selected\">mv file.txt \/path\/to\/new_location\/<\/span><\/code><\/li>\n<li><strong><span class=\"selected\">Renaming a file:<\/span><\/strong> <code><span class=\"selected\">mv old_name.txt new_name.txt<\/span><\/code><span class=\"selected\"> (When both source and destination are in the same directory, it simply renames the file).<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"rm_rmdir_%E2%80%93_Deleting_Files_Carefully\"><\/span><code><span class=\"selected\">rm<\/span><\/code><span class=\"selected\"> &amp; <\/span><code><span class=\"selected\">rmdir<\/span><\/code><span class=\"selected\"> &#8211; Deleting Files (Carefully!)<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">This is arguably the most powerful and dangerous command for a beginner. The <\/span><code><span class=\"selected\">rm<\/span><\/code><span class=\"selected\"> command deletes files permanently\u2014there is no &#8220;recycle bin.&#8221;<\/span><\/p>\n<ul>\n<li><strong><code><span class=\"selected\">rmdir<\/span><\/code><span class=\"selected\"> (Remove Directory):<\/span><\/strong><span class=\"selected\"> Safely deletes an <\/span><strong><span class=\"selected\">empty<\/span><\/strong><span class=\"selected\"> folder.<\/span><\/li>\n<li><strong><code><span class=\"selected\">rm<\/span><\/code><span class=\"selected\"> (Remove):<\/span><\/strong><span class=\"selected\"> Deletes files and folders.<\/span>\n<ul>\n<li><strong><span class=\"selected\">Deleting a file:<\/span><\/strong> <code><span class=\"selected\">rm my_file.txt<\/span><\/code><\/li>\n<li><strong><span class=\"selected\">Deleting a folder:<\/span><\/strong> <code><span class=\"selected\">rm -r my_folder\/<\/span><\/code><\/li>\n<li><strong><span class=\"selected\">Pro Tip:<\/span><\/strong><span class=\"selected\"> To prevent accidental deletion, use the interactive flag: <\/span><code><span class=\"selected\">rm -i my_file.txt<\/span><\/code><span class=\"selected\">. The system will prompt you for confirmation before deleting each item.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Viewing_and_Searching_File_Contents\"><\/span><span class=\"selected\">Viewing and Searching File Contents<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">The CLI offers a variety of tools to view and search for content within your files.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"cat_head_tail_%E2%80%93_Quick_Looks\"><\/span><code><span class=\"selected\">cat<\/span><\/code><span class=\"selected\">, <\/span><code><span class=\"selected\">head<\/span><\/code><span class=\"selected\">, &amp; <\/span><code><span class=\"selected\">tail<\/span><\/code><span class=\"selected\"> &#8211; Quick Looks<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code><span class=\"selected\">cat<\/span><\/code><span class=\"selected\"> (Concatenate):<\/span><\/strong><span class=\"selected\"> Displays the entire contents of a file directly in your terminal. Best for small files.<\/span><\/li>\n<li><strong><code><span class=\"selected\">head<\/span><\/code><span class=\"selected\">:<\/span><\/strong><span class=\"selected\"> Displays the first 10 lines of a file by default. Useful for quickly checking a file&#8217;s header.<\/span><\/li>\n<li><strong><code><span class=\"selected\">tail<\/span><\/code><span class=\"selected\">:<\/span><\/strong><span class=\"selected\"> Displays the last 10 lines of a file. This is incredibly useful for monitoring logs in real-time. Use the <\/span><code><span class=\"selected\">-f<\/span><\/code><span class=\"selected\"> flag (<\/span><code><span class=\"selected\">tail -f \/var\/log\/syslog<\/span><\/code><span class=\"selected\">) to follow a file as it&#8217;s being written.<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"grep_%E2%80%93_The_Ultimate_Search_Tool\"><\/span><code><span class=\"selected\">grep<\/span><\/code><span class=\"selected\"> &#8211; The Ultimate Search Tool<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">The <\/span><code><span class=\"selected\">grep<\/span><\/code><span class=\"selected\"> command is your best friend for finding text within files. It&#8217;s often used with a &#8220;pipe&#8221; (<\/span><code><span class=\"selected\">|<\/span><\/code><span class=\"selected\">), which takes the output of one command and uses it as the input for the next.<\/span><\/p>\n<p><strong><span class=\"selected\">Syntax:<\/span><\/strong><\/p>\n<pre><code><span class=\"selected\">command | grep \"text_to_find\"<\/span><\/code><\/pre>\n<p><strong><span class=\"selected\">Example:<\/span><\/strong><\/p>\n<ul>\n<li><span class=\"selected\">To find all files with &#8220;.txt&#8221; in your current directory, you could use <\/span><code><span class=\"selected\">ls -l | grep \".txt\"<\/span><\/code><span class=\"selected\">.<\/span><\/li>\n<li><span class=\"selected\">To search for a specific word inside a file: <\/span><code><span class=\"selected\">grep \"search_term\" file.txt<\/span><\/code><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Getting_Information_About_Your_System\"><\/span><span class=\"selected\">Getting Information About Your System<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">These commands are essential for monitoring your server&#8217;s health and performance.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"ps_top_%E2%80%93_Monitoring_Running_Processes\"><\/span><code><span class=\"selected\">ps<\/span><\/code><span class=\"selected\"> &amp; <\/span><code><span class=\"selected\">top<\/span><\/code><span class=\"selected\"> &#8211; Monitoring Running Processes<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code><span class=\"selected\">ps<\/span><\/code><span class=\"selected\"> (Process Status):<\/span><\/strong><span class=\"selected\"> Provides a static snapshot of the processes running on your system at that exact moment. The most common use is <\/span><code><span class=\"selected\">ps aux<\/span><\/code><span class=\"selected\">, which shows all processes for all users.<\/span><\/li>\n<li><strong><code><span class=\"selected\">top<\/span><\/code><span class=\"selected\">:<\/span><\/strong><span class=\"selected\"> Offers a dynamic, real-time view of your system&#8217;s processes. The display updates automatically, allowing you to quickly spot processes that are using a lot of CPU or memory.<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"df_du_%E2%80%93_Checking_Disk_Usage\"><\/span><code><span class=\"selected\">df<\/span><\/code><span class=\"selected\"> &amp; <\/span><code><span class=\"selected\">du<\/span><\/code><span class=\"selected\"> &#8211; Checking Disk Usage<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code><span class=\"selected\">df<\/span><\/code><span class=\"selected\"> (Disk Free):<\/span><\/strong><span class=\"selected\"> Reports on the total free and used disk space of your entire filesystem.<\/span><\/li>\n<li><strong><code><span class=\"selected\">du<\/span><\/code><span class=\"selected\"> (Disk Usage):<\/span><\/strong><span class=\"selected\"> Summarizes the disk usage of files and folders within a specific directory.<\/span><\/li>\n<\/ul>\n<p><strong><span class=\"selected\">Expert Insight:<\/span><\/strong><span class=\"selected\"> It\u2019s a common point of confusion, but <\/span><code><span class=\"selected\">df<\/span><\/code><span class=\"selected\"> and <\/span><code><span class=\"selected\">du<\/span><\/code><span class=\"selected\"> serve different purposes. <\/span><code><span class=\"selected\">df<\/span><\/code><span class=\"selected\"> tells you the overall space available on a disk partition, while <\/span><code><span class=\"selected\">du<\/span><\/code><span class=\"selected\"> tells you the size of a specific directory and its contents. For example, <\/span><code><span class=\"selected\">df -h<\/span><\/code><span class=\"selected\"> and <\/span><code><span class=\"selected\">du -sh<\/span><\/code><span class=\"selected\"> both use the <\/span><code><span class=\"selected\">-h<\/span><\/code><span class=\"selected\"> flag to display human-readable sizes (like MB and GB).<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion_Your_Linux_Journey_Begins_Now\"><\/span><span class=\"selected\">Conclusion: Your Linux Journey Begins Now<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">Learning these basic Linux commands is the first step toward becoming a more powerful and efficient user. From navigating the filesystem with <\/span><code><span class=\"selected\">cd<\/span><\/code><span class=\"selected\"> and <\/span><code><span class=\"selected\">ls<\/span><\/code><span class=\"selected\"> to managing your files with <\/span><code><span class=\"selected\">cp<\/span><\/code><span class=\"selected\"> and <\/span><code><span class=\"selected\">mv<\/span><\/code><span class=\"selected\">, you now have the foundational knowledge to take control of your system. The command line offers a level of precision and automation that a graphical interface can&#8217;t match.<\/span><\/p>\n<p><span class=\"selected\">Are you ready to apply this new knowledge? At Quape, we provide top-tier hosting solutions with the performance and control you need to succeed online. Our hosting services, including <a href=\"https:\/\/www.quape.com\/hosting\/wordpress-hosting\/\">WordPress Hosting<\/a> and <a href=\"https:\/\/www.quape.com\/hosting\/dedicated-server\/\">Dedicated Servers<\/a>, are designed to give you the flexibility to manage your environment, whether you&#8217;re a seasoned pro or just starting your journey.<\/span><\/p>\n<p><span class=\"selected\">Take the next step in your digital presence. Explore our range of secure, high-speed hosting solutions and start building with confidence today.<\/span><\/p>\n<p><a href=\"https:\/\/order.quape.com\/order\/dedicated-servers\/ds-byos-intel\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" id=\"blogbannervps\" class=\"aligncenter wp-image-15947 size-full\" src=\"https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03.png\" alt=\"VPS Hosting plans\" width=\"2222\" height=\"649\" srcset=\"https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03.png 2222w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-300x88.png 300w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-1024x299.png 1024w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-768x224.png 768w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-1536x449.png 1536w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-2048x598.png 2048w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-18x5.png 18w\" sizes=\"(max-width: 2222px) 100vw, 2222px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re new to the world of web hosting, dedicated servers, or even just working with code, you&#8217;ve likely heard of Linux. While the graphical interface is friendly, the real power of Linux lies in its command-line interface (CLI). It might look intimidating at first, but with a few essential commands, you can unlock incredible [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":16159,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[362],"class_list":["post-16158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/comments?post=16158"}],"version-history":[{"count":1,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16158\/revisions"}],"predecessor-version":[{"id":16160,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16158\/revisions\/16160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/media\/16159"}],"wp:attachment":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/media?parent=16158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/categories?post=16158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/tags?post=16158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}