Tutorial by Examples

In Unix, files and directories beginning with a period usually contain settings for a specific program/a series of programs. Dot files are usually hidden from the user, so you would need to run ls -a to see them. An example of a dot file is .bash_history, which contains the latest executed commands...
shopt -q login_shell && echo 'login' || echo 'not-login'

Page 1 of 1