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' - 추가 입력
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
306 | 서버의 바이오스, 메인보드에서 지원하는 최대 메모리 확인 방법 | 호스트웨이 | 2012.03.23 | 19420 |
305 | arp 명령 사용법 | 호스트웨이 | 2012.03.27 | 28284 |
304 | top 명령어 및 옵션 설명 | 호스트웨이 | 2012.03.27 | 52552 |
303 | Swap 메모리 늘리기 | 호스트웨이 | 2012.03.30 | 67208 |
302 | 현재 설치된 메모리 정보를 확인하는 방법 | 호스트웨이 | 2012.03.30 | 32474 |
301 | 하드디스크의 배드블럭을 검사하는 명령어 (badblocks) | 호스트웨이 | 2012.03.30 | 21067 |
300 | find 명령어-1 | 호스트웨이 | 2012.03.30 | 14935 |
299 | Linux 서버 root password 분실시 변경 방법 | 호스트웨이 | 2012.03.30 | 24003 |
298 | VI 편집기에서 사용되는 명령어 | 호스트웨이 | 2012.03.30 | 13903 |
297 | Linux Charset 확인 및 변경 | 호스트웨이 | 2012.03.30 | 85050 |
296 | VI 편집기에서 사용되는 명령어(2) | 호스트웨이 | 2012.04.06 | 13737 |
295 | Linux lastlog를 이용한 최근 접속정보 확인 | 호스트웨이 | 2012.04.06 | 19746 |
294 | 계정 생성 시 ftp 계정만 주고 Shell 로그인 차단하기 | 호스트웨이 | 2012.04.06 | 23714 |
293 | ipv6 비활성화 하기 | 호스트웨이 | 2012.04.06 | 25464 |
292 | 서버 아이피 변경으로 인한 다량의 네임서버 존파일 일괄 변경 방법 | 호스트웨이 | 2012.04.06 | 14684 |
291 | vsftpd.conf 옵션 설명 | 호스트웨이 | 2012.04.06 | 16818 |
290 | chattr 명령을 이용한 파일 속성 변경 | 호스트웨이 | 2012.04.07 | 18564 |
289 | 서비스 이름으로 포트 번호 확인하기 | 호스트웨이 | 2012.04.13 | 57727 |
288 | 국가명 약어 (국가코드) | 호스트웨이 | 2012.04.13 | 64993 |
287 | ngrep 사용법 | 호스트웨이 | 2012.04.13 | 16810 |