rajat agarwal rajat agarwal - 1 year ago 71
Linux Question

what is ".filename" in the linux and how to open that file?

I see these files many times when I use the command

ls -a
. But I want to open that file and access that file. What material contain that file. How it can be done ?

Answer Source

in linux all files whose name starts with . is hidden files. these files are not shown when you use 'ls', but doing 'ls -a' shows these hidden files too. if you execute ls -a on your home directory you will see lot of such files. (.profile .bashrc .history etc) such filenames are given to config files. so most of these files will be in a text format..and may be in other format depending on to which application it belongs to.

to know the format use the following command file filename

to see text files cat filename

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download