There comes a case where we have to edit hidden files like .bashrc or .htaccess, but these files stay hidden

and cant be seen when we just type  #ls  in command prompt.

So viewing this file and edit it manually is a bit different than just typing  #vi filename

For exmaple for viewing and editing .bashrc which is in /home directory we have to

#ls -la ~/ | more

And for viewing,

vi ~/.bashrc
and add line you need to add and save and exit.
 

 

 

Advertisements