.bashrc is the Bash shell configuration file for a user's terminal login session.

learn more… | top users | synonyms

0
votes
4answers
901 views

Shouldnt .bashrc run every time I log in?

Newish to Ubuntu so forgive if I word things oddly... All I really want to do is have my ls command changed to ls --color=always -ragX Got that solved... Alias will do nicely. Now, to have that run ...
1
vote
2answers
2k views

how do I enable ccache

I am completely noob at this, i don't know what the make file is, and I don't know what bashrc is. but i do know where to download source code and use source somebash.sh then make file (as was told ...
0
votes
2answers
62 views

javapath is not showing

I installed Java, but I don't get the Java path when I am typing echo $JAVA_HOME, and also I am getting the following error message when I open a terminal bash: /home/ramesh/.bashrc: line 128: syntax ...
0
votes
2answers
514 views

unable to type commands in terminal

I was install mpi and I have given the path for it in the .bashrc and I closed my terminal and after some time again I opened terminal it's showing following error in the very first line followed by ...
2
votes
1answer
49 views

Installation of software fail

now show this bash: /home/jonathan/.bashrc: línea 168: error sintáctico cerca del elemento inesperado `export' bash: /home/jonathan/.bashrc: línea 168: `esac export PATH=$HOME/xdman:$PATH' This is ...
2
votes
1answer
850 views

How to change my home directory?

I have a current /home/user/ directory for ~ but I want to change it to be at /user/home/ /user/home already exists. The option of using usermod is not going to work because I don't have access to ...
1
vote
1answer
251 views

Terminal not displaying UTF-8 character(s)

I have changed my bash prompt in "~/.bashrc" and have verified my character encoding is set to UTF-8. I am using the monospace font and Ubuntu 14.04. Here is my "~/.basrc": ...
1
vote
1answer
162 views

.bashrc and fortune/cowsay

I'm using Xubuntu 14.04 with XFCE (of course). I just added a line to ~/.bashrc: fortune | cowsay -f tux And everything is fine, when I open a terminal, cowsay runs with a fortune quote. Except one ...
1
vote
1answer
3k views

why is source command not being run in .bashrc

I have a source command which i have to manually run every time I open a new terminal. source /opt/ros/groovy/setup.bash Thus I added the command into the .bashrc file. However the does not seem to ...
0
votes
1answer
29 views

Are you sure you want to proceed? on login after editing .bashrc

Why am I being asked Are you sure you want to proceed? on login? I just edited .bashrc and added below given line in it. gnome-terminal -e "sudo -i mount -a" Thanks in advance,
0
votes
1answer
19 views

How do i change my locale safely?

1) How do I check which locales are supported on my system? 2) How do I change my locale safely? 3) What are some of the side-effects of doing this? Reason I'm asking these questions is because I ...
0
votes
1answer
36 views

as per u r suggestion i wrote ~/.bashrc ~/.profile result came like below typed but i could not loging to my accout help me

Ubuntu 12.04.5 LTS komitla-lakdikapool tty1 komitla-lakdikapool login:komitla Password: Last login: Sep 26 08.48.46 IST 2015 on tty1 Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-09-generic-pac i686) ...
0
votes
1answer
284 views

arm linux gcc compiling.. exported path in .bashrc doesn't work with sudo but it works with su

I'm a 1 week long linux user. I've added export PATH=$PATH:/opt/FriendlyARM/toolschain/4.5.1/bin to .bashrc for friendlyarm project and it works nice. The arm-linux-gcc -v command shows me ...
0
votes
1answer
68 views

Unable to login to my account using terminal

I was trying to add some lines to the end of .bashrc file by following instructions to install rvm on Ubuntu 12.04 , now when i am putting in password after doing a sudo su the terminal freezes . ...
0
votes
1answer
292 views

Ubuntu terminal not exporting environment variable from .bashrc

i tried following(read from stack exchange): added "export OSTYPE=linux" in .profile but even then it shows "echo $OSTYPE" as linux-gnu
0
votes
1answer
478 views

How do I automatically change to a specific folder on login for an account with no home folder?

Typically I would create a user account and in the home folder, place the cd command in the ~/.bashrc file. For system users, however, with on home folders, the /etc/bash.bashrc file is used instead ...
3
votes
0answers
114 views

After editing root .bashrc Unable to login even with tty1-6 and drop to prompt command from recovery mod

I have had the worse two weeks started with Ubuntu 12.04 , and updating to 14.04 had problem , just after a good luck of successfully installing brand new ubuntu 14.04 I now got the nightmare again ...
3
votes
0answers
529 views

