사용자 도구

사이트 도구


linux:ls

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
linux:ls [2021/02/20 23:23]
kwon37xi
linux:ls [2021/04/02 18:58]
kwon37xi
줄 52: 줄 52:
 ls -ltr ls -ltr
 </code> </code>
 +
 +===== 파일의 전체 경로 보기 =====
 +  * [[https://stackoverflow.com/questions/246215/how-can-i-generate-a-list-of-files-with-their-absolute-path-in-linux|command line - How can I generate a list of files with their absolute path in Linux? - Stack Overflow]]
 +
 +<code sh>
 +# current dir
 +ls -1 |xargs realpath
 +find $PWD -maxdepth 1 -type f
 +
 +# current and sub dir
 +find $PWD -type f
 +</code>
 +
linux/ls.txt · 마지막으로 수정됨: 2021/12/09 13:38 저자 kwon37xi