{"id":16150,"date":"2019-03-22T11:05:27","date_gmt":"2019-03-22T11:05:27","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=16150"},"modified":"2025-04-28T08:09:01","modified_gmt":"2025-04-28T08:09:01","slug":"linux-tee-command-with-examples","status":"publish","type":"post","link":"\/in\/tutorials\/linux-tee-command-with-examples","title":{"rendered":"How to Use the Linux tee Command With Useful Examples"},"content":{"rendered":"<p>Navigating Linux commands can be intimidating, but the more you learn, the easier it gets. The Linux <strong>tee <\/strong>command is a versatile tool that streamlines your workflow by redirecting standard output to multiple destinations simultaneously.<\/p><p>It&rsquo;s for more than just advanced users &ndash; even beginners can harness its essential functions. In this guide, we&rsquo;ll explain the <strong>tee <\/strong>command in Linux, explore its syntax, and provide practical examples to help you master this important utility. Let&rsquo;s get started.<\/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-linux-tee-command-syntax\">Linux tee Command Syntax<\/h2><p>The <strong>tee <\/strong>command reads standard input and writes it to the terminal and one or more files. Here&rsquo;s the basic syntax:<\/p><pre class=\"wp-block-preformatted\">command | tee [options] [file]<\/pre><ul class=\"wp-block-list\">\n<li><strong>command <\/strong>&ndash; this is the initial command you execute, the output you wish to redirect. Examples include shell commands like <strong>ls<\/strong>,<strong> cat<\/strong>,<strong> <\/strong>and<strong> uptime<\/strong>.<\/li>\n\n\n\n<li><strong>| <\/strong>&ndash; the pipe character redirects the output of the preceding command (<strong>command<\/strong>) to the following command (<strong>tee<\/strong>).<\/li>\n\n\n\n<li><strong>tee <\/strong>&ndash; this command reads from standard input and writes to standard output and specified files.<\/li>\n\n\n\n<li><strong>[options] <\/strong>&ndash; here, you can specify flags to change how <strong>tee<\/strong> behaves. For example, the <strong>-a<\/strong> flag appends output to a file instead of overwriting it.<\/li>\n\n\n\n<li><strong>[file] <\/strong>&ndash;<strong> <\/strong>this is where you name the file(s) to save the standard output. You can specify multiple files, separating them with spaces.<\/li>\n<\/ul><p>For instance, to save the output of the <strong><a href=\"\/in\/tutorials\/echo-command-linux\">echo<\/a> <\/strong>command to a root-owned file named <strong>hello.txt<\/strong>, execute:<\/p><pre class=\"wp-block-preformatted\">echo \"Hello, world!\" | tee hello.txt<\/pre><p>This command shows <strong>Hello, world!<\/strong> on your Linux terminal and saves it to this <strong>TXT<\/strong> file.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-linux-tee-command\">How to Use the Linux tee Command<\/h2><p>Now that you know the basic syntax, let&rsquo;s use the Linux <strong>tee<\/strong> command. If you&rsquo;re on a <a href=\"\/in\/tutorials\/what-is-vps-hosting\">virtual private server<\/a> (VPS), access your server&rsquo;s command line via SSH.<\/p><p>To log in, get your SSH details from your VPS provider and use an <a href=\"\/in\/tutorials\/how-to-use-putty-ssh\">SSH client like PuTTY<\/a>.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-save-command-output-to-a-file\">How to Save Command Output to a File<\/h3><p>Saving command output is simple with the Linux <strong>tee<\/strong> command. To direct standard output to a file, follow this format:<\/p><pre class=\"wp-block-preformatted\">command | tee output.txt<\/pre><p>For example, to capture the output of the <strong>ls<\/strong> command, run:<\/p><pre class=\"wp-block-preformatted\">ls | tee directory-listing.txt<\/pre><p>This will show the current directory listing on your terminal and write it to <strong>directory-listing.txt<\/strong>, which is useful for tasks like logging system data.<\/p><p>To write to multiple files at once, use:<\/p><pre class=\"wp-block-preformatted\">ls | tee file1.txt file2.txt<\/pre><h3 class=\"wp-block-heading\" id=\"h-how-to-append-to-an-existing-file\">How to Append to an Existing File<\/h3><p>The Linux <strong>tee <\/strong>command&rsquo;s default behavior is to overwrite the content of the specified file. To append output without replacing what&rsquo;s already there, use the <strong>-a<\/strong> flag like this:<\/p><pre class=\"wp-block-preformatted\">command | tee -a existing-file.txt<\/pre><p>For example, to append system uptime to an existing log file called <strong>system-log.txt<\/strong> without deleting prior entries, run:<\/p><pre class=\"wp-block-preformatted\">uptime | tee -a system-log.txt<\/pre><p>This keeps your previous entries while adding new data. It&rsquo;s ideal for ongoing updates to standard output files.<\/p><p>Suppose you&rsquo;ve already saved a list of installed packages in <strong>installed-packages.txt<\/strong>. To add new entries when you install new packages, execute:<\/p><pre class=\"wp-block-preformatted\">dpkg --get-selections | tee -a installed-packages.txt<\/pre><p>This <strong>tee <\/strong><a href=\"\/in\/tutorials\/linux-commands\">Linux command<\/a> appends the current list of installed packages to the existing file, preserving the data captured by the previous command.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-combine-the-tee-command-with-piping\">How to Combine the tee Command With Piping<\/h3><p>The <strong>tee <\/strong>command in Linux becomes even more useful when combined with piping and other shell commands. This allows you to filter and manipulate standard input before writing it to a file or displaying it on the terminal. Here&rsquo;s how you can structure the command:<\/p><pre class=\"wp-block-preformatted\">command1 | tee output1.txt | command2 | tee output2.txt<\/pre><p>For instance, to search for a specific error message in a log file and save that filtered output, execute:<\/p><pre class=\"wp-block-preformatted\">cat logfile.txt | grep \"ERROR\" | tee error-log.txt<\/pre><p>The <strong>tee <\/strong>command reads standard input from <strong>logfile.txt<\/strong>, filters lines containing <strong>ERROR<\/strong>, and writes those lines to both the terminal and <strong>error-log.txt<\/strong>.<\/p><p>Additionally, the Linux <strong>tee <\/strong>command can be interrupted by <strong>SIGINT<\/strong> or <strong>SIGTERM<\/strong> signals unless managed at the shell level to ignore interrupts. To address this, you can use the <strong>trap<\/strong> command before executing the <strong>tee <\/strong>command, as shown:<\/p><pre class=\"wp-block-preformatted\">trap \"echo 'Interrupt signal caught, exiting.'; exit\" SIGINT SIGTERM\ntail -f continuously-updating-log.txt | tee -a captured-log.txt<\/pre><p>In this example, the <strong>trap <\/strong>command is prepared to catch interrupt signals. The <strong>tail -f<\/strong> command reads the continuously updating log and <strong>tee -a<\/strong> appends this information to <strong>captured-log.txt<\/strong>.<\/p><h2 class=\"wp-block-heading\" id=\"h-linux-tee-command-best-practices\">Linux tee Command Best Practices<\/h2><p>When using <strong>tee<\/strong> commands, follow the best practices to optimize your workflow. These include simplifying Linux commands with AI and managing both standard output and standard error in Linux.<\/p><p><strong>Simplify tee Command Management with Kodee<\/strong><\/p><p>Managing tasks with Linux command-line tools can be challenging, especially for those new to Linux system administration. Fortunately, for Hostinger <a href=\"\/in\/vps-hosting\">virtual machine hosting<\/a> customers, our AI assistant, <strong>Kodee<\/strong>, simplifies this process.<\/p><p>This AI-powered tool provides precise and timely guidance for setting up and managing your <strong>tee<\/strong> or other command tasks. So, there&rsquo;s no need to sift through manuals or FAQs, as you&rsquo;ll receive step-by-step instructions.<\/p><p>For instance, to set up <strong>tee <\/strong>command automation, <strong>Kodee <\/strong>will generate the required commands for you. Copy and paste the Linux <strong>tee<\/strong> examples, and you&rsquo;re set.<\/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><p>Here&rsquo;s how to use <strong>Kodee<\/strong>:<\/p><ol class=\"wp-block-list\">\n<li>Log in to your Hostinger account.<\/li>\n\n\n\n<li>Locate the <strong>VPS <\/strong>dashboard and select your server.<\/li>\n\n\n\n<li>On the left panel, click <strong>Kodee<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69dbba663e1f0\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"532\" height=\"822\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/hpanel-kodee-location.png\" alt=\"The location of Kodee in hPanel\" class=\"wp-image-117129\" style=\"width:304px;height:auto\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/hpanel-kodee-location.png 532w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/hpanel-kodee-location-194x300.png 194w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/hpanel-kodee-location-97x150.png 97w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Type in your question about <strong>tee <\/strong>or other commands.<\/li>\n\n\n\n<li><strong>Kodee<\/strong> will provide you with some ready-to-use Linux <strong>tee<\/strong> command examples.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69dbba6640928\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"498\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/linux-tee-commands-generated-by-kodee-1024x498.png\" alt=\"Demonstrating the Kodee usage to provide the Linux tee command examples\" class=\"wp-image-117130\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-1024x498.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-300x146.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-150x73.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-768x373.png 768w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-1536x747.png 1536w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2024\/10\/linux-tee-commands-generated-by-kodee-2048x995.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Streamline Output With tee Flags<\/strong><\/p><p>Optimizing standard output management in Linux is easier with <strong>tee<\/strong> command flags. The <strong>-a<\/strong> or <strong>&ndash;append<\/strong> flag is useful, allowing you to add new data to an existing file without erasing what&rsquo;s already there.<\/p><p>For example, if you&rsquo;re regularly logging system performance data, use the <strong>-a<\/strong> flag to showcase appending output in Linux. Execute the command as follows:<\/p><pre class=\"wp-block-preformatted\">command | tee -a output-file.txt<\/pre><p>This method is convenient for tasks requiring ongoing data collection. The <strong>tee<\/strong> command, at the same time, appends to existing logs in multiple files.<\/p><p><strong>Redirect Standard Error (stderr)<\/strong><\/p><p>In Linux, standard output (<strong>stdout<\/strong>) and standard error (<strong>stderr<\/strong>) are distinct streams. While <strong>stdout<\/strong> manages regular output to a file, <strong>stderr<\/strong> handles error messages. Capturing both is vital for thorough system diagnostics.<\/p><p>To capture both <strong>stdout <\/strong>and <strong>stderr<\/strong>, execute the command as follows:<\/p><pre class=\"wp-block-preformatted\">command 2&gt;&amp;1 | tee both-output.txt<\/pre><p>This logs both standard and error messages in <strong>both-output.txt<\/strong> for later analysis.<\/p><p>For instance, to diagnose error-writing issues to a specific log file, run:<\/p><pre class=\"wp-block-preformatted\">some_command 2&gt;&amp;1 | tee error-log.txt<\/pre><p>This technique allows for in-depth troubleshooting, capturing the write error and standard outputs for analysis.<\/p><p><strong>Create Multiple Copies Simultaneously<\/strong><\/p><p>The Linux <strong>tee <\/strong>command excels when you need to write to multiple files, as it simultaneously copies the same output into different locations. To do this, use the following syntax:<\/p><pre class=\"wp-block-preformatted\">command | tee file1.txt file2.txt file3.txt<\/pre><p>This feature is handy for logging network activity in given files and directories, streamlining the task while ensuring data consistency.<\/p><p><strong>Combine tee With grep<\/strong><\/p><p>Pairing <strong>tee<\/strong> with the <a href=\"\/in\/tutorials\/grep-command-in-linux-useful-examples\/\">grep command<\/a> lets you filter specific lines from a data stream and save them. This is one of the Linux command-line tricks useful for tasks like sorting through log files. The syntax to achieve this is as follows:<\/p><pre class=\"wp-block-preformatted\">command | grep 'pattern' | tee filtered-output.txt<\/pre><p>For instance, to extract all lines containing <strong>ERROR<\/strong> from a system log, run the following command:<\/p><pre class=\"wp-block-preformatted\">cat system-log.txt | grep 'ERROR' | tee error-lines.txt<\/pre><p>This setup lets you display the filtered <strong>ERROR<\/strong> lines on the terminal and simultaneously save them to <strong>error-lines.txt<\/strong>, streamlining your logging process.<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>The Linux <strong>tee <\/strong>command is a powerful tool that lets you display data on the terminal and save it to one or more files. This guide has explored its primary usage, including redirecting output in Linux, using <strong>tee <\/strong>for logging, and pairing it with <strong>grep<\/strong>.<\/p><p>Becoming proficient in these features will not only boost your Linux command-line skills but also streamline daily operations.<\/p><p>Whether using the <strong>tee<\/strong> command for real-time monitoring or to diagnose errors during debugging, mastering <strong>tee<\/strong> is invaluable for system administration and to level up your Linux management skills.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Expand Your Linux Command-Line Knowledge<\/h4>\n                    <p><a href=\"\/in\/tutorials\/linux-cat-command-tutorial-and-examples\/\">Reading File Content with the Cat Command<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-use-tail-command\/\">How to Use the Linux Tail Command<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-use-linux-sed-command-examples\/\">File Manipulation Using the Sed Command<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-rename-files-in-linux\/\">Rename Your Files Efficiently in Linux<\/a><br>\n<a href=\"\/in\/tutorials\/linux-file-command\/\">Master the Linux File Command<\/a><br>\n<a href=\"\/in\/tutorials\/linux-tar-command-with-examples\/\">Archiving and Compression with Tar<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-use-find-and-locate-commands-in-linux\/\">Locate and Find Files in Linux<\/a><br>\n<a href=\"\/in\/tutorials\/linux-chown-command\/\">Take Control with the Chown Command<\/a><br>\n<a href=\"\/in\/tutorials\/using-scp-command-to-transfer-files\/\">Secure File Transfers with SCP<\/a><br>\n<a href=\"\/in\/tutorials\/how-to-use-rsync\/\">How to Transfer Files Using Rsync<\/a><\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Navigating Linux commands can be intimidating, but the more you learn, the easier it gets. The Linux tee command is a versatile tool that streamlines your workflow by redirecting standard output to multiple destinations simultaneously. It&rsquo;s for more than just advanced users &ndash; even beginners can harness its essential functions. In this guide, we&rsquo;ll explain [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/in\/tutorials\/linux-tee-command-with-examples\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":411,"featured_media":91144,"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-16150","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\/linux-tee-command-with-examples","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/commande-tee-linux","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/comando-tee-linux","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/linux-tee-command-with-examples","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/linux-tee-command-with-examples\/","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/linux-tee-command-with-examples\/","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/comando-tee-linux","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/comando-tee-linux","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/comando-tee-linux","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/linux-tee-command-with-examples","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/linux-tee-command-with-examples","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/linux-tee-command-with-examples","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/linux-tee-command-with-examples","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/16150","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\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/comments?post=16150"}],"version-history":[{"count":22,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/16150\/revisions"}],"predecessor-version":[{"id":127441,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/16150\/revisions\/127441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media\/91144"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media?parent=16150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/categories?post=16150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/tags?post=16150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}