📜 ⬆️ ⬇️

Linux: Directory listing without ls (list files without ls)

It turned out that in my zte 531 b there is a stripped-down linux. However, the lack of the standard command ls in the standard delivery prevents its full-fledged study. It turns out the directory listing can be obtained without it:

> echo *
CVS bin dev etc lib linuxrc mnt proc sbin usr var webs
>


And I was prompted by a built-in cat hint.

> cat *
You should use echo * to list the files
>

')

Source: https://habr.com/ru/post/51245/


All Articles