Virtualenv permission denied

After a lot of struggle with virtualenv/virtualenvwrapper I decided to remove all virtualenvs and re-install the packages. root> su myuser myuser> sudo pip install virtualenv myuser> sudo ...
2
votes
0answers
280 views

Why is neither /root/.bashrc nor /root/.profile executed after sudo -i?

I have export PATH="$PATH:/opt/local/bin" in /root/.bashrc and /root/.profile (nothing else in /root/.profile) and /bin/bash is the login shell for root in /etc/passwd. Yet invoking sudo -i (which ...
2
votes
0answers
1k views

Ubuntu got no .bash_login, .bash_profile

I'm new to Ubuntu and currently on it for assignment I need to run source ~/.bashrc at the first start of Ubuntu to enably my alias at the starting of the program. I've checked that I need to ...
1
vote
0answers
54 views

Terminal colors don't show

So, have the following in my ~/.bashrc to display my git branch if one exists (works). When I save the file and run source ~/.bashrc, the colors don't show up. All I have is a white on black terminal ...
1
vote
0answers
27 views

What is the difference between pre- and post- pathing

I was trying to add some directory to my path today. So far I used to do it using export PATH=/home/username/.../.../bin, then a colleague suggested adding :$PATH in the end of the line. I read some ...
1
vote
0answers
39 views

Weird problem: can not connect network until a terminal is opened in Live system

Live system based on ubuntu server 12.04.2 with manual installed X and openbox. startx is in a shell script which is called in /etc/rc.local with su -l root -c /scriptsFolder/script.sh A program is ...
1
vote
0answers
177 views

enabling ccache in ubuntu for android development

http://source.android.com/source/initializing.html#choosing-a-branch following the instruction, I installed ccache and edited .bashrc with export USE_CCACHE=1 but when I start a build, and typed ...
1
vote
0answers
88 views

Login errors in .bashrc in 13.04

I just upgraded to 13.04, and suddenly I get xsession errors in my .bashrc on login. There is nothing wrong with the .bashrc file--I can source it from a terminal login, and after I get into the ...
0
votes
0answers
39 views

Change ls colors only in home directory not in mounted disk

I try change color of Dir in ls so i add this into my .bashrc: alias ls='ls --color=auto LS_COLORS=$LS_COLORS:'di=1;33:' export LS_COLORS and it works. But when i'm in my mounted disk it does not ...
0
votes
0answers
33 views

Bash autocompletion

.bashrc is sourcing : . /usr/share/bash-completion/bash_completion which has _completion_loader() function for loading: /usr/share/bash-completion/completions folder but its not working in 15.10 ...
0
votes
0answers
48 views

Spelling mistake in ~/.bashrc

I am a newbie and I wanted actually install MeanJS but then I made the following mistake. I wanted to paste this in the terminal: echo 'export PATH=$HOME/.node/bin:$PATH' >> ~/.bashrc But ...
0
votes
0answers
345 views

ifort: command not found

I have downloaded and installed Intel Parallel_Studio_xe_2016_update1 After that I have edited my bashrc and compiled two programs.After closing the terminal,I have tried to compile again and then I ...
0
votes
0answers
42 views

gem5- swig edition

I tried to install gem5 sudo apt-get install mercurial scons swig gcc m4 python python-dev libgoogle-perftools-dev g++ zlib1g-dev protobuf-compiler libprotobuf-dev echo "export ...
0
votes
0answers
47 views

Why isn't my ls not changing colors?

For some reason I can't change the colors of the following file extensions. Here is what I added to the end of my ~/.bashrc file: alias ls-"ls --color=auto" LS_COLORS=$LS_COLORS:"*.pl=32:*.lua=35;41" ...
0
votes
0answers
27 views

Why does Terminal not start in “interactive” mode when I click the icon?

Also, is there a way to make that the default behavior? I know it is nit because I have echo statements in my .bashrc and .bash_profile to indicate which is being run and only .bashrc is.
0
votes
0answers
34 views

Can't log in the system after modifying .bashrc

I was trying to configure the Nvidia graphics drivers on Ubuntu 14.04 for CUDA development. I followed the instructions here and added the following to the bottom of my ~/.bashrc: # add cuda ...
0
votes
0answers
64 views

how to add opened filename to the title bar of a terminal?

I have tried hard googling changing the default display of the title bar of the Terminal by adding the following into my .bashrc file PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" ...