{"id":7318,"date":"2019-06-07T11:24:54","date_gmt":"2019-06-07T11:24:54","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=7318"},"modified":"2020-08-13T10:59:27","modified_gmt":"2020-08-13T10:59:27","slug":"create-edit-file-via-ssh","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/","title":{"rendered":"How to Create and Edit a File via SSH?"},"content":{"rendered":"<p><strong>Watch this video for a step by step process on how to create and edit a file via SSH<\/strong><\/p>\n<div class=\"youtube-video\" style=\"border: 1px solid #ddd;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/pcu3VlydG7w\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>You can create and edit a file when logged into a MilesWeb server via SSH. This article explains the use of two text editors:<\/p>\n<p>\u2022 <strong>nano<\/strong> \u2014 Best for beginners.<br \/>\n\u2022 <strong>vim<\/strong> \u2014 Offers more features than &#8216;nano&#8217;, but also difficult to use. It is a good choice for advanced users.<\/p>\n<div class=\"kb-wisdom-wrapr kb-wisdom-info kb-wisdom-wrapr-blue\">\n<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n<div class=\"kb-wisdom-icon\">\n<div><\/div>\n<\/div><\/div>\n<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n<p><strong>Note:<\/strong> If you don\u2019t want to edit files in a terminal, you can check the below article:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/create-and-edit-a-file-via-ftp\/\" target=\"_blank\" rel=\"noopener\"><strong>How to Create and Edit a File via FTP?<\/strong><\/a><\/p>\n<\/p><\/div>\n<\/div>\n<h3>Create and Edit a File Using \u2018nano\u2019<\/h3>\n<p>&#8216;nano&#8217; is the best choice for newbies as it is easier to use than &#8216;vim&#8217;. Check the steps below to create and edit a file using &#8216;nano&#8217;.<\/p>\n<p>1. Log into your server using <strong>SSH<\/strong>.<\/p>\n<p>2. Go to the directory location where you want to create the file, or edit an existing file.<\/p>\n<p>3. Type nano along with the name of the file. For example, if you want to create (or edit) a new file named as <strong>index.html<\/strong>, run the following:<\/p>\n<pre class=\"lang:default decode:true \">[server]$ nano index.html<\/pre>\n<p>You will see a new file open with the name index.html as below:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7319\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\" alt=\"\" width=\"780\" height=\"466\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png 780w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min-300x179.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min-768x459.png 768w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/a><\/p>\n<p>4. Now, you can type your data into the file.<\/p>\n<p>5. After you complete typing the data, save the file and hold down the <strong>Ctrl<\/strong> key and press the letter <strong>&#8216;O&#8217; (Ctrl + O)<\/strong>.<\/p>\n<p>You will be prompted to confirm the file name that is already set as <strong>\u2018index.html\u2019<\/strong> as below:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_02-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7320\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_02-min.png\" alt=\"\" width=\"827\" height=\"470\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_02-min.png 827w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_02-min-300x170.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_02-min-768x436.png 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/a><\/p>\n<p>6. Next, click the<strong> &#8216;Enter&#8217;<\/strong> key on your keyboard for saving the file.<\/p>\n<p>7. Then, click <strong>Ctrl + X<\/strong> to close <strong>&#8216;nano&#8217;<\/strong> and go back to your shell.<\/p>\n<h3>Create and Edit a File Using &#8216;vim&#8217;<\/h3>\n<p>1. Log into your server using SSH.<\/p>\n<p>2. Go to the directory location where you want to create the file, or edit an existing file.<\/p>\n<p>3. Type in vim along with the name of the file. For example, if you want to create (or edit) a new file named as test.html, run the following:<\/p>\n<pre class=\"lang:default decode:true \">[server]$ vim test.html<\/pre>\n<p>The <strong>&#8216;vim&#8217;<\/strong> editor will get displayed which might seem to be confusing at first as you won\u2019t be able to type into the file yet:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_01-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7321\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_01-min.png\" alt=\"\" width=\"331\" height=\"355\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_01-min.png 331w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_01-min-280x300.png 280w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/a><\/p>\n<p>4. On the keyboard, click the letter <strong>&#8216;i&#8217;<\/strong> to enter <strong>INSERT<\/strong> mode in<strong> &#8216;vim&#8217;<\/strong>.<\/p>\n<p>You will now see <strong>&#8212; INSERT &#8212;<\/strong> on the bottom left:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_02-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7322\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_02-min.png\" alt=\"\" width=\"282\" height=\"352\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_02-min.png 282w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_02-min-240x300.png 240w\" sizes=\"auto, (max-width: 282px) 100vw, 282px\" \/><\/a><\/p>\n<p>5. Type the data into the file now.<\/p>\n<p>6. After you are done with editing the file, click the <strong>ESC<\/strong> key. You will be taken out of <strong>INSERT<\/strong> mode and<strong> &#8212; INSERT &#8212;<\/strong>\u00a0will get disappeared from the bottom left of your terminal.<\/p>\n<p>7. Save the file by typing in a colon followed by <strong>wq<\/strong> as below:<\/p>\n<pre class=\"lang:default decode:true \">:wq<\/pre>\n<p>You will see <strong>:wq<\/strong> appeared on the bottom left:<\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_03-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7323\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_03-min.png\" alt=\"\" width=\"264\" height=\"353\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_03-min.png 264w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/vim_03-min-224x300.png 224w\" sizes=\"auto, (max-width: 264px) 100vw, 264px\" \/><\/a><\/p>\n<p>8. Now, on your keyboard click the <strong>&#8216;Enter&#8217;<\/strong> key to save.<\/p>\n<h3>Changing the Name of a File<\/h3>\n<p>If you wish to change the name of a file, use the <strong>mv<\/strong> command. For example, a file named <strong>&#8216;file1.txt&#8217;<\/strong> changes to <strong>&#8216;file2.txt&#8217;<\/strong>.<\/p>\n<pre class=\"lang:default decode:true \">[server]$ mv file1.txt file2.txt<\/pre>\n<p>That&#8217;s it! You can now create and edit a file via SSH.<\/p>\n<p><script type=\"application\/ld+json\">{\n  \"@context\": \"http:\/\/schema.org\",\n  \"@type\": \"VideoObject\",\n  \"name\": \"How to Create and Edit a File via SSH? | MilesWeb\",\n  \"description\": \"Watch this video to learn how to create new and modify existing files via SSH. In this video, we have shown how to create new and modify existing files via nano and vim.  Here's an in-depth guide on how to create an FTP account in your cPanel: https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/  Give a thumbs up ?? if you liked this video.  Subscribe to our channel and get notified for all the latest videos. To know more about web hosting visit our website- https:\/\/www.milesweb.in\",\n  \"thumbnailUrl\": \"https:\/\/i.ytimg.com\/vi\/pcu3VlydG7w\/default.jpg\",\n  \"uploadDate\": \"2020-04-04T05:47:01Z\",\n  \"duration\": \"PT4M43S\",\n  \"embedUrl\": \"https:\/\/www.youtube.com\/embed\/pcu3VlydG7w\",\n  \"interactionCount\": \"164\"\n}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Watch this video for a step by step process on how to create and edit a file via SSH You can create and edit a file when logged into a MilesWeb server via SSH. This article explains the use of two text editors: \u2022 nano \u2014 Best for beginners. \u2022 vim \u2014 Offers more features [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[764,766,765],"class_list":["post-7318","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-web-hosting-faq","tag-create-and-edit-file-via-ssh","tag-edit-file-via-ssh","tag-ssh-file-creation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn How to Create and Edit a File Via SSH with &#039;nano&#039; and &#039;vim&#039;<\/title>\n<meta name=\"description\" content=\"The article reveals steps to create and edit a file via SSH by using the &#039;nano&#039; and &#039;vim&#039; commands. It also decribes the steps to change the file name.\" \/>\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.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn How to Create and Edit a File Via SSH with &#039;nano&#039; and &#039;vim&#039;\" \/>\n<meta property=\"og:description\" content=\"The article reveals steps to create and edit a file via SSH by using the &#039;nano&#039; and &#039;vim&#039; commands. It also decribes the steps to change the file name.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-07T11:24:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-13T10:59:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\"},\"author\":{\"name\":\"Pallavi Godse\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"headline\":\"How to Create and Edit a File via SSH?\",\"datePublished\":\"2019-06-07T11:24:54+00:00\",\"dateModified\":\"2020-08-13T10:59:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\"},\"wordCount\":501,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\",\"keywords\":[\"create and edit file via ssh\",\"edit file via ssh\",\"ssh file creation\"],\"articleSection\":[\"Web Hosting FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\",\"name\":\"Learn How to Create and Edit a File Via SSH with 'nano' and 'vim'\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\",\"datePublished\":\"2019-06-07T11:24:54+00:00\",\"dateModified\":\"2020-08-13T10:59:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"The article reveals steps to create and edit a file via SSH by using the 'nano' and 'vim' commands. It also decribes the steps to change the file name.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create and Edit a File via SSH?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn How to Create and Edit a File Via SSH with 'nano' and 'vim'","description":"The article reveals steps to create and edit a file via SSH by using the 'nano' and 'vim' commands. It also decribes the steps to change the file name.","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.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/","og_locale":"en_US","og_type":"article","og_title":"Learn How to Create and Edit a File Via SSH with 'nano' and 'vim'","og_description":"The article reveals steps to create and edit a file via SSH by using the 'nano' and 'vim' commands. It also decribes the steps to change the file name.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-06-07T11:24:54+00:00","article_modified_time":"2020-08-13T10:59:27+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png","type":"","width":"","height":""}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/"},"author":{"name":"Pallavi Godse","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"headline":"How to Create and Edit a File via SSH?","datePublished":"2019-06-07T11:24:54+00:00","dateModified":"2020-08-13T10:59:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/"},"wordCount":501,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png","keywords":["create and edit file via ssh","edit file via ssh","ssh file creation"],"articleSection":["Web Hosting FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/","name":"Learn How to Create and Edit a File Via SSH with 'nano' and 'vim'","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png","datePublished":"2019-06-07T11:24:54+00:00","dateModified":"2020-08-13T10:59:27+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"The article reveals steps to create and edit a file via SSH by using the 'nano' and 'vim' commands. It also decribes the steps to change the file name.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/06\/nano_01-min.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-edit-file-via-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Create and Edit a File via SSH?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/pallavi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=7318"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7318\/revisions"}],"predecessor-version":[{"id":10085,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7318\/revisions\/10085"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=7318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=7318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=7318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}