2019년 3월 12일 화요일

도스창(명령 프롬프트)

도스창(명령 프롬프트)에서 하드의 파일을 찾는 방법입니다. 파일 속의 문자열을 찾는 것이 아니고, "파일명만을 검색"합니다.


파일 찾기: 현재 하드 전체에서, 모든 GIF 파일 찾기
dir /s \*.gif

설명:
dir 명령에서 /s 라는 옵션은 현재 디렉토리와 하위 디렉토리까지 모두 뒤져서 찾으라는 의미입니다.

*.gif 는, gif 라는 확장자를 가진 모든 파일을 다 찾으라는 뜻입니다.

\ 는, 루트 디렉토리를 의미합니다. 따라서

\*.gif 이것은, 루트 디렉토리부터 시작하여 하드의 모든 디렉토리를 다 뒤져서 gif 파일을 찾으라는 뜻입니다.




디렉토리만 찾기: 현재 하드 전체에서, windows 로 시작하는 모든 디렉토리명을 찾음
dir /s /a:d \windows*

설명

/a:d 는 파일이 아닌 디렉토리만을 목표로 하라는 뜻입니다.

windows* 는, windows 로 시작하는 모든 디렉토리입니다.

리눅스 명령어

리눅스 명령어

로그인 아이디 확인
who am i

현재 위치 확인
pwd


유저경로가 궁금하다
ls -l /root


디렉토리생성
mkdir aaa
mkdir -p /a/b/


용량확인
du


파일복사
cp



dih
id root
pw dih

/root/tomcat/bin/./infaservice.sh startup
/opt/Informatica/DIH/DataIntegrationHub/bin/dihstartup.sh

Administrator User:

Administrator
Dih12345

DIH Console User:

Administrator
Administrator

$PMTargetFileDir

$PMRootDir/TgtFiles で

전체 폴더에서 찾기
find / -name 폴더명 -type d
현재 폴더(및 하위폴더)에서 찾기
find ./ -name 폴더명 -type d

2019년 3월 11일 월요일

dih3


[root@localhost ~]#
[root@localhost ~]# /root/tomcat/bin/./infaservice.sh startup
Starting Informatica services on node 'node01_dih'
Using CURRENT_DIR:     /root/tomcat/bin
Using INFA_HOME:       /root
Using System log directory :   /root/logs/node01_dih
[root@localhost ~]# /opt/Informatica/DIH/DataIntegrationHub/bin/dihstartup.sh
Using CATALINA_BASE:   /opt/Informatica/DIH/DataIntegrationHub/tomcat
Using CATALINA_HOME:   /opt/Informatica/DIH/DataIntegrationHub/tomcat
Using CATALINA_TMPDIR: /opt/Informatica/DIH/DataIntegrationHub/tomcat/temp
Using JRE_HOME:        /opt/Informatica/DIH/DataIntegrationHub/jdk1.8
Using CLASSPATH:       /opt/Informatica/DIH/DataIntegrationHub/tomcat/bin/bootstrap.jar:/opt/Informatica/DIH/DataIntegrationHub/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /tmp/rootxe-tomcat.pid
Tomcat started.
=========================================================================

  Data Integration Hub Environment

  DX_HOME: /opt/Informatica/DIH/DataIntegrationHub

  JAVA: /opt/Informatica/DIH/DataIntegrationHub/jdk1.8/bin/java

  DX_SERVER_OPTS: -Xmx1024m -d64 -Djava.io.tmpdir=/opt/Informatica/DIH/DataIntegrationHub/tomcat/temp -Djava.security.krb5.conf=/opt/Informatica/DIH/DataIntegrationHub/shared/conf/security/krb5.conf -Djava.rmi.server.useLocalHostname=true

=========================================================================

dih2

http://localhost.localdomain:18080/
http://localhost.localdomain:6008/administrator/


dih


dih
id root
pw dih

/root/tomcat/bin/./infaservice.sh startup
/opt/Informatica/DIH/DataIntegrationHub/bin/dihstartup.sh

Administrator User:

Administrator
Dih12345

DIH Console User:

Administrator
Administrator