Linux Command Line Tutorial For Beginners 25 - .bashrc File

preview_player
Показать описание
The .bashrc is a configuration file for the Bash , which every time you open a terminal is also loaded. In it you can abbreviations for commands (ie an alias ) Enter, you change here is the appearance of the prompt , or you can add additional scripts which facilitate a working with the Shell.

The bash_profile can change as well and fill with the same content as the bashrc, so this article almost 1 may: 1 for bash_profile be taken. The difference is that .bashrc runs each time you start an interactive shell as a terminal and the bash_profile only when you start a login shell.

If one wants to perform something once when a login shell is the bash_profile right place. Will you, that changes every time you start a terminal or a console be executed is the bashrc right place.
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

You are an amazing teacher. These Linux tutorials are outstanding. Thank you so much for making these.

SoundsFromSound
Автор

This guy's voice is soothing to me or it's just a damn good tutorial.

Texas
Автор

If you want the changes to the ~/.bashrc file get executed on other new terminal window (rather than new terminal tab), you need to source the bashrc file by: $ source ~/.bashrc

mohammadmohagheghfaghih
Автор

Thank you, your video was great -- now I finally know, what I can do with bashrc, at least the very basics

JavArButt
Автор

just which i was looking for. thanks dude

kobatre
Автор

Thanks a lot for your useful content and this amazing course, it was excellent explanation for .bashrc file.

ammaral-sadeq
Автор

How did you copy and paste in the terminal?

vanthuanluong
Автор

when i have edited to add path in .bashrc file i m getting error of # ~/.bashrc: executed by bash(1) for non-login shells. How to fix it plzz help me

DSCS_ANAND_RAJ
Автор

thank you now every time I open the terminal im greeted with a screenfetch-n and a cowsay "Hey, %user%!"

NuevoVR
Автор

I Go End Of The File
fi
fi
But Stuck On I How To Go Second Line
Please Help

NaatStatus
Автор

gud 1 man but whats 'En'wire'ment' ??

BlokeBritish
Автор

can you just slow down abit you going from one thing to another before I get a chance to keep up with whats being said.Thanks.

beagleonvodka