To view hidden files, use the '-a' option with the 'ls' command, like 'ls -a'.