Hi. I am new to mini2440 kit...when i am trying to build a native tool chain required for mini2440, i am unable to open "/root/.bashrc" file to set the path.. I am using Linux-mint in my host system, while i am building the native tool chain i did the following steps.. 1. I have downloaded "arm-linux-gcc-4.3.2.tgz" file. 2. I have extracted it by using the command "tar xvzf arm-linux-gcc- 4.3.2.tgz -C /" 3. After second step i am able to find "4.3.2" directory in "/usr/local/arm" but when i am trying to open /root/.bashrc file by typing the command "gedit /root/.bashrc" i am unable to open it....i am getting a warning as "could not connect to session bus".. i tried to open "/root/.bashrc" file as a super user as well as normal user...but in both ways i couldnt open the file to set the path.. can any one please tell me what is the problem and how to rectify it to proceed to further step Thank you
Unable to open /root/.bashrc file
@Diep Yes i tried...but still i could'nt... Even when i typed the command "ls" from my root directory, i am unable to find out the .bashrc file in it (I mean its not visible to me).... and i created my own file with name "nuv.c" by using the command "vim nuv.c"...but when i tried to open these file with gedit by typing "gedit nuv.c" still iam getting the same error what i got in case of .bashrc
ls -la for file like .bashrc (hidden file) Have you got gedit on your system? What do you get with: find -name .bashrc -print
.bashrc file is a hidden file.If you want to see it.You need to go HOME and press Ctrl+H (->to show hidden file )
@davef still i am unable to find my .bashrc file by using "ls -la", either in root directory or home directory... i have my gedit....with gedit i am able to open files as a normal user but i am unable to open files as a super user. when i am trying to open a file using gedit (as a super user).... i am getting a warning as follows. (gedit:2443):EggSMClient-WARNING**:Failed to connect to the session manager:None of the authentication protocols specified are supported **(gedit:2443):WARNING**:could not connect to session bus. @davef what is the use with "find -name .bashrc -print" @Diep even in HOME, i didnt find my .bashrc file (i tried with Ctrl+H) since i am unable to find the file itself..i cannt look an alternative for gedit to open the file... Is it problem with LINUX MINT..can anyone please why i am unable to find my .bashrc file..
> what is the use with "find -name .bashrc -print" If you cd / and put the following in the command line: find -name .bashrc -print I get: ./home/davef/.bashrc If I start in my home directory and put the following in the command line: find -name .bashrc -print I get: ./.baschrc Then you know which directory it is located in. I think .bashrc normally lives in your home directory. Placing: EggSMClient-WARNING**:Failed to connect to the session manager:None of the authentication protocols specified are supported in Google gives 39,000 hits are none of them useful?
hi.. Just now i found that, not all versions of linux provide .bashrc file by default...some versions may not...In such a cases we have to create .bashrc file on our own.... so, now can any one tell me what aliases or functions i have to copy in my .bashrc file after i creating it.
1)first, we are able to login with bash prompt. export PS1='[\u@\h \W]\$ ‘ 1)after giving the above command.we are not able to login with #prompt. in CentOS release 5.10 linux server. 2) not able to find the bashrc file