Almost all of the files that are used to configure settings on a Linux system are plain text files, as opposed to files that are coded or encrypted. Some Linux directories and files are prefixed with a . (dot). These files do not normally appear in directory listings when the directory is viewed with a GUI utility, such as Nautilus, or when viewed with a command that lists directories and files, such as the ls command.
These directories and files are commonly called “dot” directories and “dot” files and are “hidden” from regular directory listings. These directories and files typically contain configuration settings.
For example, each user’s home directory contains a Linux configuration file called .bashrc that provides configuration settings for the bash shell.
As another example, when the KDE desktop is used, a Linux directory named .kde is created in the home directory of a user that is using this desktop. This directory contains one or more directories and files that contain configuration settings for the KDE desktop.
Viewing Linux Hidden Directories and Files – Linux ls Command Examples
Run the following Linux cd command to change into your home directory, in case you aren’t currently “in” your home directory. The ~ (tilde) character represents your home directory.
$ cd ~
Now run the ls command with the option to see the “non-hidden” directories and files in your home directory.
$ ls -l
The ls command below uses the -a option to show “all” directories and files in the current directory (in addition to using the -l for “long” option), including the Linux hidden directories and files.
$ ls -la
The ls command below shows all hidden files beginning with “.bash” (and ending in anything else). This command shows some of the “bash shell” configuration files.
Linux Commands Training Tips: When you are working at the Linux command line prompt and running Linux commands, you are working in the “bash shell environment”.
$ ls -la .bash*
Now use the less command to look at the contents of the .bashrc configuration file for the bash shell.
$ less .bashrc
The Linux commands and concepts covered here are applicable to: Ubuntu, Debian, Red Hat, SUSE, Fedora, Slackware, openSUSE – and ALL other Linux distributions.
And now I would like to offer you free access to my Linux Commands Training Mini-Course, a 7 Lesson, Daily Mini-Course, including the free Linux Commands ebook and Linux audio podcasts – showing you how to get started learning how to use Linux commands.
You can get your instant access at: http://www.LinuxCommandsTrainingCourse.com
From Clyde Boom – The Easy Linux Training Guy – Easy, self-paced Linux training – In Plain English!
|
|
Writing Secure Code, Second Edition $13.76 WRITING SECURE CODE 2ND ED… |
|
|
Sams Teach Yourself Active Server Pages 3.0 in 21 Days $14.17 The friendly, tutorial style of Sams Teach Yourself Active Server Pages 3.0 in 21 Days empowers you to create your own Active Server Pages quickly and easily. Using client-proven methods, and his award-winning advice to Web developers from around the world, ASP master Scott Mitchell provides you with an understanding of ASP and IIS fundamentals, and guides you through the use of VBScript and ASP’s… |
|
|
Programming Microsoft Visual Basic .NET (Core Reference) $39.85 Useful for VB developers of all levels, Programming Microsoft Visual Basic .NET offers a massive and comprehensive guide to the new VB .NET. While concentrating on “traditional” programming techniques brought up to speed with .NET, this book also covers essential Web development, making it a solid choice for those making the leap from VB 6.The sheer size of this volume is its obvious distinguishin… |
Tags: books, ebook, ebooks, free, free asp.net ebook pdf, pdf