{"id":2689,"date":"2024-01-16T19:26:32","date_gmt":"2024-01-16T19:26:32","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=2689"},"modified":"2024-01-16T19:26:32","modified_gmt":"2024-01-16T19:26:32","slug":"clear-temp-folder-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/","title":{"rendered":"How to Clear Temp Folder &#038; Files in Ubuntu?"},"content":{"rendered":"<p><strong>Is your Ubuntu System running slower than usual, and there is a huge pile of temporary files causing this issue?<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">All modern-day Operating Systems have several temporary files that serve different purposes. These temporary files can help boot up frequently used applications or tools faster. However, the \u201c<strong>\/tmp<\/strong>\u201d directory that contains these temporary files can become overloaded, which causes the System to perform poorly.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The user can clear the temporary files and folders in the \u201c<strong>\/tmp<\/strong>\u201d directory to resolve the performance issue. The user can also find files older than 10-12 days and delete them. This guide will explain different methods of removing the temp files and folders from your Ubuntu System.<\/span><\/p>\n<h2 id=\"how-to-clear-temp-folder-files-in-ubuntu\"><span style=\"font-weight: 400;\">How to Clear Temp Folder &amp; Files in Ubuntu?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Temporary files and folders are placed inside the \u201c<strong>\/tmp<\/strong>\u201d directory in the Ubuntu Operating System. These files take up storage space on the disk, so clearing them after a while is recommended.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To clear the temporary files in Ubuntu, locate the \u201c<strong>\/tmp<\/strong>\u201d folder and remove its files using the \u201c<strong>find<\/strong>\u201d and the \u201c<strong>delete<\/strong>\u201d commands. To entirely remove the \u201c<strong>\/tmp<\/strong>\u201d directory, you can use the \u201c<strong>rm<\/strong>\u201d command. Alternatively, you can set up an automatic deletion of temporary files and folders from the settings.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Moreover, you can set up a cron job that will delete temporary files and folders from your Ubuntu system at a fixed time daily.<\/span><\/p>\n<h3 id=\"method-1-use-the-find-command-to-clear-the-temp-folder\"><span style=\"font-weight: 400;\">Method 1: Use the \u201cfind\u201d Command to Clear the Temp Folder<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The \u201c<strong>find<\/strong>\u201d command in Linux can be used to locate files and folders by specifying certain patterns or paths. However, the same \u201c<strong>find<\/strong>\u201d command can be combined with other commands to filter the search results and apply different operations as needed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To clear the temp folder with the help of the \u201c<strong>find<\/strong>\u201d command, open up a new terminal session and then execute the following command:<\/span><\/p>\n<pre><strong>sudo find \/tmp<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">Running this command will locate and list all the files in the \u201c<strong>\/tmp<\/strong>\u201d on the terminal, which will look like this:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2691\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-2.png\" alt=\"\" width=\"976\" height=\"672\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-2.png 976w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-2-300x207.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/1-2-768x529.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Next up, use the \u201c<strong>type<\/strong>\u201d flag to specify the \u201c<strong>files<\/strong>\u201d and then use the delete command to remove them from within the \u201c<strong>tmp<\/strong>\u201d directory.<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">sudo find \/tmp -type f -delete<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Executing this command directly will require you to have sudo access privileges.<\/span><\/p>\n<h3 id=\"method-2-use-the-rm-command-to-clear-the-tmp-folder\"><span style=\"font-weight: 400;\">Method 2: Use the \u201crm\u201d Command to Clear the \u201ctmp\u201d Folder<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You can utilize the \u201c<strong>rm<\/strong>\u201d in the \u201c<strong>\/tmp<\/strong>\u201d directory to clear all of the temporary files from your Ubuntu machine. To do this, there are two different approaches. The first approach revolves around changing the \u201c<strong>pwd<\/strong>\u201d or the present working directory to the \u201c<strong>tmp<\/strong>\u201d and then using the \u201c<strong>rm<\/strong>\u201d to remove all files from that directory.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To do this, open up a terminal session on your Ubuntu machine and then execute the following command to change the present working directory to \u201c<strong>\/tmp<\/strong>\u201d:<\/span><\/p>\n<pre><strong>cd \/tmp<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">Once that is done, run the following command to delete the files and folders in the \u201c<strong>tmp<\/strong>\u201d directory:<\/span><\/p>\n<pre><strong>sudo rm -rf *<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">The second approach is to run the \u201crm\u201d command to delete the files without having to change the \u201c<strong>pwd<\/strong>\u201d directory to the \u201c<strong>\/tmp<\/strong>\u201d folder. To do this, open a new terminal session and execute the following command:<\/span><\/p>\n<pre><strong>sudo rm -rf \/tmp<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">You will be prompted to provide the password for the sudo user, and all of the files inside the \u201c<strong>tmp<\/strong>\u201d directory will be removed from your Ubuntu machine<\/span><\/p>\n<div class=\"cl-preview-section\">\n<h3 id=\"dracula-servers-dedicated-servers\">Dracula Servers Dedicated Servers<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>When it comes to hosting Linux applications that demand superior performance and dedicated resources, Dracula Servers\u2019 Dedicated Servers stand out as a reliable choice. Offering a range of powerful configurations, these dedicated servers are optimized for Linux environments, providing the ideal infrastructure for applications, websites, and services that require robust computing power. With Dracula Servers, you get full control over your server, allowing you to tailor it to your Linux-based requirements.<\/p>\n<p>The dedicated support team ensures smooth operations and quick issue resolution, making Dracula Servers a trusted partner for those seeking top-notch Linux hosting solutions.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the possibilities with\u00a0<a href=\"https:\/\/draculaservers.com\/dedicated-servers\">Dracula Servers Dedicated Servers<\/a>.<\/p>\n<\/div>\n<h3 id=\"method-3-set-up-automatic-clean-up-through-settings\"><span style=\"font-weight: 400;\">Method 3: Set up Automatic Clean Up Through Settings<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Apart from manually clearing the temporary directory of the Ubuntu file system, you can also set up automatic clean-up from the settings. To do this, head over to the settings application from the application tray:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2692\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_1-1.png\" alt=\"\" width=\"921\" height=\"492\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_1-1.png 921w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_1-1-300x160.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_1-1-768x410.png 768w\" sizes=\"auto, (max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">From the left-side navigation panel, head inside the \u201c<strong>Privacy<\/strong>\u201d:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2693\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_2-1.png\" alt=\"\" width=\"977\" height=\"492\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_2-1.png 977w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_2-1-300x151.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_2-1-768x387.png 768w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Then, inside the privacy options, head inside the tab \u201c<strong>File History &amp; Trash<\/strong>\u201d from the left-side navigation panel:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2694\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_3-1.png\" alt=\"\" width=\"479\" height=\"315\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_3-1.png 479w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_3-1-300x197.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">This will open the settings for the trash and temporary files. From here, you can toggle the slider to delete the temporary files and folder automatically and set a delete period:<\/span><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_4-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2695\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_4-1.png\" alt=\"\" width=\"728\" height=\"694\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_4-1.png 728w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_4-1-300x286.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">In case you don\u2019t want to set an automatic clean-up, then you can use the buttons on this page to clear the temporary files manually:<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_5-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2696\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_5-1.png\" alt=\"\" width=\"742\" height=\"400\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_5-1.png 742w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/Screenshot_5-1-300x162.png 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/a><\/p>\n<h3 id=\"method-4-clean-dependencies-and-unused-packages\"><span style=\"font-weight: 400;\">Method 4: Clean Dependencies and Unused Packages<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">If you are looking to clear up space by cleaning the unused dependencies and packages, then you can run the autoremove command. However, removing dependencies doesn\u2019t remove the files and folders inside the \u201c<strong>\/tmp<\/strong>\u201d directory.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To do this, open a new terminal session and execute the following command:<\/span><\/p>\n<pre><strong>sudo apt-get auto-remove<\/strong><\/pre>\n<p><span style=\"font-weight: 400;\">In addition to this, you can execute the autoclean command as well:<\/span><\/p>\n<pre><strong>sudo apt-get clean<\/strong><\/pre>\n<h2 id=\"wrap-up\"><span style=\"font-weight: 400;\">Wrap Up<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To clean the temporary files and folders inside, you can use the \u201cfind\u201d command to list all of the files and directories inside the \u201c\/tmp\u201d folder and then use either the delete flag or the rm command. Moreover, you can use the \u201cfind\u201d command to list only the files inside the \u201c\/tmp\u201d directory to see if the temporary folder is full or not.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Otherwise, you can use the \u201crm\u201d inside the \u201ctmp\u201d to remove the files and folders. Another thing that can be done in <a href=\"https:\/\/ubuntu.com\/\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a> is automatically cleaning up by using the options available in the settings application. The GUI of the settings application can be used to clear the temporary files and trash files as well manually.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Lastly, if you are looking to remove the unused dependencies or packages, then you can execute the \u201cAutoremove\u201d or the \u201cAutoclean\u201d command in a terminal session.<\/span><\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Read More Linux Guides Here!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is your Ubuntu System running slower than usual, and there is a huge pile of temporary files causing this issue? All modern-day Operating Systems have several temporary files that serve different purposes. These temporary files can help boot up frequently used applications or tools faster. However, the \u201c\/tmp\u201d directory that contains these temporary files can [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2698,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[172,22],"tags":[184,185,122,111,181],"class_list":["post-2689","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tutorials","category-ubuntu","tag-clear-temp-files","tag-clear-tmp-folder","tag-linux-guides","tag-linux-tutorials","tag-ubuntu-guide"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Is your Ubuntu System running slower than usual, and there is a huge pile of temporary files causing this issue? All modern-day Operating Systems have several temporary files that serve different purposes. These temporary files can help boot up frequently used applications or tools faster. However, the \u201c\/tmp\u201d directory that contains these temporary files can become overloaded, which causes the System to perform poorly.\u00a0 The user can clear the temporary files and folders in the \u201c\/tmp\u201d directory to resolve the performance issue. The user can also find files older than 10-12 days and delete them. This guide will explain different&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Clear Temp Folder &amp; Files in Ubuntu? - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"To Clear Temp Folder &amp; Files in Ubuntu, use the &quot;find&quot; or the &quot;rm&quot; command to delete the files inside the &quot;\/tmp&quot; directory.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Clear Temp Folder &amp; Files in Ubuntu? - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"To Clear Temp Folder &amp; Files in Ubuntu, use the &quot;find&quot; or the &quot;rm&quot; command to delete the files inside the &quot;\/tmp&quot; directory.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-16T19:26:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"How to Clear Temp Folder &#038; Files in Ubuntu?\",\"datePublished\":\"2024-01-16T19:26:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/\"},\"wordCount\":995,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-4.png\",\"keywords\":[\"Clear Temp files\",\"Clear tmp folder\",\"Linux Guides\",\"Linux Tutorials\",\"Ubuntu Guide\"],\"articleSection\":[\"Linux Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/\",\"name\":\"How to Clear Temp Folder & Files in Ubuntu? - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-4.png\",\"datePublished\":\"2024-01-16T19:26:32+00:00\",\"description\":\"To Clear Temp Folder & Files in Ubuntu, use the \\\"find\\\" or the \\\"rm\\\" command to delete the files inside the \\\"\\\/tmp\\\" directory.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-4.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/What-4.png\",\"width\":1280,\"height\":720,\"caption\":\"Thumb_Clear-Tmp-Folder\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/clear-temp-folder-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Clear Temp Folder &#038; Files in Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Clear Temp Folder & Files in Ubuntu? - Dracula Servers Tutorials","description":"To Clear Temp Folder & Files in Ubuntu, use the \"find\" or the \"rm\" command to delete the files inside the \"\/tmp\" directory.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Clear Temp Folder & Files in Ubuntu? - Dracula Servers Tutorials","og_description":"To Clear Temp Folder & Files in Ubuntu, use the \"find\" or the \"rm\" command to delete the files inside the \"\/tmp\" directory.","og_url":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-01-16T19:26:32+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"How to Clear Temp Folder &#038; Files in Ubuntu?","datePublished":"2024-01-16T19:26:32+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/"},"wordCount":995,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png","keywords":["Clear Temp files","Clear tmp folder","Linux Guides","Linux Tutorials","Ubuntu Guide"],"articleSection":["Linux Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/","name":"How to Clear Temp Folder & Files in Ubuntu? - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png","datePublished":"2024-01-16T19:26:32+00:00","description":"To Clear Temp Folder & Files in Ubuntu, use the \"find\" or the \"rm\" command to delete the files inside the \"\/tmp\" directory.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/01\/What-4.png","width":1280,"height":720,"caption":"Thumb_Clear-Tmp-Folder"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/clear-temp-folder-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Clear Temp Folder &#038; Files in Ubuntu?"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2689"}],"version-history":[{"count":3,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2689\/revisions"}],"predecessor-version":[{"id":2699,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2689\/revisions\/2699"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/2698"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=2689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=2689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}