Solved Directory listing

I'm embarrassed to ask this, I have tried various options for ls but can't find a way of creating a simple directory list, such as that created on Windows using dir /b. What options have I overlooked?
 
Sorry for nit-picking, but I think the suggestions do not mimic dir /b.
According to MS:

Therefore, I would say the proper equivalent is ls -1.

Regards

I was just after a simple directory listing when I mentioned dir /b as an example... but many thanks for pointing out the '-1' option to ls()... never come across it before... In fact on rereading this option a redirection of ls would provide what I had been looking for but never realised.
 
Back
Top