[윈도우 배치]레지스트리에서 사용자 Documents 폴더 알아내기
[윈도우 배치]레지스트리에서 사용자 Documents 폴더 알아내기 더 읽기"
링크: https://jsb000.tistory.com/875 1.디렉토리 만들기IF NOT EXIST %CD%\mount_wim_new MKDIR %CD%\mount_wim_newIF NOT EXIST %CD%\mount_wim_old MKDIR %CD%\mount_wim_oldIF NOT EXIST %CD%\wim_image_new MKDIR %CD%\wim_image_newIF NOT EXIST %CD%\wim_image_old MKDIR %CD%\wim_image_old 2.boot.wim 파일을 wim_image_XXX 폴더에 넣기UltraISO 사용 3.wim 파일 마운트Dism /mount-image /imagefile:%CD%\wim_image_new\boot.wim /index:1 /mountdir:%CD%\mount_wim_newDism /mount-image /imagefile:%CD%\wim_image_old\boot.wim /index:1 /mountdir:%CD%\mount_wim_old 4.Program Files에 추가할 애플리케이션을 복사한다. 5.wim 파일 언마운트Dism /unmount-image /mountdir:%CD%\mount_wim_new /commitDism /unmount-image /mountdir:%CD%\mount_wim_old /commit
CentOSecho ‘test1:Pass!235’ | chpasswdecho ‘Pass!234’ | passwd –stdin test1 Ubuntuecho ‘test1:Pass!235’ | chpasswd
Non-interactive 리눅스 패스워드 변경 더 읽기"
echo ‘<mypassword>’ > /root/pw.txtchmod 600 /root/pw.txtrsync -avrz –delete –force –port=1873 –password-file=”/root/pw.txt” –log-file=rsync.log “share@10.10.10.2::share” “/mnt/share”
[ipTimeNAS1Dual] CloudBackup (rsync) 더 읽기"
파일 분할하기 split -d -a 4 -b 524288000 original_file split_ -d: 분할된 파일명 뒤에 연속적인 숫자를 붙여라-a 4: 숫자는 4자리로-b 524288000: 500MB 단위로 분할한다.original_file: 원본 파일명split_: 분할된 파일의 파일명 PREFIX >>분할 결과524288000 Nov 16 14:10 split_0000524288000 Nov 16 14:11 split_0001234883892 Nov 16 14:11 split_0002※원본은 그대로 유지된다. 파일 합치기cat split_* > original_file.copy 합친 파일 비교diff original_file
1. 용어 설명 1) DN(Distinguished Name) : 특정 이름으로 컴퓨터를 domain에 저장(표준형식) Directory Srvice 에서 개체를 고유하게 정의해 주는 이름 ex) tistory.com 도메인의 엔지니어부 OU에 있는 홍길동 사용자 dn=”cn=홍길동,ou=엔지니어부,dc=tistory,dc=com” 2) RDN(Relative DN) : DN에서 domain을 생략한 것 ex) OU=엔지니어부 3) CN(Canonical Name) : 보여지는 이름 ex) 홍길동
[Active Directory] 서비스 설치 및 테스트 더 읽기"
telnet mail.esvali.com 25 HELO 127.0.0.1。。。MAIL FROM:hasu0707@daum.net。。。RCPT TO:hasu0707@naver.com。。。DATAsubject: helloTEST MAIL.。。。quit
소스코드 다운로드: http://www.lcdproc.org/ ./configure –prefix=/usr –enable-drivers=allmakemake install cp -fv LCDd.conf /etc/sed -i “s/DriverPath=server\/drivers\//DriverPath=\/usr\/lib\/lcdproc\//g” /etc/LCDd.confchown -R nobody:nobody /usr/lib/lcdproc /etc/LCDd.conf echo “[Unit]” > /usr/lib/systemd/system/LCDd.serviceecho “Description=LCDd display daemon” >> /usr/lib/systemd/system/LCDd.serviceecho “Documentation=man:LCDd(8) http://www.lcdproc.org/” >> /usr/lib/systemd/system/LCDd.serviceecho “After=multi-user.target” >> /usr/lib/systemd/system/LCDd.serviceecho “” >> /usr/lib/systemd/system/LCDd.serviceecho “[Service]” >> /usr/lib/systemd/system/LCDd.serviceecho “Type=simple” >> /usr/lib/systemd/system/LCDd.serviceecho “ExecStart=/usr/sbin/LCDd -s 0 -f -c /etc/LCDd.conf” >> /usr/lib/systemd/system/LCDd.serviceecho “User=root” >> /usr/lib/systemd/system/LCDd.serviceecho “TimeoutStopSec=1s”
“unable to register authentication agent: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files” 오류 발생 시… 퍼미션 점검cd /chown root:root .chmod 755 . 실행 후 ls -al / 하여 .과 ..의 퍼미션 확인