2012.12.27 05:00
ls -l 출력 시 날짜 변경( 12월 2009 -> 2009-07-01 08:35 )
변경 전
[root@wooseob ~]# ls -l
-rw------- 1 root root 1104 12월 17 03:22 anaconda-ks.cfg
-rw-r--r-- 1 root root 25690 12월 17 03:22 install.log
-rw-r--r-- 1 root root 4508 12월 17 03:21 install.log.syslog
# alias ls='ls --color=auto --time-style=long-iso' 날짜표시 변경하는 명령어
변경 후
[root@wooseob ~]# ls -l
-rw------- 1 root root 1104 2012-12-17 03:22 anaconda-ks.cfg
-rw-r--r-- 1 root root 25690 2012-12-17 03:22 install.log
-rw-r--r-- 1 root root 4508 2012-12-17 03:21 install.log.syslog
개인 사용자(~/.bashrc 기재)
[root@wooseob ~]# vi ~/.bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ls='ls --color=auto --time-style=long-iso' - 추가 입력
전체 사용자 적용 시
[root@wooseob ~]# vi /etc/bashrc
# /etc/bashrc
# System wide functions and aliases
# Environment stuff goes in /etc/profile
alias ls='ls --color=auto --time-style=long-iso' - 추가 입력
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
386 | cdp 백업 프로세스 관련 | 호스트웨이 | 2015.09.07 | 1005 |
385 | Linux vmstat 명령어 | 호스트웨이 | 2015.09.08 | 1093 |
384 | 현재 접속 사용자(머신/디바이스)수 알아내기 | 호스트웨이 | 2012.11.16 | 1129 |
383 | 잘못푼 압축파일(tar.gz) 지우는 방법 | 호스트웨이 | 2012.12.07 | 1272 |
382 | sftp 서비스 막기 | 호스트웨이 | 2012.12.27 | 1317 |
381 | 우분투 서버에 JDK7 설치하기 | 호스트웨이 | 2015.09.13 | 1359 |
380 | Linux 외장 저장장치 mount | 호스트웨이 | 2015.09.10 | 1397 |
379 | 2015년 7월1일 윤초 발생 관련 점검 방안 | 호스트웨이 | 2015.06.30 | 1558 |
378 | 리눅스 whereis 명령어 | 호스트웨이 | 2012.09.28 | 1634 |
377 | Log file 주기적으로 정리하기 | 호스트웨이 | 2015.09.08 | 1643 |
376 | 특정 파일이 소속된 rpm 패키지 찾기 | 호스트웨이 | 2012.12.14 | 1776 |
375 | arch 명령어를 통해 컴퓨터 종류 알기 | 호스트웨이 | 2012.11.16 | 1796 |
374 | 리눅스 free 명령어 | 호스트웨이 | 2012.12.26 | 1817 |
373 | locate 명령어를 이용해 빠르게 지정한 파일 찾기 | 호스트웨이 | 2012.12.12 | 1859 |
372 | queryperf 설치 및 사용 방법 (DNS 스트레스 테스트) | 호스트웨이 | 2012.11.29 | 1864 |
371 | kbd_mode 명령어를 통해 인식중인 키보드모드 출력 및 변경하기 | 호스트웨이 | 2012.11.06 | 1896 |
370 | /proc 디렉터리내 파일 정보 알아보기 | 호스트웨이 | 2012.11.21 | 1911 |
369 | top 사용 추가 tip | 호스트웨이 | 2015.09.15 | 2015 |
368 | limits.conf 설명 | 호스트웨이 | 2012.11.09 | 2127 |
367 | free -m 에서 free (남는 메모리 양) 최소량 제한하기 | 호스트웨이 | 2012.12.21 | 2144 |