{"id":188,"date":"2011-11-08T23:30:51","date_gmt":"2011-11-08T23:30:51","guid":{"rendered":"http:\/\/choudhury.com\/blog\/?p=188"},"modified":"2011-11-08T23:30:51","modified_gmt":"2011-11-08T23:30:51","slug":"changing-the-default-shell-for-your-login","status":"publish","type":"post","link":"https:\/\/choudhury.com\/blog\/2011\/11\/08\/changing-the-default-shell-for-your-login\/","title":{"rendered":"Changing the default shell for your login"},"content":{"rendered":"<p>Useful tip if you want to change the default for your login. E.g. if your default shell is csh and you want to change to be bash instead<\/p>\n<p>You can find out your default shell by the command<\/p>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"bash codecolorer\"><span class=\"kw2\">ps<\/span> <span class=\"re5\">-p<\/span> <span class=\"re4\">$$<\/span><\/div><\/div>\n<p>On your home folder, edit the file <strong>.login<\/strong> with the following:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">exec bash<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Useful tip if you want to change the default for your login. E.g. if your default shell is csh and you want to change to be bash instead You can find out your default shell by the command ps -p $$ On your home folder, edit the file .login with the following: exec bash<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":5,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}