{"id":1934,"date":"2012-09-26T07:04:12","date_gmt":"2012-09-26T07:04:12","guid":{"rendered":"http:\/\/www.serverslot.com\/?p=1934"},"modified":"2013-01-23T17:41:21","modified_gmt":"2013-01-23T17:41:21","slug":"how-to-view-or-edit-files-in-linux-through-command-line-putty","status":"publish","type":"post","link":"https:\/\/serverslot.com\/hosting-issues\/how-to-view-or-edit-files-in-linux-through-command-line-putty\/","title":{"rendered":"How to view or edit files in Linux through Command Line Putty"},"content":{"rendered":"<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>You can manage your Linux systems files through command line, you may edit them through command and you may also view them.<\/p>\n<p>If you want to View what is written inside your Linux file system, yes you can do through below given command.<\/p>\n<p><span style=\"color: #000000;\"><strong>cat \/directory\/sub-directory\/file.extension<\/strong><\/span> Like if you want to view <span style=\"color: #ff0000;\">my.cnf<\/span> file you may check using this command<\/p>\n<p><span style=\"color: #000000;\"><strong>cat \/etc\/mysql\/my.cnf<\/strong><\/span><\/p>\n<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>Above Command is just for the purpose of view what is\u00a0written\u00a0inside a file but if you want to edit that file or want to insert or delete something from that Linux file you may use below given commands.<\/p>\n<p><span style=\"color: #000000;\"><strong>nano \/directory\/sub-directory\/file.extension<\/strong><\/span><br \/>\n<span style=\"color: #000000;\"> <strong>OR<\/strong><\/span><br \/>\n<span style=\"color: #000000;\"> <strong>pico \/directory\/sub-directory\/file.extension<\/strong><\/span><\/p>\n<p><strong><\/strong><br \/>\nLike if you want to edit your <span style=\"color: #ff0000;\">my.cnf<\/span> file you may use this command as<span style=\"color: #000000;\"><strong> pico \/etc\/mysql\/my.cnf OR nano \/etc\/mysql\/my.cnf<\/strong><\/span><\/p>\n<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><br \/>\nHope you will successfully view, edit, delete or insert anything within a file of Linux server system through above given commands.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can manage your Linux systems files through command line, you may edit them through command and you may also view them. If you want \u2026 <a href=\"https:\/\/serverslot.com\/hosting-issues\/how-to-view-or-edit-files-in-linux-through-command-line-putty\/\">more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1934"}],"collection":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/comments?post=1934"}],"version-history":[{"count":0,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1934\/revisions"}],"wp:attachment":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/media?parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/categories?post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/tags?post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}