728x90 반응형 Infra/Ubuntu-Linux43 find exec ls 조합 사용하기 find . -name xxxx -exec ls -al {} \; [옵션] -empty : 비어 있는 파일, 단 일반파일 또는 일반 디렉토리에 한함 -uid n : 지정된 n값의 UID를 갖는 파일 -gid n : 지정된 n값의 GID를 갖는 파일 -group 그룹명 : 지정한 그룹명에 소속된 파일 -name : 지정된 형식의 패턴을 가지는 파일 -newer 파일 : 지정한 파일보다 더 최근에 변경된 적이 있는 파일 -used n : 파일이 변경된 이후 최근 n일 이후에 액세스된 적이 있는 파일 -user uname : 지정한 uname의 소유로 된 모든 파일(UID로 지정가능) -amin n : 최근 n분 이전에 액세스된 적이 있는 파일 -anewer 파일 : 지정한 파일보다 더 최근에 액세스된 적이 .. 2024. 2. 16. fuser 특정 파일(포트포함)의 사용자나 프로세스를 알아내가 위해서 사용된다. 옵션 -a : 사용되고 있지 않은 파일까지도 표시한다. -k : 지정된 파일과 관련된 모든 프로세스들을 KILL 한다. -i : 프로세스를 KILL 하기전에 사용자에게 확인한다. -n space : 지정된 공간(file, udp, or , tcp)내에서 검색한다. -s : 결과를 간략히 출력한다. 참고) https://rainofpainki.github.io/linux-fuser/ 리눅스 fuser 명령어 사용법 Code Everywhere rainofpainki.github.io 2024. 2. 5. X11 포워딩 - Ubuntu DeskTop 22.04 설정을 이것 저것해서....아래 방식만으로 해결되었는지는 정확하지 않음. sudo apt update sudo apt upgrade sudo apt install openssh-server sudo systemctl start ssh sudo systemctl enable ssh sudo ufw allow ssh 파일편집 sudo vi /etc/ssh/sshd_config X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no sudo -s touch /root/.Xauthority chmod 600 /root/.Xauthority reboot 출처: http://t8.co.kr/bbs/board.php?bo_table=epilogue&wr_id=296&ss.. 2024. 2. 2. Displaying Ubuntu 22.04 Applications Remotely (X11 Forwarding) https://www.answertopia.com/ubuntu/displaying-ubuntu-applications-remotely-x11-forwarding/ Displaying Ubuntu 22.04 Applications Remotely (X11 Forwarding) – Answertopia In the previous chapter, we looked at how to display the entire Ubuntu desktop on a remote computer. While this works well if you need to display the entire desktop remotely, it could be considered overkill if you only want to dis.. 2024. 2. 2. 이전 1 2 3 4 ··· 11 다음 728x90 반응형