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

learn more… | top users | synonyms

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
44 views

How to set bashrc shell environment

I would like to add _ENV to my bash so once I ssh to the server it shows something like this: [live][root@server ~]# or [dev][root@server ~]# How can I do this? I have been looking everywhere ...
1
vote
2answers
170 views

After being root, the custom .bashrc file no longer runs?

I modified my .bashrc file to customize my terminal. I modified the else PS1 statement to the one I needed and it works fine but when I login as root it switched back to the one it originally had. How ...
1
vote
0answers
68 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 ...
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 ...
-1
votes
4answers
240 views

what is bashrc and why do I need to put dot infront of some executable in order to execute it? [closed]

what is bashrc I know files/folders with dot meaning they are hidden, but why do I need to put dot to execute the green files Coming from MS Dos, Linux seems to be very difficult to learn, where can ...
2
votes
1answer
570 views

creating a bash alias name that contains an =

I am trying to set up a ~/.bash_aliases that worked in 12.04 but now bash complains about the = sign. alias emacs = 'emacsclient -c -a --socket-name=server --alternate-editor=' How can I set this ...
7
votes
1answer
432 views

Sequence of scripts sourced upon login

I would like to concentrate all my login config in my ~/.bash_profile. There was a ~/.bashrc there by default but I replaced it with a ~/.bash_profile. However, when I log in, something before my ...
3
votes
2answers
2k views

I messed the file bash.bashrc ubuntu 14.04

Trying to install java jre, I messed up the file bash.bashrc on Ubuntu 14.04, by adding these two lines at the end : export PATH= $PATH:usr/java/bin/ ; export JAVA_HOME= ...
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
2answers
959 views

Adding JAVA_HOME (JDK) in .bashrc

I just installed Ubuntu and am Java 7u55 (JDK) and am trying to configure JAVA_HOME as an environment variable. In ~/.bashrc I added: # Exports JAVA_HOME=/home/myuser/sandbox/java/7u55/jdk1.7.0_55 ...
0
votes
1answer
62 views

Changing .bashrc to allow a call to “android” from any directory

I can successfully do the following command in the directory listed kn@MrComp:~/.android_os/adt-bundle-linux/sdk/tools$ android list targets Available Android targets: ---------- id: 1 or ...
0
votes
1answer
40 views

How to edit displayed bash name [duplicate]

I've done some googling, and looking around this stack overflow, but this one seems to elude me. How might I reduce/edit the displayed bash name on the terminal prompt? I.E. This: ...
-1
votes
1answer
1k views

Environment Variables and .bashrc [closed]

I need Help in this: that is how to do this Edit the setting file of the user. In our case it should be in the root directory of the user and the name is .bashrc or .bash_profile 2.- Add the ...
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 . ...
2
votes
2answers
127 views

How do I create an alias that displays the contents of a `history list`?

How do I create a new alias command called cet103demo which displays the contents of the bash history list one page at a time, and also making sure the new alias is automatically loaded when the ...
0
votes
1answer
95 views

Can't see the Username and hostname in terminal

While I'm Opening a New Terminal i Used to get like this before sysadmin@system99:~$ But now i get like this below -bash-4.2$ Seems .bashrc issue, so what i copied bashrc from cp /etc/skel/* ...
1
vote
3answers
2k views

Add a binary to my path

I have an executable. I want to execute the executable in terminal with name only like other commands. I can put my executable in /usr/local/bin or I could add its PATH to ~/.bashrc. Both will work. ...
0
votes
1answer
110 views

In .bashrc how to use the output of “uname -m” as path (I get error: “uname: No such file or directory”)?

In my $HOME/.bashrc I defined the following variable: ARCH="uname -m" Calling from the terminal: $ARCH I'd like to get: x86_64 and I get as I'd like: x86_64 But calling: local/$ARCH I'd ...
0
votes
1answer
122 views

Throwing error message when opening terminal

I'm new on Ubuntu and ROS. I installed two different distro. (groovy and hydro). When I open the terminal I take this error. bash: /opt/ros/groovy/setup.bash: No such file or directory I remove ...
0
votes
2answers
226 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 ...
1
vote
1answer
195 views

howto link / execute / add to $PATH: python3.3.5 after manual installation in 12.04 LTS

I'm trying to install python3.3.5 on /home/myUser/XX, where home is located on a separate partition. I'm relatively new to Linux and have only basic knowledge about installing packages on my own, ...
0
votes
0answers
611 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 ...
1
vote
1answer
58 views

Cannot seem to get bash history along with others working

This is very similar to all the other questions out there but at the same time not. I am running Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-59-generic x86_64) to be precise. I successfully setup a new user ...
2
votes
1answer
146 views

bashrc shortcuts in Tmux

I have sets many shortcuts in .bashrc profile of local user, and they work properly. Currently on my 12.04 system but when ever I tried to used them in tmux, I always get the same response command not ...
10
votes
2answers
991 views

Why does Ubuntu's default ~/.profile source ~/.bashrc?

These are the contents of the stock ~/.profile that came with my 13.10 (commented lines removed): if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi ...
1
vote
1answer
2k views

