Unix/ls: Difference between revisions

From Rosetta Code
Content added Content deleted
(Clarification.)
No edit summary
Line 1: Line 1:
{{draft task}}Write a program that will list all files and directories in the current folder, truncating everything except for the dirname/filename, similar to the Unix utility `ls`.
{{draft task}}Write a program that will list all files (including directories, symlinks, etc.) in the current folder, truncating everything except for the dirname/filename, similar to the Unix utility `ls`.

Revision as of 11:46, 5 June 2014

Unix/ls is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Write a program that will list all files (including directories, symlinks, etc.) in the current folder, truncating everything except for the dirname/filename, similar to the Unix utility `ls`.