16.3 Looking Around With ls 229
Figure 16.7: The .bashrc file
When you type the above command, what you’re saying is, “make a copy of the .bashrc file and
name that copy .bashrc2.”
Now, you have a backup copy of the unmodified .bashrc file in your login directory. If you make a
mistake or have trouble, you can replace your .bashrc file by typing:
cp .bashrc2 .bashrc
at the shell prompt.
If you need to type this command, you’ll be saying, “make a copy of the file .bashrc2 and name
that copy .bashrc.” The copy command here will overwrite the original .bashrc file – and you’ll
still keep a copy of the original (and untouched) .bashrc file with the name of .bashrc2.
Now that we’re prepared, we’ll open .bashrc with Pico, a simplified text editor.(Atexteditorisa
utility program that can create or modify files.) From an xterm window, type:
pico .bashrc
You should see something like this:
Comments to this Manuals