ls의 대안: dir 및 vdir

ls의 대안: dir 및 vdir

coreutils를 확인했을 때 발견했습니다.GNU Coreutils

10 Directory listing
This chapter describes the ls command and its variants dir and vdir, which list information about files.

• ls invocation:        List directory contents.
• dir invocation:       Briefly ls.
• vdir invocation:      Verbosely ls.
• dircolors invocation:     Color setup for ls, etc.

dirvdir대신에 coreutils에 추가하면 됩니다 ls.

이 설정의 목적은 무엇입니까?

나는 원래 coreutils를 가능한 한 적게 정의해야 한다고 믿었습니다.

답변1

GNU는 완전히 최소가 아니며 dir은 일반적인 Microsoft 명령이므로 편의상 별칭이 지정됩니다. Wikipedia에는 ​​완전한 역사가 부족하지만 오픈 소스 아카이브에서 역사를 구축할 수 있습니다. https://en.m.wikipedia.org/wiki/Dir_ (명령)

관련 정보