목록2021/09/14 (2)
강
[Command] Linux 특정 파일 제외 하고 보기
리눅스 명령어에서 특정한 파일을 제외하고 명령어를 입력해야할 때가 있습니다. 그럴 때 grep 명령어를 활용하면 됩니다. 제외될 문자에 대해서 하나인 경우와 여러개인 경우 각각 다음과 같이 명령어를 입력합니다. cat 명령어를 예시로 듭니다. cat "파일명" | grep -v "제외될 문자" cat "파일명" | grep -ev "제외될 문자"|"제외될 문자" 참조 https://tipland.tistory.com/73
Linux Command
2021. 9. 14. 15:43
[Git] Another git process seems to be running in this repository 에러 해결
git 작업을 하다가 폴더 구조를 바꾸게 되어서 바꾼 폴더들에 git add, commit을 시도하니 다음과 같은 에러 메세지가 나왔습니다 fatal: Unable to create '.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually ..
Github
2021. 9. 14. 13:33