본문 바로가기

분류 전체보기

(17)
cp [옵션] cp -pr /home/ezzell/* ./ -p : 소유, 그룹, 권한등을 보존한채로 복사-r : 하위 디렉토리까지 자꾸 까먹노..
Windows 10 Update History Remove net stop wuauservnet stop bitsThis will stop the Windows Update Service and the Background Intelligent Transfer Service. Browse to the C:\Windows\SoftwareDistribution folder and delete all the files and folders inside.You may press Ctrl+A to Select All and then click on Delete. If the files are in use, and you are unable to delete some files, restart your device. After rebooting, run the above c..
Windows 10 - Sticky Notes 경로 변경 StickyNots Data 경로 C:\Users\ezzell\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe해당 폴더를 백업 폴더로 이동 관리자 권한으로 실행mklink "C:\Users\ezzell\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe" "D:\Workspace\StickyNotes"
윈도우 아이콘 깨짐 복구 @echo off taskkill /f /im explorer.exe attrib %userprofile%\appdata\local\iconcache.db -s -r -h del /q %userprofile%\appdata\local\iconcache.db start explorer.exe exit
sudo 암호입력 없이 사용 /etc/sudoers 해당파일에 내용추가 ezzell ALL=NOPASSWD: ALL
Ubuntu - tftp 설정 $ sudo apt-get install tftp tftpd xinetd $ sudo vi /etc/xinetd.d/tftp service tftp{ socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no} $ sudo mkdir /tftpboot $ sudo chmod -R 777 /tftpboot $ sudo chown -R root /tftpboot/ $ sudo /etc/init.d/xinetd restart =======================================================TFTPD-HPA (Tr..
time 함수 int Api_leap(int year){int month[] ={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};if((year % 4 == 0) & (year % 100 != 0) || (year % 400 == 0)){month[1] = 29;}else{month[1] = 28;} return month[1];} long long Api_Time(struct tm t){#define HOUR24#define MIN60#define SEC60int month[] ={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};int all_day = 0, minus_day;int year = 0, mon = 0, a = 0, i = 0;l..
Ubuntu - how to hide particular account in the login screen # vi /var/lib/AccountsService/users/xxx containing two lines:[User]SystemAccount=true