{"id":480,"date":"2012-07-04T16:55:11","date_gmt":"2012-07-04T08:55:11","guid":{"rendered":"http:\/\/rmohan.com\/?p=480"},"modified":"2012-07-04T16:55:11","modified_gmt":"2012-07-04T08:55:11","slug":"comfortable-environment-on-linux-shell","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=480","title":{"rendered":"Comfortable environment On Linux Shell"},"content":{"rendered":"<p><strong>Comfortable environment On Linux Shell<\/strong><\/p>\n<p>After installing new Linux or Unix system I like to edit \/etc\/profile or $HOME\/.bash_profile and add following lines:<\/p>\n<div><\/div>\n<div>alias vi=&#8221;vim -o&#8221;<\/div>\n<div>alias ll=&#8221;ls -l&#8221;<\/div>\n<div>alias la=&#8221;ls -la&#8221;<\/div>\n<div>export EDITOR=vi<\/div>\n<div><\/div>\n<div>First line is to use vim instead of vi. Second and third lines will create two aliases for ls -l and ls -la commands. And forth line is to use vi always as system editor.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Comfortable environment On Linux Shell<\/p>\n<p>After installing new Linux or Unix system I like to edit \/etc\/profile or $HOME\/.bash_profile and add following lines:<\/p>\n<p> alias vi=&#8221;vim -o&#8221; alias ll=&#8221;ls -l&#8221; alias la=&#8221;ls -la&#8221; export EDITOR=vi First line is to use vim instead of vi. Second and third lines will create two aliases for ls -l and [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/480"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=480"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/480\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}