Dot files in Linux are configuration files which are hidden unless your system is allowed to show hidden files. For example, .vimrc stores your vim settings, .bashrc stores your bash settings, etc.
you can see hidden files using ls -a command. Here is a screen shot of files inside my home directory.
when you use ls command, it shows only visible files. ls -a command is used to show all files whether it is visible or not. you can notice many dot files in above pictures. i have already made a circle.
There are two types of dot files:
The single dot is called file period which denotes the current working directory whereas double dot is called period period and it denotes parent of current working directory.
you can see hidden files using ls -a command. Here is a screen shot of files inside my home directory.
when you use ls command, it shows only visible files. ls -a command is used to show all files whether it is visible or not. you can notice many dot files in above pictures. i have already made a circle.
There are two types of dot files:
- single dot
- double dot
The single dot is called file period which denotes the current working directory whereas double dot is called period period and it denotes parent of current working directory.
Comments
Post a Comment