본문 바로가기
Linux

[Linux] ls 명령어

by unknownomad 2025. 1. 20.

ls

list 줄임말

현재 디렉토리의 파일 목록 확인하는 명령어

 

형식

ls [OPTION] [File]

 

특징

디렉토리 지정하여 파일 목록 출력 가능

옵션 사용해야 숨김 파일 확인 가능

디렉토리 생략 시 현재 위치한 디렉토리의 파일 목록 출력

 

옵션

https://ipcisco.com/lesson/linux-ls-command/
https://www.linuxteck.com/basic-ls-command-in-linux-with-examples/#google_vignette

ls -arlth
  • arlth: 모든 파일, 폴더를 시간 역순으로 출력하는 명령어

'Linux' 카테고리의 다른 글

WSL2 비밀번호 재설정  (0) 2025.02.10
Windows 에서 WSL2 환경에 접근  (0) 2025.02.10
[Linux] Shell  (0) 2023.06.13
[Linux] 명령어 - cp, mv, rm  (0) 2022.07.26

댓글