{"id":4251,"date":"2017-05-19T15:15:02","date_gmt":"2017-05-19T15:15:02","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=4251"},"modified":"2025-04-23T09:36:59","modified_gmt":"2025-04-23T09:36:59","slug":"how-to-use-find-and-locate-commands-in-linux","status":"publish","type":"post","link":"\/in\/tutorials\/how-to-use-find-and-locate-commands-in-linux","title":{"rendered":"How to Use the Linux Locate Command to Find Any File"},"content":{"rendered":"<p>If you&rsquo;re using Linux for the first time, you might be confused about how to search for files and directories on your computer. There are two Linux commands to do this, which are <strong>find<\/strong> and <strong>locate<\/strong>.&nbsp;<\/p><p>Although both commands have the same function, they work differently. The <strong>find<\/strong> command will search for the specified files in all of your computer&rsquo;s directories. Meanwhile, the <strong>locate command<\/strong> will look for files only on your Linux database. <\/p><p>This article will explain how to use the Linux <strong>find<\/strong> and <strong>locate<\/strong> commands and why to use them.<\/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\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2022\/11\/Linux-cheat-sheet-1536x425.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2022\/11\/Linux-cheat-sheet-300x83.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2022\/11\/Linux-cheat-sheet-150x41.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2022\/11\/Linux-cheat-sheet-768x212.png 768w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/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-what-are-the-find-and-locate-commands-in-linux\">What Are the Find and Locate Commands in Linux<\/h2><p>The <strong>find<\/strong> command in Linux is a versatile tool for searching files and directories based on various criteria, such as name, type, and size, with results generated in real-time. The <strong>locate<\/strong> command, on the other hand, is a faster option that relies on a pre-built database for quick file searches but may not provide real-time updates.<\/p><p>An important thing to note is that we will be using Ubuntu VPS in this guide. That being said, the steps should also work for Debian, CentOS, or any other <a href=\"\/in\/tutorials\/best-linux-distro\">distribution of Linux<\/a>. If you don&rsquo;t know how to connect to VPS,&nbsp; you can follow <a href=\"\/in\/tutorials\/how-to-use-putty-ssh\">this guide<\/a> before proceeding further.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/in\/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\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/VPS-hosting-banner.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/VPS-hosting-banner-300x88.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/VPS-hosting-banner-150x44.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/VPS-hosting-banner-768x225.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-find-command-syntax\">Find Command Syntax<\/h2><p>The most popular command to find and filter files on Linux is <strong>find<\/strong>. The basic syntax is as follows:<\/p><pre class=\"wp-block-preformatted\">find &lt;startingdirectory&gt; &lt;options&gt; &lt;search term&gt;<\/pre><p>It starts with the keyword <strong>find<\/strong>, which alerts Linux that whatever follows after will be used to find your file. The <strong>&lt;startingdirectory&gt;<\/strong> argument is the origin point of where you want to start the search. It can be replaced with several arguments, including:<\/p><ul class=\"wp-block-list\">\n<li><strong>\/ (slash)<\/strong> &mdash; search the whole system.<\/li>\n\n\n\n<li><strong>. (dot)<\/strong> &mdash; search from the folder you&rsquo;re currently working on (current directory).<\/li>\n\n\n\n<li><strong>~ (tilde)<\/strong>&nbsp;&mdash; to search from your home folder.<\/li>\n<\/ul><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Pro Tip<\/h4>\n                    <p>In order to find the current directory you are in, use the <strong>pwd<\/strong> command.<\/p>\n                <\/div>\n\n\n\n<\/p><p>The second argument <strong>&lt;options&gt;<\/strong> is dedicated to your file. This could be the file&rsquo;s name, type, date of creation, etc. The third argument <strong>&lt;search term&gt;<\/strong> is where you will specify the relevant search term.<\/p><h2 class=\"wp-block-heading\" id=\"h-find-command-examples\">Find Command Examples<\/h2><p>Let&rsquo;s take a look at various options Linux provides its users:<\/p><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-name\">Using Find to Search by Name<\/h3><p>Of course, the most common method to look for a file is using its name. To run a simple search query using the name of the file, use the <strong>find<\/strong> command like this:<\/p><pre class=\"wp-block-preformatted\">find . -name my-file<\/pre><p>We used the <strong>-name<\/strong> option, and searched for a file called <strong>my-file<\/strong>. Note that we started the search in our current directory by using the <strong>. (dot)<\/strong> argument.<\/p><p>Keep in mind that the <strong>-name<\/strong> argument looks for case-sensitive terms in Linux. If you know the name of the file, but are not sure about its case-sensitivity, use the following <strong>find<\/strong> command:<\/p><pre class=\"wp-block-preformatted\">find . -iname my-file<\/pre><p>You can also search for all files without a certain keyword in their name. There are two ways to do this. The first method involves using the <strong>&ndash;not<\/strong> keyword in the following manner:<\/p><pre class=\"wp-block-preformatted\">find . -not -name my-file<\/pre><p>Second, we can use the exclamation symbol (<strong>!<\/strong>). However, it has to be preceded by the escape identifier (\\) to let Linux know that this is the part of the <strong>find<\/strong> command.<\/p><pre class=\"wp-block-preformatted\">find . \\! -name my-file<\/pre><p>You can look for multiple files with a common format like <strong>.txt<\/strong> as well:<\/p><pre class=\"wp-block-preformatted\">find . -name &ldquo;*.txt&rdquo;<\/pre><p>This will list down all the text files starting with the current folder.<\/p><p>Lastly, if you want to find a certain file by name and remove it, use the<strong> -delete<\/strong> argument after the file name:<\/p><pre class=\"wp-block-preformatted\">find . -name my-file -delete<\/pre><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-type\">Using Find to Search by Type<\/h3><p>Linux allows users to list all information based on their types. There are several filters that you can use:<\/p><ul class=\"wp-block-list\">\n<li><strong>d<\/strong> &ndash; directory or folder<\/li>\n\n\n\n<li><strong>f<\/strong> &ndash; normal file<\/li>\n\n\n\n<li><strong>l<\/strong> &ndash; symbolic link<\/li>\n\n\n\n<li><strong>c<\/strong> &ndash; character devices<\/li>\n\n\n\n<li><strong>b<\/strong> &ndash; block devices<\/li>\n<\/ul><p>A simple example of using a file type can be seen below:<\/p><pre class=\"wp-block-preformatted\">find \/ -type d<\/pre><p>This will list all of the current directories in your system since we searched from our root directory with the \/ (slash) symbol.<\/p><p>You can also combine the &ndash;<strong>type<\/strong> and<strong> -name<\/strong> options to narrow down your searches further:<\/p><pre class=\"wp-block-preformatted\">find \/ -type f -name my-file<\/pre><p>This will look for files named <strong>my-file<\/strong>, excluding directories or links.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-time\">Using Find to Search by Time<\/h3><p>If you want to search for files based on when they were accessed and modification time footprints. Linux keeps track of the files using these three timestamps.<\/p><ul class=\"wp-block-list\">\n<li><strong>Access Time<\/strong> (<strong>-atime<\/strong>) &ndash; when the file was either read or written into.<\/li>\n\n\n\n<li><strong>Modification Time<\/strong> (<strong>-mtime<\/strong>) &ndash; when the file was modified.<\/li>\n\n\n\n<li><strong>Change Time<\/strong> (<strong>-ctime<\/strong>) &ndash; when the file&rsquo;s meta-data was updated.<\/li>\n<\/ul><p>This option has to be used with a number that specifies how many days passed since the file was accessed, modified or changed:<\/p><pre class=\"wp-block-preformatted\">find \/ -atime 1<\/pre><p>This command will show all files that were accessed a day ago starting from your current time.<\/p><p>We can narrow down our queries even more by adding <strong>plus<\/strong> (<strong>+<\/strong>) and <strong>minus<\/strong> (&ndash;) signs preceding the number of days. For instance:<\/p><pre class=\"wp-block-preformatted\">find \/ -mtime +2<\/pre><p>It lists down all the files that have a modification time of more than two days ago.<\/p><p>To find all files whose meta-data was updated less than a day ago, run the following:<\/p><pre class=\"wp-block-preformatted\">find \/ -ctime -1<\/pre><p>While not often used, there are some additional arguments that are also related to timed-searches. The <strong>-mmin<\/strong> argument looks for modified files on a minute basis. It can be used like this:<\/p><pre class=\"wp-block-preformatted\">find \/ -mmin -1<\/pre><p>Also, we have the<strong> -newer<\/strong> argument, which can be used to compare the age of two or more files and display the newer one.<\/p><pre class=\"wp-block-preformatted\">find \/ -newer my-file<\/pre><p>What you&rsquo;ll get are all of the files that are more recently modified than your file.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-size\">Using Find to Search by Size<\/h3><p>Linux lets you search for files based on their sizes. The syntax for searching files by size is:<\/p><pre class=\"wp-block-preformatted\">find &lt;startingdirectory&gt; -size &lt;size-magnitude&gt; &lt;size-unit&gt;<\/pre><p>You can specify the following size units:<\/p><ul class=\"wp-block-list\">\n<li><strong>c<\/strong> &ndash; bytes<\/li>\n\n\n\n<li><strong>k<\/strong> &ndash; kilobytes<\/li>\n\n\n\n<li><strong>M<\/strong> &ndash; megabytes<\/li>\n\n\n\n<li><strong>G<\/strong> &ndash; gigabytes<\/li>\n\n\n\n<li><strong>b<\/strong> &ndash; 512-byte chunks<\/li>\n<\/ul><p>A simple example of how to use the <strong>find<\/strong> command for file sizes is as follows:<\/p><pre class=\"wp-block-preformatted\">find \/ -size 10M<\/pre><p>Here we search for all of the files in your system that are exactly 10 megabytes. Just like when searching based on time, you can filter your searches further using the plus and minus signs:<\/p><pre class=\"wp-block-preformatted\">find \/ -size +5G<\/pre><p>It will display all the files that are more than five gigabytes in size.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-ownership\">Using Find to Search by Ownership<\/h3><p>Linux gives you the ability to narrow down your searches based on file ownership. To find files of a certain owner, the following command should be executed:<\/p><pre class=\"wp-block-preformatted\">find \/ -user john<\/pre><p>The script will return a list of all files that the user named <strong>john<\/strong> owns. Similar to usernames, we can also find files through group names:<\/p><pre class=\"wp-block-preformatted\">find \/ -group classroom<\/pre><h3 class=\"wp-block-heading\" id=\"h-using-find-to-search-by-permissions\">Using Find to Search by Permissions<\/h3><p>Users can search for files based on file permissions using&nbsp; <strong>-perm<\/strong> option. For example:<\/p><pre class=\"wp-block-preformatted\">find \/ -perm 644<\/pre><p>In Linux, <strong>644<\/strong> corresponds to read and write permission. That means this command will look for all the files that have only read and write permissions. You can play around with this option further:<\/p><pre class=\"wp-block-preformatted\">find \/ -perm -644<\/pre><p>With an addition of a dash symbol, it will return with all the files that have at least 644 permission.<\/p><p>Feel free to <a href=\"http:\/\/linuxcommand.org\/lc3_lts0090.php\" target=\"_blank\" rel=\"noopener\">read more<\/a> on permissions and various codes corresponding to other Linux permissions.<\/p><h3 class=\"wp-block-heading\" id=\"h-other-useful-find-command-options\">Other Useful Find Command Options<\/h3><p>There are other useful options that you should remember.<\/p><p>For example, to look for empty files and folders on your system, use the following:<\/p><pre class=\"wp-block-preformatted\">find \/ -empty<\/pre><p>Similarly, to look for all the executables saved on your drive, utilize the <strong>-exec<\/strong> option:<\/p><pre class=\"wp-block-preformatted\">find \/ -exec<\/pre><p>To look for readable files, you can run the following command:<\/p><pre class=\"wp-block-preformatted\">find \/ -read<\/pre><p>As you can see, there is a ton of options at hand for users to tailor their queries as they wish. Let us look at the other command which can be used to locate files in Linux.<\/p><h2 class=\"wp-block-heading\" id=\"h-locate-command-syntax\">Locate Command Syntax<\/h2><p>The <strong>locate<\/strong> command is a useful alternative, as it is faster than the <strong>find<\/strong> command when performing searches. That&rsquo;s because the former only scans your Linux database instead of the whole system. Furthermore, the syntax is relatively easier to write.<\/p><p>You can now use the command to search for files using this syntax:<\/p><pre class=\"wp-block-preformatted\">locate [my-file]<\/pre><p>The vanilla <strong>locate<\/strong> command can sometimes return files that have been deleted, if the database wasn&rsquo;t updated. The best solution is to manually update the database by running the following:<\/p><pre class=\"wp-block-preformatted\">sudo updatedb<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-install-locate-package\">How to Install Locate Package<\/h2><p>By default, Linux does not come with the <strong>locate<\/strong> command pre-installed. To get the package, run the following commands one after another:<\/p><pre class=\"wp-block-preformatted\">sudo apt-get update\nsudo apt-get install mlocate<\/pre><h2 class=\"wp-block-heading\" id=\"h-locate-command-examples\">Locate Command Examples<\/h2><p>We&rsquo;ll share with you the most common applications of Linux <strong>locate<\/strong> command.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-search-exact-file-name\">Using Locate to Search Exact File Name<\/h3><p>The basic syntax only allows you to search for files that contain the search term. If you want to get the file with the exact name, you can use the <strong>-r<\/strong> option and add dollar symbol (<strong>$<\/strong>) at the end of your search term, for example:<\/p><pre class=\"wp-block-preformatted\">locate -r my-file$<\/pre><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-count-the-number-of-files\">Using Locate to Count the Number of Files<\/h3><p>In order to tell how many files appear on your search result, insert <strong>-c<\/strong> after the locate command.<\/p><pre class=\"wp-block-preformatted\">locate -c my-file<\/pre><p>Instead of listing all the files, it will give you the total number of them.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-ignore-case-sensitive\">Using Locate to Ignore Case Sensitive<\/h3><p>Use <strong>-i<\/strong> on your linux<strong> locate<\/strong> command to ignore case sensitive files. For instance:<\/p><pre class=\"wp-block-preformatted\">locate -i my-file<\/pre><p>All of the files with this name will be shown, regardless of any uppercase or lowercase symbols found.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-show-existing-files\">Using Locate to Show Existing Files<\/h3><p>Just like we&rsquo;ve mentioned, Linux <strong>locate<\/strong> command can even show you a deleted file if you haven&rsquo;t updated the database. Thankfully, you can get around this problem by using&nbsp; <strong>-e<\/strong> option, like this:<\/p><pre class=\"wp-block-preformatted\">locate -e my-file<\/pre><p>By doing this, you will only get files that exist at the time you perform the <strong>locate<\/strong> command.<\/p><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-disable-errors-while-searching\">Using Locate to Disable Errors While Searching<\/h3><p><strong>-q<\/strong> option will prevent any errors from showing up when the search is being processed. To do this, simply enter:<\/p><pre class=\"wp-block-preformatted\">locate -q my-file<\/pre><h3 class=\"wp-block-heading\" id=\"h-using-locate-to-limit-the-number-of-search-results\">Using Locate to Limit the Number of Search Results<\/h3><p>If you want to limit the number of search results, <strong>-n &lt;number&gt;<\/strong> will do the trick. However, remember that you need to put the option at the end of the command line. Take a look at this example:<\/p><pre class=\"wp-block-preformatted\">locate my-file n 10<\/pre><p>The script will only display the first 10 files it discovers even when there are more.<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>You can search for files on your server using the <strong>find<\/strong> and <strong>locate<\/strong> commands in Linux. These two powerful tools have their own advantages. Therefore, we encourage you to give both of them a go and see which one is more suitable for you. Here&rsquo;s a short summary of what we talked about:<\/p><ul class=\"wp-block-list\">\n<li>Use <strong>find<\/strong> to search for files based on name, type, time, size, ownership and permissions, in addition to some other useful options<\/li>\n\n\n\n<li>Install and use Linux <strong>locate<\/strong> command to perform faster system-wide searches for files. It also allows you to filter out by name, case-sensitive, folder, and so on.<\/li>\n<\/ul><p>If you have any questions, feel free to ask in the comments!<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Learn More Linux Commands for File Management<\/h4>\n                    <p><a href=\"\/in\/tutorials\/how-to-remove-files-and-folders-using-linux-command-line\/\">How to Remove Files and Directories<\/a><br>\n<a href=\"\/in\/tutorials\/linux-touch-command-with-useful-examples\/\">How to Create an Empty File<\/a><br>\n<a href=\"\/in\/tutorials\/linux-tar-command-with-examples\/\">How to Compress a File with Tar Command<\/a><br>\n<a href=\"\/in\/tutorials\/linux-chown-command\/\">How to Change File Ownership with Chown Command<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-unzip-files-linux\/\">How to Unzip Files in Linux<\/a><br>\n<a href=\"\/in\/tutorials\/vps\/change-linux-permissions-and-owners\">How to Change FIle Permissions with Chmod Command<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-rename-files-in-linux\/\">How to Rename a File<\/a><br>\n<a href=\"\/in\/tutorials\/linux-tee-command-with-examples\/\">How to Write and Display to File With Tee Command<\/a><br>\n<a href=\"\/in\/tutorials\/linux-file-command\/\">How to Check File Type<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-use-rsync\/\">How to Use rsync Command in Linux<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-create-symbolic-links-in-linux\/\">How to Create a Symbolic Link (Symlink)<\/a><br>\n<a href=\"\/in\/tutorials\/using-scp-command-to-transfer-files\/\">How to Use SCP Command to Copy and Transfer Files in Linux<\/a><\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&rsquo;re using Linux for the first time, you might be confused about how to search for files and directories on your computer. There are two Linux commands to do this, which are find and locate.&nbsp; Although both commands have the same function, they work differently. The find command will search for the specified files [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/in\/tutorials\/how-to-use-find-and-locate-commands-in-linux\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"","rank_math_description":"","rank_math_focus_keyword":"","footnotes":""},"categories":[22644,22640],"tags":[],"class_list":["post-4251","post","type-post","status-publish","format-standard","hentry","category-managing-monitoring-and-security","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/commande-locate-linux","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-usar-comando-find-locate-en-linux","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-use-find-and-locate-commands-in-linux\/","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-use-find-and-locate-commands-in-linux\/","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/como-usar-comando-find-locate-en-linux\/","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/como-usar-comando-find-locate-en-linux\/","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-usar-comando-find-locate-en-linux\/","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-use-find-and-locate-commands-in-linux","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/4251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/comments?post=4251"}],"version-history":[{"count":27,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/4251\/revisions"}],"predecessor-version":[{"id":127322,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/4251\/revisions\/127322"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media?parent=4251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/categories?post=4251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/tags?post=4251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}