Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-05-2012, 01:55 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 5

Rep: Reputation: Disabled
How to use my /home/kangjoo/.bashrc rather than root/.bashrc

I want to run a software but there's an error telling me as following:

/bin/bash: /root/.bashrc: Permission denied

How can I change the default mode to use /home/kangjoo/.bashrc not using the one in root?
Old 11-05-2012, 02:55 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
What is the software? How are you trying to execute it (from the CLI, I'm presuming)? Are you trying to execute it as root or you non-privileged user? Did you install it system-wide, locally, etc?
Old 11-05-2012, 03:38 PM   #3
LQ Newbie
Registered: Nov 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I'm running a pipeline (batchscript) in NIAK (neuro-imaging software) on Matlab.
I logged in the computer system with my user ID and this system is connected to many computer machines in our building.
The matlab code in NIAK is executed in parallel components in the pipeline.
The error message was shown in the MATLAB window.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not able to call .bashrc in my home login wagmare Linux - Newbie 9 04-10-2012 01:24 AM
.bashrc / .bash_profile /etc/profile /etc/bashrc deadeyes Red Hat 2 02-13-2010 11:22 AM
bashrc and root fluxism Linux - Newbie 9 06-16-2009 09:11 AM
create a variable in the .bashrc file in my home directory coldbeerz Linux - Newbie 2 12-14-2007 09:48 AM
Setting path: /etc/profile, /etc/bashrc or ~/.bashrc Swakoo Linux - General 1 08-07-2007 10:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration