Sysops Notepad

[Linux] ls 명령어로 파일/디렉토리 전체 날짜 표시하기 본문

업무/etc

[Linux] ls 명령어로 파일/디렉토리 전체 날짜 표시하기

sysops 2022. 5. 6. 13:24
[root@test ~]# ls --time-style=long-iso -al             
total 156
dr-xr-x--- 12 root root  4096 2022-05-06 13:22 .
drwxr-xr-x 18 root root  4096 2022-04-01 14:02 ..
-rw-------  1 root root  1201 2021-11-19 22:38 anaconda-ks.cfg
drwx------  3 root root  4096 2022-03-31 12:01 .ansible
-rw-r--r--  1 root root   804 2022-02-03 10:50 authorized_keys
-rw-------  1 root root 28346 2022-05-06 13:22 .bash_history
-rw-r--r--  1 root root    18 2021-03-15 04:35 .bash_logout

.bashrc 파일에 alias설정해서 사용하시면 편합니다~

Comments