{"id":15640,"date":"2021-11-19T05:44:00","date_gmt":"2021-11-19T05:44:00","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=15640"},"modified":"2025-06-21T18:00:08","modified_gmt":"2025-06-21T18:00:08","slug":"how-to-remove-directory-in-linux","status":"publish","type":"post","link":"\/my\/tutorials\/how-to-remove-directory-in-linux","title":{"rendered":"How to remove a directory in Linux: Deleting files and folders using rmdir and rm commands"},"content":{"rendered":"<p>Learning the Linux command line is essential for system administrators, as it&rsquo;s widely used for virtual private server hosting. While you can use a hosting control panel, server management is more efficient with Linux commands.<\/p><p>These commands are useful for various basic tasks, like managing the system&rsquo;s data. In this article, we will explain how to remove files and directories efficiently using the Linux command line.&nbsp;<\/p><p>We will also explain how to simplify Linux management tasks using Hostinger&rsquo;s VPS built-in features. For example, you will learn how to get full root access using the <strong>Browser terminal<\/strong> and generate commands with our AI assistant, <strong>Kodee<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/Linux-Commands-Cheat-Sheet.pdf\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"1024\" height=\"283\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet-1024x283.png\" alt=\"\" class=\"wp-image-69262\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2022\/11\/Linux-cheat-sheet-1536x425.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2022\/11\/Linux-cheat-sheet-300x83.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2022\/11\/Linux-cheat-sheet-150x41.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2022\/11\/Linux-cheat-sheet-768x212.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2022\/11\/Linux-cheat-sheet.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-remove-a-directory-in-linux\">How to remove a directory in Linux<\/h2><p>To remove a directory in Linux, use either the<strong> rmdir<\/strong> or <strong>rm<\/strong> command. The<strong> rmdir <\/strong>or <strong>rm -d <\/strong>command is for removing empty directories, while the<strong> rm -r<\/strong> command deletes non-empty directories.<\/p><p>Before removing a directory, you must know its name. To discover files and directories, use the <strong>ls <\/strong>command. To know the current working directory, use the <strong>pwd<\/strong> command.<\/p><p>The options you use with these commands also determine how they work. Here&rsquo;s a quick recap of<strong> rm<\/strong> command options:<\/p><div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Command and option<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>rm -d<\/td><td>Remove an empty directory using the <strong>rm <\/strong>command.<\/td><\/tr><tr><td>rm -r<\/td><td>Remove a non-empty directory and its content.<\/td><\/tr><tr><td>rm -f<\/td><td>Ignore any prompt when deleting a write-protected file.<\/td><\/tr><tr><td>rm -rf<\/td><td>Ignore any prompt when deleting a write-protected non-empty folder.<\/td><\/tr><tr><td>rm -i<\/td><td>Prompt for confirmation before each removal.<\/td><\/tr><tr><td>rm -I<\/td><td>Output a prompt only once before deleting more than three files.<\/td><\/tr><tr><td>rm *<\/td><td>Wildcard that represents multiple characters.<\/td><\/tr><tr><td>rm ?<\/td><td>Wildcard that represents a single character.<\/td><\/tr><tr><td>rmdir -p<\/td><td>Remove an empty subdirectory and its parent directory.<\/td><\/tr><tr><td>rmdir -v<\/td><td>Print the information that the specified directory was deleted.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n<\/div><p>To use these commands for VPS management, connect to your remote server <a href=\"\/my\/tutorials\/how-to-use-putty-ssh\">using an SSH client<\/a>, Terminal, or Hostinger&rsquo;s Browser terminal. Then, execute the commands from the application.<\/p><p>Before running the deletion command, ensure you have a restore point or data reserve in case of accidental removal. Hostinger VPS plans include free weekly automatic backups, enabling you to protect files when running risky commands.<\/p><p>We also offer a free snapshot to help you easily restore your VPS configuration to the previous state. Accessible via the <strong>VPS Dashboard<\/strong>, this feature provides a graphical user interface, making it easy to use for beginners.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-remove-an-empty-directory-using-the-rmdir-command\">How to remove an empty directory using the rmdir command<\/h3><p>Linux environment doesn&rsquo;t have a recycle bin or trash folder, so you can&rsquo;t restore deleted files and directories. If you accidentally delete a file or directory, the only recovery method is restoring a backup.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Suggested Reading<\/h4>\n                    <p>Check out our guide to learn more about <a href=\"https:\/\/support.hostinger.com\/en\/articles\/1583232-how-to-back-up-or-restore-a-vps\" target=\"_blank\" rel=\"noopener\">how to create and restore a backup on Hostinger&rsquo;s VPS hosting<\/a>.<\/p>\n                <\/div>\n\n\n\n<\/p><p>Using the <strong>rmdir<\/strong> command prevents such accidents since it only works for empty directories. It will return the following error message if the directory contains files:<\/p><pre class=\"wp-block-preformatted\">rmdir: failed to remove &lsquo;Directory&rsquo;: Directory not empty<\/pre><p>The <strong>rmdir<\/strong> command syntax is as follows:<\/p><pre class=\"wp-block-preformatted\">rmdir option DirectoryName<\/pre><p>You may use the <strong>rmdir <\/strong>command without an option by removing it from the syntax. Since the command line is case-sensitive, remember to type the folder name accordingly.<\/p><p>For example, here&rsquo;s a command for deleting the<strong> Simple-Directory <\/strong>folder:<\/p><pre class=\"wp-block-preformatted\">rmdir Simple-Directory<\/pre><p>The <strong>rmdir<\/strong> command also lets you delete multiple empty directories simultaneously. To do so, add the directories as additional arguments after<strong> rmdir<\/strong>. The syntax looks as follows:<\/p><pre class=\"wp-block-preformatted\">rmdir Directory_1 Directory_2 Directory_3<\/pre><p>There are various options you can combine with the<strong> rmdir<\/strong> command. For example, use<strong> -p<\/strong> to delete a subdirectory and its parent.<\/p><p>For example, the following command will delete the <strong>\/Directory\/SubDirectory <\/strong>directory path:<\/p><pre class=\"wp-block-preformatted\">rmdir -p \/Directory\/SubDirectory<\/pre><p>The above command will delete the<strong> SubDirectory <\/strong>folder in the<strong> Directory<\/strong> path. Then, it will also delete the <strong>Directory <\/strong>folder if it is empty.<\/p><p>The next option is <strong>-v<\/strong> or <strong>verbose<\/strong>. This option tells the command line interface to print a confirmation message to verify that <strong>rmdir <\/strong>has successfully deleted the specified directory. Here&rsquo;s an example of this command:<\/p><pre class=\"wp-block-preformatted\">rmdir -v Simple-Directory<\/pre><p>The output message will appear similar to the following:<\/p><pre class=\"wp-block-preformatted\">rmdir: removing directory, &lsquo;Simple-Directory&rsquo;<\/pre><h3 class=\"wp-block-heading\" id=\"h-how-to-remove-a-non-empty-directory-using-the-rm-command\">How to remove a non-empty directory using the rm command<\/h3><p>To remove a non-empty directory, use the <strong>rm<\/strong> command to remove non-empty directories. This command is meant for removing files, but we can combine it with options like <strong>-r<\/strong>, <strong>-rf<\/strong>, and<strong> -d <\/strong>to delete a directory. Here&rsquo;s the syntax for the command:<\/p><pre class=\"wp-block-preformatted\">rm option FileOrFolderName<\/pre><p>Use the <strong>-r<\/strong> or <strong>recursive <\/strong>option to remove the directory and its content. For example, the following command will delete <strong>Simple-Directory<\/strong>, including the subdirectories and files within it:<\/p><pre class=\"wp-block-preformatted\">rm -r Simple-Directory<\/pre><p>\n\n\n    <p class=\"warning\">\n        <b>Warning!<\/b> Deleting a directory using the <b>rm -r<\/b> command will also wipe its content. Execute this command with caution since you can only recover them using a backup.    <\/p>\n    \n\n\n\n<\/p><p>If the directory is <strong>write-protected<\/strong>, the command line interface will request confirmation before deleting. To delete a directory in Linux without confirmation, use the <strong>-rf<\/strong> option.<\/p><pre class=\"wp-block-preformatted\">rm -rf Simple-Directory<\/pre><p>You can also use the <strong>rm<\/strong> command to remove empty directories in Linux. However, you need the<strong> -d <\/strong>option.<\/p><pre class=\"wp-block-preformatted\">rm -d Simple-Directory<\/pre><p>Similar to the<strong> rmdir <\/strong>command, you can use <strong>rm<\/strong> to remove multiple directories. Add the directory names as new arguments in the command line:<\/p><pre class=\"wp-block-preformatted\">rm -r Directory_1 Directory_2 Directory_3<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-delete-a-file-in-linux-with-the-rm-command\">How to delete a file in Linux with the rm command<\/h2><p>You may want to use the<strong> rm <\/strong>command to manually remove files instead of deleting the folder. This method is safer as it prevents accidental file removals.<\/p><p>To delete a single file in the current working directory, use the <strong>rm<\/strong> command with the file name:<\/p><pre class=\"wp-block-preformatted\">rm file.txt<\/pre><p>You can also delete multiple files in the directory by listing their names:<\/p><pre class=\"wp-block-preformatted\">rm file1.txt file2.txt file3.txt<\/pre><p>All these commands only work if you are in the specified files&rsquo; directory. However, you can put the file path as an argument to delete a file in another folder:<\/p><pre class=\"wp-block-preformatted\">rm dir\/subdir\/file.txt<\/pre><p>Since this command will permanently delete your files, add the <strong>-i <\/strong>option to enable removal confirmation. It adds an extra step to prevent accidental deletion. Here&rsquo;s the command:<\/p><pre class=\"wp-block-preformatted\">rm -i file1.txt file2.txt file3.txt<\/pre><p>Terminal will prompt you with an option to proceed or cancel the deletion. Type<strong> Y<\/strong> and press <strong>Enter <\/strong>if you want to delete the file. Otherwise, hit <strong>N <\/strong>and <strong>Enter<\/strong>.<\/p><p>Alternatively, use<strong> -I<\/strong> if you want the confirmation for deleting more than three files to show only once. While this option is less safe than <strong>-i<\/strong>, it is still relatively effective to prevent accidents. Here&rsquo;s what the command looks like:<\/p><pre class=\"wp-block-preformatted\">rm -I file1.txt file2.txt file3.txt<\/pre><p>The system will still prompt the confirmation if you are removing write-protected files. To skip the confirmation prompts, use the <strong>-f <\/strong>option:<\/p><pre class=\"wp-block-preformatted\">rm -f file.txt<\/pre><p>Instead of deleting specific files individually, you can use wildcards to remove multiple items with a single command. There are two types of wildcards &ndash; the asterisk (<strong>*<\/strong>) and the question mark (<strong>?<\/strong>).<\/p><p>The asterisk represents multiple unknown characters, commonly used to delete files with a certain extension. For instance, the command below will delete all <strong>TXT<\/strong> files in the current working directory:<\/p><pre class=\"wp-block-preformatted\">rm *.txt<\/pre><p>You can also use the asterisk to delete all files beginning with a specific letter.<\/p><pre class=\"wp-block-preformatted\">rm a*<\/pre><p>In the example above, the asterisk represents all unknown characters following the letter <strong>a<\/strong>. The command will delete all files beginning with an <strong>a<\/strong>, regardless of their extensions, such as <strong>amazon.txt<\/strong>, <strong>alligator.png<\/strong>, and <strong>aaron.zip<\/strong>.<\/p><p>Meanwhile, the question mark wildcard represents a single character. Combining it with the asterisk wildcard lets you delete files with a single character extension, such as<strong> S<\/strong>, <strong>O<\/strong>, and <strong>C<\/strong>. Here&rsquo;s an example command:<\/p><pre class=\"wp-block-preformatted\">rm *.?<\/pre><p>\n\n\n    <p class=\"warning\">\n        <strong>Warning!<\/strong> Be careful when using wildcards, as you may end up accidentally deleting critical files. Before proceeding, check all the files in the directory using the <strong>ls<\/strong> command to ensure there are no important ones.    <\/p>\n    \n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-remove-files-and-folders-in-linux-with-hostinger-vps\">How to remove files and folders in Linux with Hostinger VPS<\/h2><p>Hostinger offers various features that help system administrators easily manage their remote server files. All <a href=\"\/my\/vps-hosting\">our VPS plans<\/a> provide full root access via SSH, allowing users to execute various administrative commands without permission issues.<\/p><p>Users can connect to the VPS using a third-party <a href=\"\/my\/tutorials\/how-to-use-putty-ssh\">SSH application like PuTTY<\/a> or Terminal. For beginners unfamiliar with both applications, we also offer a built-in <strong>Browser terminal<\/strong> that allows users to run commands remotely via web browsers.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu.png\"><img decoding=\"async\" width=\"1024\" height=\"492\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu-1024x492.png\" alt=\"The Browser Terminal location in hPanel's VPS management menu\" class=\"wp-image-92384\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu-300x144.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu-150x72.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2019\/02\/The-Browser-Terminal-location-in-hPanels-VPS-management-menu-768x369.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Since this feature is web-based, it works across all operating systems. To access the tool, open your web browser and follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Log in to the <strong>Hostinger Members Area<\/strong> and click<strong> VPS <\/strong>on the top menu.<\/li>\n\n\n\n<li>Select the VPS plan in question.<\/li>\n\n\n\n<li>Click <strong>Browser terminal<\/strong> on the right side of the <strong>VPS Dashboard<\/strong>. A browser pop-up asking for your permission may appear.<\/li>\n\n\n\n<li>The command-line interface will open. Enter your <strong>username <\/strong>and <strong>password<\/strong> to connect.<\/li>\n<\/ol><p>Once connected, you can run bash commands to manage the remote system&rsquo;s files and folders. <strong>Kodee<\/strong>, Hostinger&rsquo;s AI assistant, lets you utilize various <a href=\"\/my\/tutorials\/ai-prompts-for-vps-management\">AI prompts for VPS management<\/a> to generate Linux commands or instructions quickly, as well as ready files.<\/p><p>If you don&rsquo;t want to use a command-line interface, Hostinger VPS hosting plans also support <a href=\"https:\/\/support.hostinger.com\/en\/articles\/1583571-what-are-the-available-operating-systems-for-vps\" target=\"_blank\" rel=\"noopener\">different operating systems<\/a> with various control panels. Users can install them in one click via the <strong>Operating System<\/strong> menu in the<strong> VPS Dashboard<\/strong>.<\/p><p>A control panel provides a graphical user interface (GUI) that helps administrators manage their VPS files efficiently without executing commands. The visual interface makes the task easier, especially for new VPS users.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/my\/vps-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner-1024x300.png\" alt=\"\" class=\"wp-image-77934\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/02\/VPS-hosting-banner.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/02\/VPS-hosting-banner-300x88.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/02\/VPS-hosting-banner-150x44.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/02\/VPS-hosting-banner-768x225.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>To delete files or directories on a Linux system, you must understand the <strong>rm <\/strong>and <strong>rmdir <\/strong>commands. The <strong>rm <\/strong>command lets you delete files and folders, while <strong>rmdir <\/strong>is only for empty directories.<\/p><p>You can attach various options with them, such as <strong>-rf, -i, <\/strong>and <strong>-l<\/strong>. Since Linux permanently deletes the files, create a backup and use the <strong>-i <\/strong>option to enable confirmation before removal.<\/p><p>System administrators commonly execute these commands via Terminal or SSH Client. At Hostinger, you can use the Browser terminal to run them directly via your web browser. Alternatively, use a hosting control panel to delete files without commands.<\/p><p>Moreover, use Hostinger&rsquo;s AI assistant, <strong>Kodee<\/strong>, to quickly generate the necessary commands or instructions, and read files. If you prefer working with a graphical user interface, install a control panel via our <strong>VPS Dashboard<\/strong>.<\/p><h2 class=\"wp-block-heading\" id=\"h-linux-remove-directory-faq\">Linux remove directory FAQ<\/h2><p>In this section, we will answer a commonly asked question about removing directory in Linux.<\/p><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1664962945019\"><h3 class=\"schema-faq-question\">How to delete all files and folders in Linux?<\/h3> <p class=\"schema-faq-answer\">For empty folders, use either the <strong>rmdir <\/strong>or<strong> rm -d<\/strong> commands followed by the folder&rsquo;s name. The<strong> rm<\/strong> command with the <strong>-r dir <\/strong>option<strong> <\/strong>can also delete folders with content.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1696584044065\"><h3 class=\"schema-faq-question\">Which task removes a folder and its contents completely?<\/h3> <p class=\"schema-faq-answer\">To completely remove a folder and its contents in Linux, you can use the rm command with the <strong>-r<\/strong> or <strong>-rf <\/strong>option.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learning the Linux command line is essential for system administrators, as it&rsquo;s widely used for virtual private server hosting. While you can use a hosting control panel, server management is more efficient with Linux commands. These commands are useful for various basic tasks, like managing the system&rsquo;s data. In this article, we will explain how [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/how-to-remove-directory-in-linux\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":283,"featured_media":49058,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to remove directory in Linux using rmdir and rm commands","rank_math_description":"Check out this article to learn how to remove a directory in Linux using the rm and rmdir commands using the Linux command line.","rank_math_focus_keyword":"linux remove directory","footnotes":""},"categories":[22643,22639],"tags":[],"class_list":["post-15640","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-managing-monitoring-and-security","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/supprimer-un-dossier-sous-linux","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/borrar-archivos-carpetas-linux","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/menghapus-file-di-linux","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-son-hooks-wordpress-16","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-son-hooks-wordpress-16","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-usar-tmux-6","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-remove-directory-in-linux","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-remove-directory-in-linux","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/15640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/283"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=15640"}],"version-history":[{"count":42,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/15640\/revisions"}],"predecessor-version":[{"id":124818,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/15640\/revisions\/124818"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media\/49058"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=15640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=15640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=15640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}