Show files without "ls"
for f in *; do echo "$f"; done
This command will do the following:
for f in *;: This loop loops through all files and directories in the current directory. The asterisk (*) is a wildcard character that represents all files and directories.do echo "$f";: For each item found, theechocommand is used to display its name.done: Marks the end of the loop.
You can simply paste this command into the terminal and run it. It will list all files and directories in the current folder, one per line.