afternoon, Im using mint 11. Previous versions have a '.bashrc' file. This version doesn't. I would like to put some aliases or functions in .bashrc. I started a '.bash_aliases' file and it works . But where did the '.bashrc' file go to?

asked 05 Sep '11, 18:52

kaykav's gravatar image

kaykav
18114
accept rate: 50%

edited 06 Sep '11, 09:37

Ron's gravatar image

Ron ♦
9361618




OK I just created .bashrc and put all my intended aliases and some functions into that file. Everything works as I want.... til-later

link

answered 05 Sep '11, 21:39

kaykav's gravatar image

kaykav
18114
accept rate: 50%

Any file which has a . at the beginning is a "hidden file"

If I use my File Manager and I can tick the Menu to show hidden files.

.bashrc is in my Home folder

link

answered 06 Sep '11, 09:36

Alan%20Rochester's gravatar image

Alan Rochester
91
accept rate: 0%

Evidently .bashrc doesn't exist in mint 11,so I created the file ($ touch .bashrc). Inow have a .bashrc file to enter any aliases I wish. ..and it works just fine....Thank you

(06 Sep '11, 21:02) kaykav

Just for further visitors: Not all distributions provide a .bashrc by default. Nevertheless, I am not aware of any distribution that ignores an existing .bashrc. Therefore, simply create it if it doesn't exist.

touch ~/.bashrc
link

answered 08 Sep '11, 03:31

Jazz's gravatar image

Jazz ♦
7811312
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90
×16
×5

Asked: 05 Sep '11, 18:52

Seen: 49,405 times

Last updated: 08 Sep '11, 03:31

powered by OSQA