prompt_status:5: command not found: wc mac에서 fzf 설치시 zshrc에 뭔가를 추가하는데 에러가 발생하여 아무것도 안되서 찾아보니 아래와 같이 임시로 우회하는 방법이 있다. 해당 명령 이후에 ~/.zshrc의 문제되는 부분을 수정 삭제하면 된다. 혹시 모르니 백업을 해두자..ㅠㅠ export PATH=%PATH:/bin:/usr/local/bin:/usr/bin 기타/MAC 2025.02.17
xz: Cannot exec: No such file or directory xz 파일 압축해제시 에러 발생하는 경우 tar xvf linux-arm64-based.tar.xz tar (child): xz: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now xz 패키지를 설치 한다. dnf -y install xz Dev/Linux 2024.04.19
linux 배포판 버전 확인 linux 배포판 버전 확인 # cat /etc/*-release 3.19.1 NAME="Alpine Linux" ID=alpine VERSION_ID=3.19.1 PRETTY_NAME="Alpine Linux v3.19" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" Dev/Linux 2024.03.28
linux 사용자 group 확인 linux에서 사용자가 어떤 그룹에 속하는지 확인해야 하는 경우가 있다 이런 경우 groups 명령어를 사용하면 된다. # groups [사용자] $ groups promtail promtail : promtail $ groups mysql mysql : mysql # 계정이 여러개의 그룹에 속하는 경우 $ usermod -G root promtail $ groups promtail promtail : promtail root Dev/Linux 2023.03.03