{"id":18494,"date":"2023-12-11T05:09:03","date_gmt":"2023-12-11T05:09:03","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=18494"},"modified":"2023-12-11T05:09:44","modified_gmt":"2023-12-11T05:09:44","slug":"zip-command-in-linux-with-examples","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/","title":{"rendered":"zip command in linux with examples"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\" alt=\"\" \/><br \/>\nThe &#8216;zip&#8217; command in Linux is a powerful utility that allows users to compress and package files and directories. Whether you are looking to save disk space, streamline file transfers, or create a compressed archive for backup purposes, the &#8216;zip&#8217; command provides a versatile and efficient solution. In this article, we will explore the various functionalities of the &#8216;zip&#8217; command, accompanied by illustrative examples.<\/p>\n<h2>What is zip command in Linux?<\/h2>\n<p>The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file. It is a standard command-line tool that helps users reduce the size of files and folders for efficient storage, transfer, and backup purposes. The zip command uses the ZIP compression format, a widely used compression method that preserves directory structures and file permissions.<\/p>\n<h3>Basic Syntax of zip command in Linux:<\/h3>\n<p>The basic syntax of the &#8216;zip&#8217; command is as follows:<\/p>\n<pre><code>zip options archive_name file1 file2 ... fileN<\/code><\/pre>\n<ul>\n<li>options: Additional settings or flags to customize the compression process.<\/li>\n<li>archive_name: The name of the resulting compressed file.<\/li>\n<li>file1, file2, &#8230;, fileN: The files or directories to be included in the archive.<\/li>\n<\/ul>\n<h3>Examples of Zip Command in Linux<\/h3>\n<p>Here are some examples of Zip Command in Linux:<\/p>\n<p><strong>1. Creating a Zip Archive:<\/strong><br \/>\nTo create a zip archive named &#8216;example.zip&#8217; containing files &#8216;file1.txt&#8217; and &#8216;file2.txt&#8217;, the command is:<\/p>\n<pre><code>zip example.zip file1.txt file2.txt<\/code><\/pre>\n<p><strong>2. Compressing a Directory:<\/strong><br \/>\nTo compress an entire directory and its contents, use the &#8216;-r&#8217; flag for recursive compression:<\/p>\n<pre><code>zip -r directory.zip \/path\/to\/directory<\/code><\/pre>\n<p><strong>3. Excluding Files:<\/strong><br \/>\nTo exclude specific files while creating an archive, use the &#8216;-x&#8217; option. In this example, we exclude all &#8216;*.log&#8217; files:<\/p>\n<pre><code>zip archive.zip * -x \"*.log\"<\/code><\/pre>\n<p><strong>4. Setting Compression Level:<\/strong><br \/>\nThe &#8216;zip&#8217; command allows users to set the compression level using the &#8216;-9&#8217; flag for maximum compression or &#8216;-1&#8217; for the fastest compression:<\/p>\n<pre><code>zip -9 archive.zip file1 file2   # Maximum compression\nzip -1 archive.zip file1 file2   # Fastest compression<\/code><\/pre>\n<p><strong>5. Viewing Archive Contents:<\/strong><br \/>\nTo list the contents of a zip archive without extracting them, use the &#8216;-l&#8217; option:<\/p>\n<pre><code>zip -l archive.zip<\/code><\/pre>\n<p><strong>6. Extracting Zip Archives:<\/strong><br \/>\nTo extract the contents of a zip archive, use the &#8216;unzip&#8217; command followed by the archive name:<\/p>\n<pre><code>unzip archive.zip<\/code><\/pre>\n<p><strong>7. Updating an Existing Archive:<\/strong><br \/>\nTo add new files to an existing zip archive or update existing ones, use the &#8216;-u&#8217; option:<\/p>\n<pre><code>zip -u archive.zip newfile.txt<\/code><\/pre>\n<p><strong>8. Encrypting Zip Archives:<\/strong><br \/>\nFor securing your archives with a password, use the &#8216;-e&#8217; option:<\/p>\n<pre><code>zip -e secure.zip file1 file2<\/code><\/pre>\n<p><strong>9. Creating a Split Archive:<\/strong><br \/>\nTo create a split archive across multiple files, use the &#8216;-s&#8217; option followed by the desired split size (e.g., 1M for 1 megabyte):<\/p>\n<pre><code>zip -s 1M -r split_archive.zip \/path\/to\/large_directory<\/code><\/pre>\n<p><strong>10. Comparing Zip Archives:<\/strong><br \/>\nTo compare the contents of two zip archives, use the &#8216;-df&#8217; option<\/p>\n<pre><code>zip -df archive1.zip archive2.zip<\/code><\/pre>\n<p><strong>Conclusion:<\/strong><br \/>\nThe &#8216;zip&#8217; command in Linux is a versatile tool for managing compressed archives. Whether you are a system administrator looking to save storage space or a user wanting to share files more efficiently, mastering the &#8216;zip&#8217; command can significantly enhance your workflow. Experiment with different options and incorporate this powerful utility into your Linux experience for seamless compression and archiving.<\/p>\n<h2>Frequently Asked Questions (FAQs) about the zip Command in Linux<\/h2>\n<p>Here are some of the FAQs related to Zip command in Linux:<\/p>\n<p><strong>1. What is the purpose of the zip command in Linux?<\/strong><br \/>\nThe zip command is used to compress and package files and directories into a single archive. It helps reduce file sizes for storage, transfer, and backup purposes.<\/p>\n<p><strong>2. How do I create a zip archive using the zip command?<\/strong><br \/>\nUse the following syntax: zip archive_name file1 file2 &#8230; fileN. Replace &quot;archive_name&quot; with your desired name and list the files to be included.<\/p>\n<p><strong>3. Can I compress entire directories with the zip command?<\/strong><br \/>\nYes, you can compress entire directories using the -r option. For example: zip -r directory.zip \/path\/to\/directory.<\/p>\n<p><strong>4. How can I set the compression level with the zip command?<\/strong><br \/>\nYou can set the compression level using options like -9 for maximum compression or -1 for the fastest compression. For example: zip -9 archive.zip file1 file2.<\/p>\n<p><strong>5. How do I view the contents of a zip archive without extracting them<\/strong>?<br \/>\nUse the -l option: zip -l archive.zip. This lists the contents of the zip archive without extracting them.<\/p>\n<p><strong>6. Can I encrypt zip archives with a password?<\/strong><br \/>\nYes, you can encrypt zip archives with a password using the -e option. For example: zip -e secure.zip file1 file2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8216;zip&#8217; command in Linux is a powerful utility that allows users to compress and package files and directories. Whether you are looking to save disk space, streamline file transfers, or create a compressed archive for backup purposes, the &#8216;zip&#8217; command provides a versatile and efficient solution. In this article, we will explore the various [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[230],"tags":[],"class_list":["post-18494","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>zip command in linux with examples<\/title>\n<meta name=\"description\" content=\"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"zip command in linux with examples\" \/>\n<meta property=\"og:description\" content=\"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-11T05:09:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-11T05:09:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"zip command in linux with examples\",\"datePublished\":\"2023-12-11T05:09:03+00:00\",\"dateModified\":\"2023-12-11T05:09:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\"},\"wordCount\":691,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\",\"name\":\"zip command in linux with examples\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\",\"datePublished\":\"2023-12-11T05:09:03+00:00\",\"dateModified\":\"2023-12-11T05:09:44+00:00\",\"description\":\"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/linux\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"zip command in linux with examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"zip command in linux with examples","description":"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.","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:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/","og_locale":"en_US","og_type":"article","og_title":"zip command in linux with examples","og_description":"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.","og_url":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-12-11T05:09:03+00:00","article_modified_time":"2023-12-11T05:09:44+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"zip command in linux with examples","datePublished":"2023-12-11T05:09:03+00:00","dateModified":"2023-12-11T05:09:44+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/"},"wordCount":691,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/","url":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/","name":"zip command in linux with examples","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg","datePublished":"2023-12-11T05:09:03+00:00","dateModified":"2023-12-11T05:09:44+00:00","description":"The zip command in Linux is a utility used for compressing and packaging files and directories into a single archive file.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1702271368659-zip%20command%20in%20linux%20with%20examples%20.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/zip-command-in-linux-with-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/prepbytes.com\/blog\/category\/linux\/"},{"@type":"ListItem","position":3,"name":"zip command in linux with examples"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=18494"}],"version-history":[{"count":2,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18494\/revisions"}],"predecessor-version":[{"id":18497,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/18494\/revisions\/18497"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=18494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=18494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=18494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}