Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using bash as my default shell. I don't have root access. But I would like to customize my bash by setarch. So the question is how to do this automatically?

Currently, I have to manually run "setarch ... /bin/bash" when I want to use thecustomized bash. Is there a way that this setarch is always automatically done for all my bash sessions?

share|improve this question

migrated from stackoverflow.com Jan 26 '13 at 14:18

This question came from our site for professional and enthusiast programmers.

try to change ~/.bashrc or change the files set the arch on the /etc/rc.d directory.

check it out:

An introduction to services, runlevels, and rc.d scripts

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.