{"id":60,"date":"2008-01-29T07:02:37","date_gmt":"2008-01-28T23:02:37","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/unix-10-good-habits\/"},"modified":"2008-01-29T07:02:37","modified_gmt":"2008-01-28T23:02:37","slug":"unix-10-good-habits","status":"publish","type":"post","link":"http:\/\/www.sysadmindayph.com\/blog\/unix-10-good-habits\/","title":{"rendered":"UNIX 10 Good Habits"},"content":{"rendered":"<p>Got this tips from the people at IBM.<\/p>\n<p>These tips are a must not only for System Administrators but also for all UNIX users.<\/p>\n<p>Ten good habits to adopt are:<\/p>\n<ol>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#one\">Make directory trees in a single swipe<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#two\">Change the path; do not move the archive<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#three\">Combine your commands with control operators<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#four\">Quote variables with caution<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#five\">Use escape sequences to manage long input<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#six\">Group your commands together in a list<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#seven\">Use <code>xargs<\/code> outside of <code>find<\/code><\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#eight\">Know when <code>grep<\/code> should do the counting &#8212; and when it \t\t\t\tshould step aside<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#nine\">Match certain fields in output, not just lines<\/a>.<\/li>\n<li><a href=\"http:\/\/www-128.ibm.com\/developerworks\/aix\/library\/au-badunixhabits.html?ca=lnxw01GoodUnixHabits#ten\">Stop piping <code>cat<\/code>s<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Got this tips from the people at IBM. These tips are a must not only for System Administrators but also for all UNIX users. Ten good habits to adopt are: Make directory trees in a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-tips"],"_links":{"self":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}