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

learn more… | top users | synonyms

0
votes
3answers
130 views

Copy current terminal prompt to clipboard

Is there a way to copy the currently written content of the bash prompt? Say I wrote: ping www.google.com so that the lines in terminal looks like: petr@sova:~$ ping www.google.com and didn't ...
0
votes
2answers
28 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
258 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
227 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 ...
4
votes
1answer
343 views

Open terminal in current directory with tmux

I have a simple .bashrc file at the moment that allows me to always open the same terminal (reopen, actually) running tmux. The important part is shown below. The essence of this is that when you ...
1
vote
1answer
45 views

Install bashmark on ubuntu 12.04

I followed the instructions at this page: http://www.huyng.com/projects/bashmarks/ to install bashmark on ubuntu. I have not understood what the guide mean with "add source ~/.local/bin/bashmarks.sh ...
0
votes
1answer
38 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
154 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
111 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 ...
0
votes
1answer
2k 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 ...
2
votes
0answers
64 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 ...
2
votes
0answers
293 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 ...
1
vote
0answers
16 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
25 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
69 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
139 views

Specifying Python Distribution in Ubuntu 13.10 (for Continuum Anaconda Python)

I've been trying to install Python on my Ubuntu 13.10 VM. Ubuntu already comes with Python, and when I remove it with apt a lot of other apps get removed. I have installed Continuum's Anaconda ...
1
vote
0answers
71 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 ...
1
vote
0answers
941 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
135 views

How do I automatically rename the byobu window

Is there a way to automatically name my byobu windows. I think about an entry in my .bashrc or something similar that sets my tab name to $USER@$HOST.
0
votes
0answers
29 views

.desktop file with .bashrc environment

I am using IntelliJ IDEA, and it uses some of the environment variables defined in the .bashrc script. If I run its shell script from the terminal everything works fine but if I create a .desktop ...
0
votes
0answers
16 views

Problem during the usage of up and down keys for checking up and down arrows

I am facing an issue during the usage of up and down on gnome-terminal. Lets say my previous commands are vi pos_of_rightmost_setbit.cpp gcc -o harsha pos_of_rightmost_setbit.cpp At this point ...
0
votes
0answers
21 views

How can I `turn on and off` the functionality for dmesg?

I have used dmesg -c to clean the history but as I go to /var/log/. I found the file dmesg and the records in it remain. It's terrible. The wifi connection information is massive and bothering. I ...
0
votes
0answers
315 views

After exporting $PATH, commands don't work anymore

Trying installing Java, I tried to add it to the executable path with the line: export PATH=/usr/lib/jvm/jdk1.7.0_60/bin:$PATH in the system-wide /etc/bash.bashrc file. For some reason this ...
0
votes
0answers
103 views

Alias's in .bash* not working

I am trying to create an alias and it does not seem to be working. I have tried it with both .bashrc and .bash_aliases. If I open my terminal and perform source .bashrc, then they work OK. What am I ...
0
votes
0answers
87 views

How can I see environment variables defined in .profile after lauching sudo codeblocks?

I am developing code with C++ in code::blocks. Because my code needs to access mice devices I launch code::blocks with sudo as superuser in an xterm I opened first. In the code I would like to read ...
0
votes
0answers
28 views

History — workking with bash to delete current session history however not the full history

$ bash <-- entering this command, right before leaving the session have been hit and miss -- sometime deletes the session's commands sometime doesn't I do not have history -a in the .bashrc --- ...
0
votes
0answers
612 views

error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory

I am running MutSig command, its output: Setting up environment variables LD_LIBRARY_PATH is ...