From the course: Linux Tips
Unlock this course with a free trial
Join today to access over 22,500 courses taught by industry experts.
Environment configuration files - Linux Tutorial
From the course: Linux Tips
Environment configuration files
- [Instructor] When you open up a Shell, there's a series of files that help to set up the environment for you. Generally speaking, these files are divided into two categories, those that open up with a login Shell, which is the first Shell that you get when you connect via SSH or through a console, and non-login Shells, which are those that you open up after or within the login Shell. Usually these are both interactive Shells where you can type things and get a response. There are also non-interactive Shells. But we don't use them directly, in large part because we can't use them directly. When we start a login shell, the system reads from /etc/profile and then it looks for one of three files in the user's home folder; ~/.bash_profile, ~/.bash_login, or ~/.profile. Bash will stop once it finds one of these files in this order and ignore the rest. So keep that in mind if you're trouble shooting your Bash profile settings. When we open a Non-Login Shell, Bash runs /etc/bash.bashrc and…
Contents
-
-
-
-
System basics: The Linux file system6m 35s
-
System basics: The command line5m 23s
-
System basics: Keyboard shortcuts1m 40s
-
System basics: sudo access and root4m 57s
-
System basics: Explore a system4m 38s
-
System basics: Exploring Bash7m
-
System basics: Bash scripting basics4m 59s
-
System basics: The Bash prompt6m 2s
-
System basics: Bash output redirection4m 57s
-
Bash expansions and substitutions4m 23s
-
Bash aliases and functions4m 7s
-
Bash operators6m 55s
-
Logs5m 4s
-
Grub3m 19s
-
SysV init4m 43s
-
Systemd5m 29s
-
Cron8m 7s
-
Understanding chroot3m 16s
-
System basics: User and group management8m 39s
-
System basics: Service management3m 44s
-
Backing up data with rsync5m 35s
-
Splitting and combining files3m 3s
-
Environment configuration files2m 43s
-
Working with dotfiles1m 43s
-
Exploring the PATH variable3m 51s
-
Browsing with the directory stack3m 19s
-
Finding or locating files3m 52s
-
Working with swap4m 29s
-
Read and write caches3m 5s
-
Terminals, consoles, and TTYs4m 27s
-
Exploring journalctl5m 2s
-
-
-
-
-
-
-
-
-
-
-
-