ajay wrote:
> ls
> echo *
> file *
> cat *
> pg *
> "write short program to access directory with functions/system calls"
>
> above are few methods to list/see files/directoreis in UNIX systems.
> are there any other way(s) ?
there are two really different ways:
via shell masks (eg * and .*)
via program, (eg ls and find)