{"id":160,"date":"2024-01-29T12:32:17","date_gmt":"2024-01-29T12:32:17","guid":{"rendered":"https:\/\/drupalwebhosting.in\/tutorials\/?p=160"},"modified":"2024-01-29T13:19:07","modified_gmt":"2024-01-29T13:19:07","slug":"set-date-and-time-in-linux","status":"publish","type":"post","link":"https:\/\/drupalwebhosting.in\/tutorials\/set-date-and-time-in-linux\/","title":{"rendered":"Set date and time in Linux"},"content":{"rendered":"\n<p>In <a href=\"https:\/\/www.linux.org\/\" data-type=\"link\" data-id=\"https:\/\/www.linux.org\/\" target=\"_blank\" rel=\"noopener\">Linux<\/a>, the <code>date<\/code> command is used to display and set the system date and time. The <code>date<\/code> command has various options that allow you to format the output and set the date and time.<\/p>\n\n\n\n<p>The <code>date<\/code> command is a standard Unix\/Linux command that provides information about the current date and time. It is commonly available on most <a href=\"https:\/\/www.drupalwebhosting.in\/drupal-web-hosting-india\/\" data-type=\"link\" data-id=\"https:\/\/www.drupalwebhosting.in\/drupal-web-hosting-india\/\">web hosting<\/a> environments that run on Unix-like operating systems.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#display-current-date-and-time-in-linux\">Display Current Date and Time in Linux<\/a><\/li><li><a href=\"#display-time-in-gmt\">Display Time in GMT<\/a><\/li><li><a href=\"#display-the-given-date-string-in-the-format-of-date\">Display the Given Date String in the Format of Date<\/a><\/li><li><a href=\"#display-past-dates\">Display Past Dates<\/a><ul><li><a href=\"#date-and-time-of-1-years-ago\">Date and time of 1 years ago<\/a><\/li><li><a href=\"#date-and-time-of-5-seconds-ago\">Date and time of 5 seconds ago<\/a><\/li><li><a href=\"#date-and-time-of-previous-day\">Date and time of previous day<\/a><\/li><\/ul><\/li><li><a href=\"#display-future-dates\">Display Future Dates<\/a><\/li><li><a href=\"#set-the-system-date-and-time\">Set the System Date and Time<\/a><\/li><li><a href=\"#display-date-strings-from-a-file\">Display Date Strings from a File<\/a><\/li><li><a href=\"#display-last-modified-timestamp-of-a-file\">Display Last Modified Timestamp of a File<\/a><\/li><li><a href=\"#format-specifiers-used-with-date-command\">Format specifiers used with date command<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-current-date-and-time-in-linux\">Display Current Date and Time in Linux<\/h2>\n\n\n\n<p>To display the current date and time in Linux using the <code>date<\/code> command, you can simply enter the following command in the terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"62\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-3.png\" alt=\"\" class=\"wp-image-161\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-3.png 905w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-3-300x21.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-3-768x53.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-time-in-gmt\">Display Time in GMT<\/h2>\n\n\n\n<p>To display the current time in GMT (Greenwich Mean Time) using the <code>date<\/code> command in Linux, you can use the <code>--utc<\/code> or <code>-u<\/code> option.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date -u<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"60\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-4.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-4.png 968w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-4-300x19.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-4-768x48.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-the-given-date-string-in-the-format-of-date\">Display the Given Date String in the Format of Date<\/h2>\n\n\n\n<p>To display a given date string in a specific format using the <code>date<\/code> command in Linux, you can use the <code>-d<\/code> option to specify the input date string and the <code>+<\/code> option to specify the desired output format.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\" string \"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"Jan 29 2024\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"53\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-6-1024x53.png\" alt=\"\" class=\"wp-image-164\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-6-1024x53.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-6-300x15.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-6-768x40.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-6.png 1085w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-past-dates\">Display Past Dates<\/h2>\n\n\n\n<p>To display past dates in Linux using the <code>date<\/code> command, you can use the <code>-d<\/code> option to specify a starting point and then subtract a certain number of days, months, or years<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"date-and-time-of-1-years-ago\">Date and time of 1 years ago<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"1 year ago\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"54\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-7-1024x54.png\" alt=\"\" class=\"wp-image-165\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-7-1024x54.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-7-300x16.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-7-768x40.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-7.png 1104w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"date-and-time-of-5-seconds-ago\">Date and time of 5 seconds ago<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"5 sec ago\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"62\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-8-1024x62.png\" alt=\"\" class=\"wp-image-166\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-8-1024x62.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-8-300x18.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-8-768x47.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-8.png 1069w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"date-and-time-of-previous-day\">Date and time of previous day<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"yesterday\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"62\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-9-1024x62.png\" alt=\"\" class=\"wp-image-167\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-9-1024x62.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-9-300x18.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-9-768x46.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-9.png 1032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-future-dates\">Display Future Dates<\/h2>\n\n\n\n<p>To display future dates in Linux using the <code>date<\/code> command, you can use the <code>-d<\/code> option to specify a starting point and then add a certain number of days, months, or years<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"next tue\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"60\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-10.png\" alt=\"\" class=\"wp-image-168\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-10.png 1021w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-10-300x18.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-10-768x45.png 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date --date=\"2 day\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-11-1024x58.png\" alt=\"\" class=\"wp-image-169\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-11-1024x58.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-11-300x17.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-11-768x43.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-11.png 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"set-the-system-date-and-time\">Set the System Date and Time<\/h2>\n\n\n\n<p>Setting the system date and time in Linux requires using the <code>date<\/code> command with appropriate options. <\/p>\n\n\n\n<p>However, adjusting the system date and time typically requires superuser (root) privileges, so you may need to use <code>sudo<\/code> or switch to the root user.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date --set=\"Tue Jan 30 15:23:34 UTC 2018\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"48\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-12-1024x48.png\" alt=\"\" class=\"wp-image-170\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-12-1024x48.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-12-300x14.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-12-768x36.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-12.png 1317w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-date-strings-from-a-file\">Display Date Strings from a File<\/h2>\n\n\n\n<p>If you want to display date strings from a file in Linux, you can use a combination of commands, such as <code>cat<\/code> to read the contents of the file and <code>date<\/code> to format and display the dates.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date --file=datefile<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>cat &gt;&gt; datefile<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"94\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-14.png\" alt=\"\" class=\"wp-image-172\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-14.png 1023w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-14-300x28.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-14-768x71.png 768w\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>date --file=datefile<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"106\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-13-1024x106.png\" alt=\"\" class=\"wp-image-171\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-13-1024x106.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-13-300x31.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-13-768x79.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-13.png 1191w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"display-last-modified-timestamp-of-a-file\">Display Last Modified Timestamp of a File<\/h2>\n\n\n\n<p>To display the last modified timestamp of a file in Linux, you can use the <code>stat<\/code> command. The <code>stat<\/code> command provides detailed information about a file, including its timestamps.<\/p>\n\n\n\n<p>The&nbsp;<strong><code><strong>-r<\/strong><\/code><\/strong><strong>&nbsp;<\/strong>option is used to display the last modified timestamp of a specified file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date -r file.txt<\/code><\/pre>\n\n\n\n<p>We can modify the timestamp of a datefile by using touch command.&nbsp;&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>touch datefile<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"82\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-15-1024x82.png\" alt=\"\" class=\"wp-image-173\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-15-1024x82.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-15-300x24.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-15-768x62.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-15.png 1095w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"format-specifiers-used-with-date-command\"><strong>Format specifiers used with date command<\/strong><\/h2>\n\n\n\n<p>The <code>date<\/code> command in Linux uses format specifiers to define how the date and time information should be displayed. Below are some commonly used format specifiers with the <code>date<\/code> command:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>%Y<\/strong>: Year with century as a decimal number (e.g., 2024).<\/li>\n\n\n\n<li><strong>%y<\/strong>: Year without century as a decimal number (00 to 99).<\/li>\n\n\n\n<li><strong>%m<\/strong>: Month as a decimal number (01 to 12).<\/li>\n\n\n\n<li><strong>%d<\/strong>: Day of the month as a decimal number (01 to 31).<\/li>\n\n\n\n<li><strong>%H<\/strong>: Hour (00 to 23).<\/li>\n\n\n\n<li><strong>%I<\/strong>: Hour (01 to 12).<\/li>\n\n\n\n<li><strong>%M<\/strong>: Minute (00 to 59).<\/li>\n\n\n\n<li><strong>%S<\/strong>: Second (00 to 59).<\/li>\n\n\n\n<li><strong>%A<\/strong>: Full weekday name (e.g., Sunday).<\/li>\n\n\n\n<li><strong>%a<\/strong>: Abbreviated weekday name (e.g., Sun).<\/li>\n\n\n\n<li><strong>%B<\/strong>: Full month name (e.g., January).<\/li>\n\n\n\n<li><strong>%b<\/strong> or <strong>%h<\/strong>: Abbreviated month name (e.g., Jan).<\/li>\n\n\n\n<li><strong>%c<\/strong>: Date and time representation (e.g., &#8220;Thu Jan 29 15:30:00 2024&#8221;).<\/li>\n\n\n\n<li><strong>%x<\/strong>: Date representation (e.g., &#8220;01\/29\/24&#8221;).<\/li>\n\n\n\n<li><strong>%X<\/strong>: Time representation (e.g., &#8220;15:30:00&#8221;).<\/li>\n<\/ul>\n\n\n\n<p>You can use these format specifiers with the <code>date<\/code> command to customize the output according to your preferences.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date +%&#91;format-option]<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>date \"+%X\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"52\" src=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-16-1024x52.png\" alt=\"\" class=\"wp-image-174\" srcset=\"https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-16-1024x52.png 1024w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-16-300x15.png 300w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-16-768x39.png 768w, https:\/\/drupalwebhosting.in\/tutorials\/wp-content\/uploads\/2024\/01\/image-16.png 1134w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>We hope you&#8217;ve found this useful.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Linux, the date command is used to display and set the system date and time. The date command has various options that allow you to format the output and set the date and time. The date command is a standard Unix\/Linux command that provides information about the current date and time. It is commonly [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":181,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":7,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":182,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/posts\/160\/revisions\/182"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/media\/181"}],"wp:attachment":[{"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drupalwebhosting.in\/tutorials\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}