Learn about the different types of user configuration files that can be used to configure the working environment.
- [Narrator] In this chapter, … we'll learn how to configure your Unix environment. … To configure your environment, … you're going to add code to one of several files. … And the files that you'll use … depend on the Unix shell that you're using. … But the different files have a lot of similarities. … So let's start by looking at the very popular bash shell … to get an idea. … When you first log into a new bash shell, … Unix is going to process … a couple of different configuration files. … They're both dot files … that exist in the base of your user home directory. … That's what that little tilde at the beginning indicates. … So we have bash_profile, … and bash_login. … Bash profile is the main one, … login is really there mostly for legacy purposes … and doesn't get used very often. … There's another configuration file called .bashrc … with no underscore … that also can exist in the user home directory. … This is the file that gets run … whenever bash starts up a new sub shell. … In other words, not a login shell. …
Skill Level Intermediate
1. Introduction to Unix
2. Files and Directories
3. Ownership and Permissions
4. Commands and Processes
5. Directing Input and Output
6. Configure Your Working Environment
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.