Need help on Linux ls command

Hi Team,
I want to know the difference in the output of the below unix commands

ls -F

ls -F I get the output with directories suffixed with a / , but some regular files suffixed with * , @ symbols. Why is it so?

[root@localhost ~]# ls -F
abc.txt          Desktop/     install.log.syslog  Public/     testfile*
accounts/        Documents/   logdata             Templates/  test.ksh*
anaconda-ks.cfg  Downloads/   LOGFILENAME         test        typescript
backup/          $file        Music/              test1       Videos/
CALNOV           filename     novcal              test123@
cc               install.log  Pictures/           test2



ls -d list only the current directory , but ls -d */  , is there any other command to list only directories.
sam_2012Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mihai BarbosTrying to tame bits. They're nasty.Commented:
man ls

-F      Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable, an at sign (`@') after each symbolic link, an equals sign (`=') after each socket, a percent sign (`%') after each whiteout, and a vertical bar (`|') after each that is a FIFO.

To list only directories:

find . -type d

Try man find

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sam_2012Author Commented:
Thanks for the clarification, iam sorry ,but it is very simple question , I would like to know what white out means
Mihai BarbosTrying to tame bits. They're nasty.Commented:
A whiteout is a special type of file that hides the existence of a file with the same name.
It appears in some special cases when you delete a file, normally is of no interest.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.