{"id":951,"date":"2023-05-27T08:40:54","date_gmt":"2023-05-27T08:40:54","guid":{"rendered":"https:\/\/www.dedicatedcore.com\/blog\/?p=951"},"modified":"2025-02-17T10:12:16","modified_gmt":"2025-02-17T10:12:16","slug":"linux-truncate-file","status":"publish","type":"post","link":"https:\/\/www.dedicatedcore.com\/blog\/linux-truncate-file\/","title":{"rendered":"How to Truncate File in Linux"},"content":{"rendered":"<p>The useful action of truncating files in Linux enables you to manage file sizes and contents. Truncating is a simple operation that may be carried out in some ways. That is whether you need to swiftly erase the contents of a log file or reduce the size of a data file. To get better local visibility, the customer should reach out to <a href=\"https:\/\/www.dedicatedcore.com\/vps-hosting-uk\/\" target=\"_blank\" rel=\"noopener\">UK-specified<\/a> vps server hosting with full root access. Here will discuss how to truncate files in Linux. It is arming you with the skills required to change file sizes effectively. It also helps you to protect the data integrity.<\/p>\n<p>The dedicated server offers the best deals with <a href=\"https:\/\/www.dedicatedcore.com\/dedicated-server-germany\/\" target=\"_blank\" rel=\"noopener\">high asset data warehouse<\/a> in German region with a variety of features. A file&#8217;s size is decreased by trimming some of its content when it is truncated. A file can be truncated more easily than it can be deleted, or recreated. It has the proper ownership and permissions set. When a file is truncated, the data past the designated truncate point is removed. Removed by erasing the extra information. Text files, log files, and database files are examples of sequential files for which truncation is useful.<\/p>\n<h4>Essentials<\/h4>\n<ul>\n<li>A Linux-running computer.<\/li>\n<li>The truncate command was installed by the coreutils package.<\/li>\n<li>Use the terminal by pressing Ctrl + Alt + T.<\/li>\n<li>A user account with administrative rights.<\/li>\n<\/ul>\n<h3>Using the Shell Redirection Operator, Truncate Files<\/h3>\n<p>Before truncating files, it\u2019s essential to determine their sizes to ensure you&#8217;re managing your storage effectively. For detailed guidance on this, explore the various methods to find file sizes in Linux to optimize your file management process. Users of Unix-like operating systems can route the output of a command or program to a file rather than showing it in the terminal by using shell redirection, more especially the &gt; operator.<\/p>\n<p>The shell redirection operator can be used to truncate files in many different ways. Before truncating files, it\u2019s essential to <a href=\"https:\/\/www.dedicatedcore.com\/blog\/find-file-size-linux-get-directory\/\" target=\"_blank\" rel=\"noopener\">determine size<\/a> to ensure you&#8217;re managing your storage effectively. For detailed direction on this, explore the various methods to find file sizes in Linux to optimize your file management process.<\/p>\n<h4>Use command colon (:) as Null<\/h4>\n<p>In shell scripting, the colon symbol (:) is frequently used as a placeholder or null command and generates no output. To create an empty file or truncate an existing file to make it empty, use the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">: &gt; filename<\/pre>\n<p>The colon in the command serves as a stand-in or null command that does nothing. The &gt; symbol directs the output, which in this case is nothing, to the filename-specified location. If the file is already available it&#8217;s overridden. If the file doesn&#8217;t already exist, one is made.<\/p>\n<p>For instance:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-953\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file.png\" alt=\"truncate file using null command\" width=\"800\" height=\"191\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file-300x72.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file-150x36.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file-768x183.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file-100x24.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/create-empty-file-truncate-existing-file-700x167.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The aforementioned program leaves the example file intact while truncating its contents to zero.<\/p>\n<h4>Use the Command Cat.<\/h4>\n<p>To concatenate and show the contents of files, the cat command is frequently used. It is a practical approach to truncate a file and access the null device in this situation.<\/p>\n<p>The end-of-file character from the \/dev\/null device is output by the following command and directed to the given file:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cat \/dev\/null &gt; filename<\/pre>\n<p>For example:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-955\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol.png\" alt=\"cat command to truncate file\" width=\"800\" height=\"206\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol-300x77.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol-150x39.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol-768x198.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol-100x26.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-cat-symbol-700x180.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>By diverting the output of the null device to the file, the command truncates the example file and deletes all of its contents.<\/p>\n<h4>Redirect Using echo<\/h4>\n<p>In the terminal, the echo command shows text or variable values. By adding the -n option, echo is told not to append a newline character and instead uses shell redirection to send an empty string to the chosen file.<\/p>\n<p>The syntax is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">echo -n &gt; filename<\/pre>\n<p>For example:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-956\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol.png\" alt=\"echo command to truncate file\" width=\"800\" height=\"192\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol-300x72.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol-150x36.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol-768x184.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol-100x24.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-using-shell-redirection-echo-symbol-700x168.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>An empty string is forwarded to the chosen file using the command. If the file is already available it&#8217;s overridden. If the file doesn&#8217;t exist, a new file is created. The file&#8217;s contents are deleted in the aforementioned case.<\/p>\n<h3>Use Only Redirection<\/h3>\n<p>You can omit the command before the redirection operator and truncate the file using the majority of contemporary shells, including Bash and Zsh. As for the syntax:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&gt; filename<\/pre>\n<p>For instance:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-957\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only.png\" alt=\"truncate using only redirection\" width=\"800\" height=\"191\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only-300x72.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only-150x36.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only-768x183.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only-100x24.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-file-through-shell-redirection-only-700x167.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The command truncates the output to make it empty and redirects it to the specified example file. In this case, there is no output because there was no previous command. The command creates a new, empty file if the specified file doesn&#8217;t already exist.<\/p>\n<h3>Truncate Using Sudo<\/h3>\n<p>You need write access to a file to truncate it. Elevated root capabilities do not apply to redirection, whereas the sudo command enables you to truncate a file for which you do not have write permissions. For instance, the procedure fails because the following file is read-only:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-958\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file.png\" alt=\"command fails and denies permission to truncate file\" width=\"800\" height=\"171\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file-300x64.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file-150x32.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file-768x164.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file-100x21.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/denies-permission-to-truncate-file-700x150.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The command fails and refuses to allow the file to be truncated. To override this behavior and truncate the file, you have numerous options:<\/p>\n<p>Open a fresh shell. To reroute the write permissions, use the redirection command in a fresh shell as a superuser:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo sh -c '&gt; filename'<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-959\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo.png\" alt=\"truncating file in new shell\" width=\"800\" height=\"149\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-300x56.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-150x28.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-768x143.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-100x19.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-700x130.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>When you enter the root password, the sh -c command launches a new shell and runs the command inside of it.<\/p>\n<p>Connect the tee command to the output. Another choice is to pipe the output to the tee command, which will write the empty output to the designated file after granting sudo elevated privileges:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">: | sudo tee filename<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-960\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command.png\" alt=\"truncating with elevated privileges and tee command\" width=\"800\" height=\"151\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command-300x57.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command-150x28.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command-768x145.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command-100x19.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncating-read-only-file-sudo-tee-command-700x132.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The empty input from the null command: is fed to tee using sudo. Using elevated privileges, tee writes that empty input to the selected file and standard output.<\/p>\n<h4>Using the Truncate Command, Truncate Files<\/h4>\n<p>Users can reduce the size of a file to a specific size or completely delete its contents with the truncate command. To alter files, the truncate command needs the proper file system permissions.<\/p>\n<p>You might require administrative rights or sudo to run truncate with elevated access, depending on the file&#8217;s location and permissions.<\/p>\n<h4>Remove All File Contents<\/h4>\n<p>With truncate, the following syntax is used to delete a file&#8217;s contents:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">truncate -s 0 filename<\/pre>\n<p>For instance:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-961\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate.png\" alt=\"truncating a file using truncate command\" width=\"800\" height=\"191\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate-300x72.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate-150x36.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate-768x183.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate-100x24.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/syntax-removing-file-contents-truncate-700x167.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The provided examplefile file&#8217;s entire contents are deleted by the command.<\/p>\n<h4>File Truncation to a Specific Size<\/h4>\n<p>If you want to shrink a file to a certain size, use the truncate command. The default value is in bytes, and its syntax is as follows:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">truncate -s [number of bytes] filename<\/pre>\n<p>Tell us how many bytes you want your file to be.<\/p>\n<p>For instance:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-962\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size.png\" alt=\"truncate file to specific size\" width=\"800\" height=\"211\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size-300x79.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size-150x40.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size-768x203.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size-100x26.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/truncate-command-reduce-file-specific-size-700x185.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>In the aforementioned illustration, the command reduces the size of the supplied file to 10 bytes. Other quantities, like K for kilobytes, M for megabytes, G for gigabytes, etc., are also accepted. For instance, use the following syntax to shrink a file to 10KB:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">truncate -s 10K filename<\/pre>\n<h4>Boost File Size<\/h4>\n<p>To increase or decrease the file size by that amount, place a plus or minus sign in front of the size. Use the following syntax, for instance, to make the file 10MB larger:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">truncate -s +5M filename<\/pre>\n<p>For instance:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-963\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command.png\" alt=\"truncate command to increase file size\" width=\"800\" height=\"191\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command-300x72.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command-150x36.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command-768x183.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command-100x24.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/increase-file-size-using-truncate-command-700x167.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The +5M denotes a 5-megabyte size increase. A decrease is denoted by a -sign, whereas an increase is indicated by a +sign before the size.<\/p>\n<p>This command expands the provided file by 5 megabytes when it is run. To increase the file&#8217;s size if it started smaller, the command appends null bytes to the end of the file. The command has no effect if the file is already more than 5 megabytes in size.<\/p>\n<p><strong>Final Words on Truncating Files in Linux<\/strong><\/p>\n<p>As a result, anyone working with data and files on this flexible operating system. It will find great value in mastering Linux how to truncate a file. With the help of the techniques covered in this blog, you may easily reset log files. Also free up disk space, or simply control file contents. You may traverse the world of file truncation in Linux by following the techniques. Ensuring that your data is kept organized and that your system runs. While truncating files is crucial for managing storage, understanding the basics of file creation in Linux is equally important, especially for <a href=\"https:\/\/www.dedicatedcore.com\/blog\/create-new-file-linux\/\" target=\"_blank\" rel=\"noopener\">setting up new log files<\/a> or organizing data effectively.<\/p>\n<p>The instructions demonstrated how to use the truncate command. The shell redirection operator &gt; to truncate files in Linux. Truncating files can be helpful when you wish to delete the file&#8217;s contents but leave it intact. The command is used to manage file size and simplify file processing. It enhances performance for log files and database files. So by going all through this hope, you got the idea to Linux truncate files.<\/p>\n<h4>Frequently Asked Questions (FAQ)<\/h4>\n<p><strong>1. Can I Truncate a File without losing its Original permissions?<\/strong><\/p>\n<p>Yes, truncating a file only alters its content, not its permissions. Commands like truncate or echo &#8220;&#8221; &gt; filename preserve file permissions and ownership.<\/p>\n<p><strong>2. How do I Truncate a File to a specific Size?<\/strong><\/p>\n<p>You can use the truncate command with the -s flag to set a specific file size. For example, to truncate a file to 100 bytes:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">truncate -s 100 filename\r\n<\/pre>\n<p>Useful to shrink large log files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The useful action of truncating files in Linux enables you to manage file sizes and contents. Truncating is a simple operation that may be carried&#8230;<\/p>\n","protected":false},"author":1,"featured_media":980,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/951"}],"collection":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/comments?post=951"}],"version-history":[{"count":16,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":2678,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/951\/revisions\/2678"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media\/980"}],"wp:attachment":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media?parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/categories?post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/tags?post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}