Using ls in C
This program prints the contents of a directory using the ls -l command. It checks initially if a directory path is supplied as a command-line argument. If an argument is supplied, it sets that path to the dirpath variable. Otherwise, it uses the cur...
gagang.hashnode.dev1 min read