{"id":3380,"date":"2014-09-05T14:23:45","date_gmt":"2014-09-05T14:23:45","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2014\/09\/05\/aspell-command\/"},"modified":"2022-03-31T19:28:26","modified_gmt":"2022-03-31T23:28:26","slug":"aspell-command","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/","title":{"rendered":"aspell command"},"content":{"rendered":"<p>Everyone needs a little spell checking in their routine. Even the best of us make mistakes. This article goes over the &#8216;<em>aspell<\/em>&#8216; <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/command-list\/\">Linux command<\/a> for spell checking the contents of files that you specify.<\/p>\n<p><strong>Command: <\/strong>aspell<br \/>\n<strong>Synopsis: <\/strong>aspell [options] <command><\/command>]\n<p><strong>Commands: <\/strong><\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Command<\/th>\n<th>Long Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>-?<\/td>\n<td>help<\/td>\n<td>Displays the help information.<\/td>\n<\/tr>\n<tr>\n<td>-c<\/td>\n<td>check <em>filename<\/em><\/td>\n<td>Spell checks a specific file. This is the most used purpose for the <em>aspell<\/em> command.<\/td>\n<\/tr>\n<tr>\n<td>-list<\/td>\n<td><\/td>\n<td>Displays a list of misspelled words from the command line.<\/td>\n<\/tr>\n<tr>\n<td>-v<\/td>\n<td>version<\/td>\n<td>Displays the version number.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Options: <\/strong><br \/>\nBelow are the different options that are available to customize the <strong>aspell<\/strong> command.<\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Option<\/th>\n<th>Long Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>-W<\/td>\n<td>&#8211;ignore=<em>n<\/em><\/td>\n<td>Aspell will ignore words less than or equal to <em>n<\/em> characters in length.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&#8211;ignore-case=<em>true\/false<\/em><\/td>\n<td>Sets whether to ignore case or not. It is set to <em>false<\/em> by default, meaning <em>aspell<\/em> is case sensitive.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&#8211;sug-mode=mode<\/td>\n<td>You can set between different modes: ultra, fast, normal (default), and bad-spellers<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Examples<\/h2>\n<h3>Spell checking a specific file<\/h3>\n<p>Here we give the most common base use for the <em>aspell<\/em> command. To do this, simply use the <em>-c<\/em> option and then list the file you want to check.  The example below shows how to check a file named <em>test.txt<\/em>.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">aspell -c test.txt<\/span><\/pre>\n<h3>Spell check without regard to case<\/h3>\n<p>If you want to make the spell checker case insensitive, use the following example. You can see we use the previous example and add the <em>&#8211;ignore-case=true<\/em> option.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">aspell --ignore-case=true -c test.txt<\/span><\/pre>\n<h3>Spell check but ignore smaller words<\/h3>\n<p>In this example, we do a spell check on the <em>test.txt<\/em> file but we want to ignore words of less than 7 characters in length. Again, we use the first example and simply add the <em>&#8211;ignore=7<\/em> option. You can change the number to be any length you want.<\/p>\n<pre class=\"cli\"> # <span style=\"color:red\">aspell --ignore=7 -c test.txt<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Everyone needs a little spell checking in their routine. Even the best of us make mistakes. This article goes over the &#8216;aspell&#8216; Linux command for spell checking the contents of files that you specify. Command: aspell Synopsis: aspell [options] ] Commands: Command Long Name Description -? help Displays the help information. -c check filename Spell<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4308],"tags":[],"class_list":["post-3380","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>aspell command | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This article explains how to spell check using the aspell Linux command.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"aspell command | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This article explains how to spell check using the aspell Linux command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-05T14:23:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-31T23:28:26+00:00\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"aspell command\",\"datePublished\":\"2014-09-05T14:23:45+00:00\",\"dateModified\":\"2022-03-31T23:28:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\"},\"wordCount\":292,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\",\"name\":\"aspell command | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2014-09-05T14:23:45+00:00\",\"dateModified\":\"2022-03-31T23:28:26+00:00\",\"description\":\"This article explains how to spell check using the aspell Linux command.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"aspell command\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"aspell command | InMotion Hosting","description":"This article explains how to spell check using the aspell Linux command.","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:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/","og_locale":"en_US","og_type":"article","og_title":"aspell command | InMotion Hosting","og_description":"This article explains how to spell check using the aspell Linux command.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2014-09-05T14:23:45+00:00","article_modified_time":"2022-03-31T23:28:26+00:00","author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"aspell command","datePublished":"2014-09-05T14:23:45+00:00","dateModified":"2022-03-31T23:28:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/"},"wordCount":292,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/","name":"aspell command | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2014-09-05T14:23:45+00:00","dateModified":"2022-03-31T23:28:26+00:00","description":"This article explains how to spell check using the aspell Linux command.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/aspell-command\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"aspell command"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3380"}],"version-history":[{"count":1,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":95555,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3380\/revisions\/95555"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}