Download Full Video!

Ls Filedot

Ls Filedot

This shows files, including . (current directory) and .. (parent directory). To exclude these special directory entries, use the -A flag:

As a developer, you've likely found yourself in a situation where you're trying to list files in a directory, but the output is not what you expected. You've typed ls filedot in your terminal, and instead of getting a simple list of files, you're met with a confusing output. What's going on? ls filedot

When a developer sets up a new computer, they don't install software one by one. They pull down a "dotfiles repository" from GitHub. These are the invisible files revealed by ls -a —custom aliases, path variables, and color themes. This shows files, including

Example dangerous pattern: