How Do I Create a Bashrc File in Linux?
Contents

How do I create a .bashrc file in Linux?

bashrc doesn’t exist you can create it with a simple echo >> ~/. bashrc . The >> will create the file if doesn’t exists.

Where is my .bashrc file Linux?

There is a . bashrc in every user’s home folder (99.99% of the time) as well as one system-wide (which I don’t know the location of in Ubuntu). The quickest way to access it is nano ~/. bashrc from a terminal (replace nano with whatever you like to use).

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest