본문 바로가기

commands

(18)
nslookup 명렁어 사용법 NSLOOKUP 명령어 사용법 입니다.윈도우 PC에서는 일반적으로 시작-실행-cmd 입력후 나오는 command 창에서 사용 할 수 있습니다. C:>nslookup banggae.comDefault Server: xxx.xxx.com Address: 192.168.1.100 Non-authoritative answer: Name: banggae.com Address: 218.144.240.79 C:>nslookup Default Server: xxx.xxx.com Address: 192.168.1.100 >server 168.126.63.1 (DNS 정보를 바꿔서 사용 할 수 있게 해 줍니다.) > set query=all (모든 정보를 표시 해 줍니다.) > banggae.com Server: xxx...
유용한 unix 명령어 설명 alias(명령어 간소화하기) apropos(관련된 명령어 찾기) arch(컴퓨터 종류 알기) arp(같은 서브넷의 IP 보여주기) at(작업 시간 정하기) atd(계획성 있는 작업 실행하기) awk(특정 패턴 문자 처리하기) a2p(펄 파일로 바꾸기) badblocks(배드 블럭 검사하기) bc(계산기) biff(메일 수신 소리로 확인하기) bg(후면작업; 배경화면 설정) bind(키나 함수 순서 결합하기) break(루프 빠져나가기) cal(달력보기) builtin(내부 명령어 알아보기) case(조건 처리하기) cat(화면상에서 파일 보기) cd(디렉토리 변경하기) cfdisk(디스크 설정하기) chattr(파일 속성 변경하기) chfn(사용자 정보 변경하기) chgrp(파일, 디렉토리가 속했던 그..
unix 계열의 os 에서 실시간으로 log 확인 하기 unix 계열의 OS에서 log를 저장할 때 실시간으로 log 가 계속 쌓이는 것을 보려면 tail -f 을 하면 됩니다. log file 의 내용을 검색 할때는 more | grep 을 하면 됩니다. 응용을 한다면 tail -f | grep 을 해서 실시간으로 필요한 log 만 확인 할 수도 있겠죠. :)
윈도우 기본 명령어로 가상 드라이브 만들기. C:\>subst /? 경로를 드라이브 문자로 지정합니다.SUBST [드라이브1: [드라이브2:]경로] SUBST 드라이브1: /D 드라이브1: 경로에 지정할 가상 드라이브를 지정합니다. [드라이브2:]경로 가상 드라이브에 지정할 실제 드라이브와 경로를 지정합니다. /D 가상 드라이브를 지웁니다.매개 변수를 지정하지 않고 SUBST를 사용하면, 현재의 가상 드라이브를 표시합니다.subst라는 명령어로 가상 드라이브를 만들 수 있습니다. 사용 법은 위에 설명 되어 있는 대로.. SUBST [드라이브1: [드라이브2:]경로]C:\>subst d: c:\data\wlseC:\>d:D:\>dir D 드라이브의 볼륨: C_DRIVE 볼륨 일련 번호: xxxx-abcdD:\ 디렉터리2006-04-26 오후 02:2..
arp 명령어 1.arp -a workstation의 local arp table을 표시한다. C:>arp -a Interface: 192.168.0.22 --- 0x2 Internet Address Physical Address Type 192.168.0.1 00-00-00-aa-bb-cc dynamic 192.168.0.3 00-00-aa-bb-cc-00 dynamic 2.잘못된 physical address가 지정 되었을 때 수정 방법. # Delete the current arp entry for 192.168.0.1 c:>arp -d 192.168.0.1 # add a static entry for 192.168.0.1 c:>arp -s 192.168.0.1 00-00-00-11-22-33 # Display ..
netstat 명령어 1.netstat 도움말 C:>netstat /? Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval] -a Displays all connections and listening ports. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -o Displays the owning process ID associated with each conne..
ping 정리 ping 정리 C:>ping /? Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] target_name Options: -t Ping the specified host until stopped. To see statistics and continue - type Control-Break; To stop - type Control-C. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -l size Send buffer size...
sh 명령어 Router#show ip nat translations NAT 사용시 송신지 address와 수신지 address의 적절한 변환, 사용된 트랜스포트 계층 프로토콜, 세션에 사용된 포트(또는 Application)를 확인 할 수 있다.