Just provisioned a new Rackspace instance with Ubuntu 12.04 and pulled down rbenv from their github and installed it.
I'm getting the following errors when executing . ./~bashrc
$ .
Terminal shows this
bash: /home/atlas/.bashrc: line 73: syntax error near unexpected token ['
bash: /home/atlas/.bashrc: line 73:if [ -x /usr/bin/dircolors ] ; then '
I've tried to fix it using
"cp /ect/skel/.bashrc ~/"
And I get this "cp: cannot stat `/ect/skel/.bashrc': No such file or directory"
I'm unsure of why this is doing this and how to fix it.
#1 I'm very new to the ubuntu home directory encryption or rather ecryptfs
folder encryption. I read about the same within Dustin's blog & tried
implementing it.
Problem or query is
my home directory is encrypted & has a www folder ...
#1 I'm very new to the ubuntu home directory encryption or rather ecryptfs
folder encryption. I read about the same within Dustin's blog & tried
implementing it.
Problem or query is
my home directory is encrypted & has a www folder ...
I'm curious to know more about the default ubuntu home folder encryption. I encrypted my drive with the live cd when I was installing ubuntu, and it didn't tell me anything about the encryption scheme! I want to know how many...uh...bits? the encryption has? and the encryption algorithm (the only one I know of is RSA).
I'm a bit of a newb at encryption so bear with me.
1. do each user have a separate .bashrc file?
2. what is diff betw .bashrc and $HOME/.bashrc ? thanks..
I made a bin directory in my home folder where I place all my scripts. Then in my .bashrc I added the following:
export PATH=$PATH:/home/myusername/bin
So I could access files I placed in there from anywhere. But some of the scripts need to be executed as root.
On one of my Ubuntu 11.10 servers, when I use sudo -i to become the root user, root's .bashrc is not being executed.
I'm trying to launch one command in a new gnome-terminal window from a shell script, and it seems that my .bashrc file doesn't get sourced when calling gnome-terminal and executing a command:
gnome-terminal -t "my title" -e vim
But it does when launching gnome-terminal alone:
gnome-terminal -t "my title"
(for testing purposes, just add a echo "something" to the end of the .bashrc)
I also tr