Ls Filedot Link
Beyond hidden files, the single dot (.) is a special directory entry present in every Unix directory. It always points to the directory itself. When used as an argument to ls—ls .—it explicitly lists the contents of the current directory. This is functionally equivalent to ls with no arguments, but it becomes vital in relative path construction: cp /etc/hosts . copies a file into the current directory.
The dot also appears in the find command (find . -name "*.txt") and in shell scripts to anchor relative paths. Its counterpart, .., represents the parent directory. Together, . and .. enable concise navigation without absolute paths. ls filedot
ls *.*
This command lists files like report.pdf, image.jpg, and data.csv, but excludes files with no dot (e.g., README). Beyond hidden files, the single dot (
ls filedot is not a special command – and that’s exactly the point. It forces you to realize: This command lists files like report
In fact, filedot is a perfect teaching tool for the difference between: