IT기술/Solaris 18

3-2 vi editor와 정규식

vi modes 1. command mode 1) vi editor 의 기본 모드 2) command 를 이용하여 text를 a. delete b. change c. copy d. move text e. cursor 위치 변경 f. text strings 검색 g. exit the vi editor 2. edit mode 1) file에 text를 입력할 수 있다. 2) edit mode로 변경하는 방법 a. i or I (insert) b. o or O (open) c. a or A (append) 3. last line mode (command mode) 1) 고급 편집 명령어를 사용하여 a. text strings 검색 b. text strings 치환 c. exit the vi editor 2) ..

IT기술/Solaris 2013.10.02

3-1 유닉스의 개념 및 기초 명령어

Unix의 특징 및 구성 1. Unix의 특징 1) 파일이라는 단일한 입출력 인터페이스 사용 2) 시스템 관련 설정 사항을 텍스트 파일에 저장 3) 이식성 4) 프로그램들은 설정 파일과 데몬 프로세스에 의해 구동 2. Unix의 구성 1) Kernel a. 유닉스에서 핵심부분 b. 하드웨어 관리 담당 - File systems - Device management - Process management - Memory management 2) Shell a. 기능 - User Interface 사용자와 Kernel - Command Interpreter 명령어 해석기 b. Shell 종류 - Bourne (AT & T) - C - Korn - Bash - Z - TC * Shell이 잘못되면 로그인이 불가능..

IT기술/Solaris 2013.10.02

3-1 솔라리스 사용자관리 연습문제

** 본인 IP 확인 방법# ifconfig pcn0 *** SSH 로 root 로 로그인 하기#/etc/ssh/sshd_config -> PermitRootLogin no -> yes#/etc/init.d/sshd stop -> start 1. gid 500 번인 dba 그룹을 생성하세요.2. dba 그룹에 속하고 uid 5000 번인 oracle 계정을 생성하세요.3. oracle 계정의 암호를 oracle 로 설정 oracle 계정으로 로그인 되는지 확인 /etc/hosts 파일 172.16.5.100 server 100..172.16.5.130 server 100t scp 확인 rsh 확인 touch /var/adm/loginlog telnet localhost 다른 창 tail -f /var/a..

IT기술/Solaris 2013.10.01