{"id":12307,"date":"2026-02-23T10:27:36","date_gmt":"2026-02-23T04:57:36","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=12307"},"modified":"2026-09-07T11:09:37","modified_gmt":"2026-09-07T05:39:37","slug":"how-to-delete-file-directory-in-linux","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/how-to-delete-file-directory-in-linux\/","title":{"rendered":"How to Delete File\/Directory in Linux 2026"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>To delete a file or directory in Linux<\/strong>, use rm for files, rmdir for empty folders, and rm -r for non empty directories. Add -i for interactive prompts, -v for verbose output, and -f to force removal. For safe bulk cleanup, combine find with -delete or -exec. Always double-check the path before running recursive commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deleting files and directories in Linux is straightforward once you understand the rm, rmdir, and find commands. In this guide, you\u2019ll learn how to delete a file in Linux safely, remove empty and non empty directories, handle special characters, automate cleanup, and avoid costly mistakes on production servers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"quick-commands-cheat-sheet\">Quick Commands Cheat Sheet<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># Delete a file\nrm file.txt\n\n# Delete multiple files\nrm file1.log file2.log\n\n# Interactive + verbose (safer)\nrm -iv file.txt\n\n# Delete an empty directory\nrmdir empty_folder\n# or\nrm -d empty_folder\n\n# Delete a non-empty directory (recursive)\nrm -r folder_name\n\n# Force recursive delete (dangerous)\nrm -rf folder_name\n\n# Delete files matching a pattern in current dir\nrm -i *.log\n\n# Send to Trash (safer, requires trash-cli)\ntrash-put file.txt\n\n# Use find to delete by name\/modification time\nfind \/var\/log -type f -name \"*.log\" -mtime +30 -delete\n\n# End options, handle files beginning with a dash\nrm -- -weirdname\n\n# Remove file securely (overwrite)\nshred -u secrets.txt<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"understanding-rm-rmdir-and-unlink\">Understanding rm, rmdir, and unlink<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Linux provides several tools to remove files and directories. Knowing when to use each is essential for both safety and speed.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rm:<\/strong> Removes files and directories. Add <code>-r<\/code> for recursion, <code>-f<\/code> to force, <code>-i<\/code> to confirm, <code>-v<\/code> for verbose. Works on both files and directories.<\/li>\n\n\n\n<li><strong>rmdir:<\/strong> Removes only empty directories. It\u2019s safer because it won\u2019t touch files.<\/li>\n\n\n\n<li><strong>unlink:<\/strong> Removes a single file (a lower level system call wrapper). Good for removing a single file path, less common in daily use.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For most tasks, rm is your primary tool. Use rmdir to enforce the \u201cempty only\u201d rule. Use unlink for single file scripts or when you want minimal features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-delete-a-file-in-linux-safely\">How to Delete a File in Linux (Safely)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"1-confirm-the-path-and-target\">1) Confirm the path and target<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Always confirm the current working directory and list the target before deleting. This is your best defense against accidental data loss.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pwd\nls -lah\nls -lah \/path\/to\/target<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"2-use-interactive-and-verbose-flags\">2) Use interactive and verbose flags<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Interactive prompts help you verify each deletion. Verbose output shows exactly what was removed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Safer single-file deletion\nrm -iv report.csv\n\n# Safer bulk deletion with a pattern\nrm -iv *.log<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"3-handle-spaces-special-characters-and-leading-dashes\">3) Handle spaces, special characters, and leading dashes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Files with spaces or special characters must be quoted or escaped. For file names starting with a dash, use &#8212; to end options.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Spaces\nrm \"Quarter 1 Report.pdf\"\n\n# Special characters\nrm 'data (final).txt'\n\n# Leading dash\nrm -- -error.log<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"4-dont-forget-hidden-files\">4) Don\u2019t forget hidden files<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Hidden files start with a dot. Use a dot-glob pattern to include them when needed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Delete visible and hidden logs in current directory\nrm -iv .*.log *.log<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-delete-a-directory-in-linux\">How to Delete a Directory in Linux<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"delete-an-empty-directory\">Delete an empty directory<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use rmdir or rm -d when you\u2019re certain the directory is empty. It\u2019s a safe, quick check.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rmdir \/path\/to\/emptydir\n# or\nrm -d \/path\/to\/emptydir<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"delete-a-non-empty-directory-recursive\">Delete a non-empty directory (recursive)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For directories containing files or subdirectories, use rm -r. Add -i for prompts or -I for a single prompt when deleting many files; avoid blind -rf in production.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Safer recursion with prompts\nrm -rI project_folder\n\n# Verbose recursive deletion\nrm -rv project_folder\n\n# Forceful recursive delete (dangerous; no prompts)\nrm -rf project_folder<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Tip: Use <code>--one-file-system<\/code> to prevent crossing filesystem boundaries (useful on servers with mounted volumes) and <code>--preserve-root<\/code> (default in GNU rm) to protect root. Never use <code>rm -rf \/<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"delete-by-pattern-inside-a-directory-tree\">Delete by pattern inside a directory tree<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use find for targeted recursive deletion, faster and safer than wildcarding blindly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Delete only .log files under \/var\/log older than 30 days\nfind \/var\/log -type f -name \"*.log\" -mtime +30 -delete\n\n# Preview first\nfind \/var\/log -type f -name \"*.log\" -mtime +30 -print\n\n# Delete empty directories\nfind \/data -type d -empty -delete<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"bulk-deletion-with-find-and-xargs\">Bulk Deletion With find and xargs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For very large sets (thousands of files), prefer find with -delete or use -print0 with xargs -0 to safely handle spaces and special characters.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Delete large files over 1GB\nfind \/backup -type f -size +1G -print0 | xargs -0 -I{} rm -v \"{}\"\n\n# Interactive confirmation per file\nfind .\/build -type f -name \"*.tmp\" -print0 | xargs -0 -I{} rm -iv \"{}\"\n\n# Restrict depth\nfind \/var\/www -maxdepth 1 -type f -name \"*.old\" -delete<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"secure-deletion-compliance-and-privacy\">Secure Deletion (Compliance and Privacy)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Standard rm unlinks paths; data may remain on disk until overwritten. For sensitive data, use secure deletion tools, but understand filesystem caveats (journaling, SSD wear leveling, snapshots).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>shred:<\/strong> Overwrites file content before unlinking. Less effective on copy on write or journaled filesystems.<\/li>\n\n\n\n<li><strong>wipe\/srm: <\/strong>Utilities designed for secure erasure (availability varies by distro).<\/li>\n\n\n\n<li><strong>Full disk encryption:<\/strong> The most reliable strategy for at rest data protection on modern storage.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Overwrite and remove a file\nshred -u -n 3 -z secrets.txt\n\n# Securely erase free space on a simple FS (use with caution; may not support CoW FS)\n# wipe -f \/dev\/sdX<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If your environment uses snapshots (e.g., cloud block storage) or copy on write filesystems, secure deletion may not purge historical copies. Rotate and expire snapshots appropriately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-deletion-errors\">Troubleshooting Common Deletion Errors<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"permission-denied\">\u201cPermission denied\u201d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You may lack permissions or the file is owned by another user. Use sudo or adjust ownership\/permissions responsibly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Run with elevated privileges\nsudo rm -iv \/restricted\/file.txt\n\n# Change owner, then delete\nsudo chown youruser:youruser \/restricted\/file.txt\nrm -iv \/restricted\/file.txt<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"operation-not-permitted-immutable-files\">\u201cOperation not permitted\u201d (immutable files)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Linux supports immutable attributes that prevent modification or deletion. Remove the attribute first, then delete.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Clear immutable attribute, then delete\nsudo chattr -i \/path\/to\/file\nrm -iv \/path\/to\/file<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"device-or-resource-busy\">\u201cDevice or resource busy\u201d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The file or directory is in use by a running process or a mounted filesystem. Identify open handles and stop processes safely.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Show processes using the path\nlsof +D \/path\/to\/dir\n# or\nfuser -v \/path\/to\/file\n\n# Unmount if it's a mount point (confirm before doing this)\nsudo umount \/mount\/point<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"argument-list-too-long\">\u201cArgument list too long\u201d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Shell globbing expanded to more arguments than the system allows. Switch to find with -delete or xargs.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Instead of: rm *.tmp (fails on huge sets)\nfind . -type f -name \"*.tmp\" -print0 | xargs -0 rm -v<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"safer-alternatives-to-rm-in-production\">Safer Alternatives to rm in Production<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"move-to-trash-with-trash-cli\">Move to Trash with trash-cli<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For recoverable deletions, use trash-cli to send files to the desktop Trash instead of permanently removing them.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Install (Debian\/Ubuntu)\nsudo apt install trash-cli\n\n# Install (RHEL\/CentOS\/Fedora)\nsudo dnf install trash-cli\n\n# Usage\ntrash-put file.txt\ntrash-list\ntrash-restore\ntrash-empty<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"soft-delete-by-moving-to-a-quarantine-folder\">Soft delete by moving to a quarantine folder<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In scripts or <a href=\"https:\/\/www.youstable.com\/blog\/install-cron-jobs-on-linux\">cron jobs<\/a>, move files to a dated quarantine directory first. Purge after retention expires.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>QUAR=$HOME\/.quarantine\/$(date +%F)\n<a href=\"https:\/\/www.youstable.com\/blog\/mkdir-command-in-linux\">mkdir<\/a> -p \"$QUAR\"\nmv \/data\/*.old \"$QUAR\"\/\n# Purge quarantined items older than 14 days\nfind \"$HOME\/.quarantine\" -type f -mtime +14 -delete<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"backups-and-snapshots-recommended\">Backups and snapshots (recommended)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before large scale deletion, ensure you have current backups or storage snapshots. On managed servers, staging first, deleting second is best practice. <a href=\"https:\/\/www.youstable.com\/blog\/benefits-of-fully-managed-dedicated-server\/\">YouStable\u2019s managed VPS and dedicated hosting<\/a> plans support automated backups and snapshot options, so you can roll back fast if something goes wrong.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"best-practices-and-safety-checklist\">Best Practices and Safety Checklist<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confirm path with <code>pwd<\/code> and list targets with <code>ls -lah<\/code> before deleting.<\/li>\n\n\n\n<li>Prefer <code>rm -i<\/code> or <code>rm -I<\/code> for manual cleanups; avoid blind <code>rm -rf<\/code>.<\/li>\n\n\n\n<li>Use <code>find ... -delete<\/code> for targeted recursion; preview with <code>-print<\/code> first.<\/li>\n\n\n\n<li>Quote paths with spaces\/special characters; use <code>--<\/code> for leading-dash names.<\/li>\n\n\n\n<li>Check permissions, ownership, and attributes (<code>chattr<\/code>) when errors appear.<\/li>\n\n\n\n<li>Use <code>--one-file-system<\/code> for recursive deletes on multi-mount systems.<\/li>\n\n\n\n<li>Adopt quarantine\/Trash workflows and keep backups or snapshots.<\/li>\n\n\n\n<li>Automate retention policies (e.g., delete logs older than N days) with well-tested scripts.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"real-world-examples-hosting-and-devops\">Real World Examples (Hosting and DevOps)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Below are practical, production-friendly examples that prevent outages and data loss\u2014based on years of server management.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1) Rotate and delete old web logs (older than 14 days), excluding gz archives\nfind \/var\/log\/nginx -type f -name \"*.log\" -mtime +14 -not -name \"*.gz\" -delete\n\n# 2) Clean build artifacts but keep releases\/\nfind \/var\/www\/app -path \"\/var\/www\/app\/releases\" -prune -o -type f -name \"*.tmp\" -print -delete\n\n# 3) Remove empty cache directories created during deploys\nfind \/var\/cache\/app -type d -empty -delete\n\n# 4) Delete files owned by a specific user (after offboarding)\nfind \/home\/olduser -user olduser -type f -print -delete\n\n# 5) Safe dry-run using echo (preview commands)\nfind \/data\/archive -type f -name \"*.bak\" -mtime +60 -print0 | xargs -0 -I{} echo rm -v \"{}\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs\">FAQs<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765462298410\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-delete-a-file-in-linux\">How do I delete a file in Linux?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use rm followed by the file path: <code>rm filename<\/code>. For safety, add <code>-i<\/code> to confirm each deletion and <code>-v<\/code> for details: <code>rm -iv filename<\/code>. Quote paths that contain spaces or special characters.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462305194\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-delete-a-directory-in-linux\">How do I delete a directory in Linux?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>For empty directories use <code>rmdir<\/code> or <code>rm -d<\/code>. For directories with contents, use <code>rm -r<\/code> (recursive). Add <code>-I<\/code> or <code>-i<\/code> for safety, and use <code>-v<\/code> to see what\u2019s removed.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462315144\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"whats-the-difference-between-rm-r-and-rm-rf\">What\u2019s the difference between rm -r and rm -rf?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p><code>rm -r<\/code> removes directories and their contents recursively, respecting errors and prompts if configured. <code>rm -rf<\/code> adds \u201cforce,\u201d suppressing prompts and errors. It\u2019s powerful but dangerous\u2014avoid using it without careful checks.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462332232\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-can-i-delete-files-by-pattern-or-age\">How can I delete files by pattern or age?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use find with -name and -mtime. Example: <code>find \/path -type f -name \"*.log\" -mtime +30 -delete<\/code> deletes logs older than 30 days. Always preview first with <code>-print<\/code>.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462347247\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"can-i-recover-files-after-using-rm\">Can I recover files after using rm?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Usually no\u2014rm unlinks files immediately. Recovery is complex and unreliable. For safer workflows, use trash-cli or move files to a quarantine directory, and maintain backups or snapshots.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462352444\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-fix-operation-not-permitted-when-deleting\">How do I fix \u201cOperation not permitted\u201d when deleting?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The file may be immutable. Run <code>sudo chattr -i \/path\/to\/file<\/code> to remove the attribute, then delete. Also verify permissions and whether the file is in use by a process.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765462361394\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"is-secure-deletion-shred-reliable-on-ssds\">Is secure deletion (shred) reliable on SSDs?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Not fully. SSD wear leveling and journaling can leave copies. Prefer full disk encryption and rotate\/destroy encryption keys. Verify storage vendor guidance and snapshot policies.<\/p>\n<p>Managing servers at scale? YouStable\u2019s managed hosting helps you enforce safe deletion policies, automate cleanups, and keep reliable backups, so maintenance never risks uptime.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>To delete a file or directory in Linux, use rm for files, rmdir for empty folders, and rm -r for [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":15420,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":810,"footnotes":""},"categories":[350,2259],"tags":[],"class_list":["post-12307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-kb-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=12307"}],"version-history":[{"count":2,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12307\/revisions"}],"predecessor-version":[{"id":24033,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/12307\/revisions\/24033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/15420"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=12307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=12307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=12307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}