nvcc not found, but only when using sudo

I can't get ANYTHING working on linux. I'm trying to compile CudaMiner. sudo make: ypt-jane.o `test -f 'scrypt-jane.cpp' || echo './'`scrypt-jane.cpp mv -f .deps/cudaminer-scrypt-jane.Tpo ...
3
votes
1answer
221 views

Why doesn't the xbacklight command work in rc.local?

When I execute the command xbacklight -set 10 in my terminal the brightness is set to 0.1 as it should. But when I use this command in my rc.local-file, then it is not executed upon start -- because ...
0
votes
1answer
260 views

.bachrc $PATH doesn't find my python scripts

I've tried adding a path to my .bashrc file as follows export PATH=/beda/users/home/user252083/bin:$PATH and yes, I can then run the binary "bader", which is in the bin folder from anywhere. I also ...
0
votes
2answers
66 views

Where can I put commands that I want to run for all interactive, non-login shells?

Normally, in bash, the answer would be ~/.bashrc or /etc/bash.bashrc. But unfortunately Ubuntu is sourcing these files from ~/.profile and /etc/profile respectively. So, where should I put such ...
3
votes
1answer
35 views

Keeping “info” lines visible after quitting “info”?

I have: export MANPAGER="/usr/bin/less -r -X -is" as the last line in ~/.bashrc. This allows me to keep most of a man page visible on screen after exiting man. I want to do the same when I view ...
1
vote
1answer
47 views

The .bashrc file changed back after reload it

I changed the .bashrc file and run source ~/. bashrc it changes back to the old one. Why?
0
votes
2answers
235 views

Access and edit .bashrc via ssh on terminal

I try to access .bashrc by typing ~/.bashrc on my terminal. I am connecting to a remote server via ssh. I get an access denied message. I have no problems logging in, just the access denied message ...
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
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 ...
1
vote
1answer
33 views

“NS=: ” in terminal profile when source .bashrc

I don't know what have I done in my Ubuntu 12.04. But whenever I igarcia@dulx0004:~$ source .bashrc I get the following [NS=:]igarcia@dulx0004:~$ What is going on?
1
vote
1answer
268 views

ADT Bundle .bashrc $PATH not working

I Installed the ADT bundle, worked fine the first go, even from a Gnome custom launcher. Didn't test ADB or FASTBOOT from CL, subsequently neither nor ADT is working. echo "$PATH" /usr/local/sbin: ...
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 ...
0
votes
2answers
62 views

Virtual console not reading ~/.bashrc

I'm using Ubuntu 13.04, and have set up some custom functions in ~/.bashrc. The custom functions work fine when I open a terminal within the GNOME environment. When I switch over to a virtual ...
1
vote
2answers
393 views

No files in /etc/skel/ ; Can't restore .bashrc

I recently messed up my .bashrc file, which I mentioned in this question: Problem with installing Android developer files on Eclipse - messed up something with .bashrc, and I can't find a way to ...
5
votes
1answer
2k views

Restore .bashrc to its default?

I've been trying to install Android developer tools on Eclipse, and I followed the information in this video: http://www.youtube.com/watch?v=-qk9c-Ug2UI&list=PLQOohAn5nxx43fqFugU6dIwSQNbvXdgi5 . ...
0
votes
1answer
445 views

bash: /home/gaja/.bashrc: line 4: syntax error near unexpected token `('

When I open the Terminal I got the following the errors. bash: /home/gaja/.bashrccu: No such file or directory bash: /home/gaja/.bashrc: line 4: syntax error near unexpected token (' bash: ...
1
vote
1answer
152 views

.bashrc not working after restart

I can't figure out what's wrong with my PC! I'm quite new to Ubuntu. I need to add android tools to the PATH variable so I add the following lines to .bashrc file: PATH=${PATH}:/home/user/Program\ ...
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 ...
0
votes
2answers
250 views

Problems with sudo inside shell script

I want to make a shell script to run VI with sudo if I try to edit a file that I don't have write permissions and for that I created an alias alias vi=my_script.sh #!/bin/bash file=$1 ...
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
2answers
1k views

My terminal shows only a blank screen--How can it?

I recently installed Ubuntu 13.10. in the process of editing bash.bashrc file something went wrong and all of a sudden all i'm getting when I open my terminal is a blank screen. No directory names or ...
1
vote
1answer
358 views

how to make ps1 display full path name

using ubuntu 12.04.3, i've modified my PS1 to [\u@\h ]\w$ which SHOULD display as follows: [user@host /home/user]$ but it doesn't it's still [user@host ~]$ this used to work. what changed?
2
votes
1answer
698 views

“Can't open” an /opt file

This is my first post. I wanted to ask for any idea so to solve my problem. I am using Ubuntu 12.04 LTS, and my purpose is to use OpenFoam CFD software. I am trying to execute an script called Allrun ...
-2
votes
1answer
194 views

How to absalutely fully change terminal prompt to color

its mind bogglingly supprising how hard it is to TOTALLY change terminal prompt graphic featurs.... Like PS1 Or in my case color features.... I have edited /etc/bash.bashrc and ~/.bashrc and ...