{"id":915,"date":"2018-10-19T05:31:44","date_gmt":"2018-10-19T05:31:44","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=915"},"modified":"2018-10-22T22:58:32","modified_gmt":"2018-10-22T22:58:32","slug":"a-look-at-fundamental-linux-sed-commands-linux-com","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/19\/a-look-at-fundamental-linux-sed-commands-linux-com\/","title":{"rendered":"A Look at Fundamental Linux sed Commands | Linux.com"},"content":{"rendered":"<p>Linux administrators who want to modify files without overwriting the original have many options, but one of the most efficient tools is the stream editor &#8212; or sed.<\/p>\n<p>The stream editor is a default part of most <a href=\"https:\/\/searchdatacenter.techtarget.com\/definition\/Linux-distros-Linux-distribution\">Linux distributions<\/a>. It enables you to perform text file manipulations in the operating system with Linux sed commands.<\/p>\n<p>Like most Linux applications, sed can process piped input, which makes it an effective scripting tool. You can use it as a basic find-and-replace tool, as in the example command below, which looks for the occurrences of one and replaces it with two. The command is closed with a \/g.<\/p>\n<p><a href=\"https:\/\/www.linux.com\/blog\/look-fundamental-linux-sed-commands\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux administrators who want to modify files without overwriting the original have many options, but one of the most efficient tools is the stream editor &#8212; or sed. The stream editor is a default part of most Linux distributions. It enables you to perform text file manipulations in the operating system with Linux sed commands. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/19\/a-look-at-fundamental-linux-sed-commands-linux-com\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A Look at Fundamental Linux sed Commands | Linux.com&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-915","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=915"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/915\/revisions"}],"predecessor-version":[{"id":1201,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/915\/revisions\/1201"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}