사용자 도구

사이트 도구


linux:ls

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
linux:ls [2021/04/02 19:06]
kwon37xi [파일의 전체 경로 보기]
linux:ls [2021/12/09 13:38] (현재)
kwon37xi
줄 2: 줄 2:
   * [[linux:exa|exa]]   * [[linux:exa|exa]]
   * [[linux:lsd|LSD lsdeluxe]]   * [[linux:lsd|LSD lsdeluxe]]
 +===== 정렬 =====
 +  * [[https://www.lostsaloon.com/technology/how-to-sort-the-output-of-ls-in-linux/|how to sort the output of ‘ls command’ in linux command line - lost saloon]]
 +  * ''ls''는 기본적으로 파일명으로 정렬을 한다.
 +
 +==== 날짜 순 정렬 ====
 +  * ''-t'' : 수정 날짜 순 정렬
 +  * ''-r'' : 역순 정렬
 +<code sh>
 +ls -ltr
 +</code>
 +
 ===== ls 컬러 변경 ===== ===== ls 컬러 변경 =====
   * https://github.com/seebi/dircolors-solarized   * https://github.com/seebi/dircolors-solarized
줄 45: 줄 56:
 dircolors -b ~/.dir_colors dircolors -b ~/.dir_colors
  
-</code> 
-===== 날짜 순 정렬 ===== 
-  * ''-t'' : 수정 날짜 순 정렬 
-  * ''-r'' : 역순 정렬 
-<code sh> 
-ls -ltr 
 </code> </code>
  
linux/ls.txt · 마지막으로 수정됨: 2021/12/09 13:38 저자 kwon37xi