I discovered that
ls -AF /var/ |grep \/$
helps me to find all directories from a directories without more information. Now i need exactly the opposite - showing all files without any further information just the file name in each line
file1
file2
file3
and filtering the directories because those - i don't need
ls
help in this case?