본문 바로가기
반응형

분류 전체보기188

[linux] 'ripgrep' more than 3x faster than grep (grep보다 3배 이상 빠른 ripgrep) [linux]'ripgrep' more than 3x faster than grep(grep보다 3배 이상 빠른 ripgrep)[linux][shell] grep보다 3배 이상 빠른 ripgrep ripgrep github page https://github.com/BurntSushi/ripgrep#installation GitHub - BurntSushi/ripgrep: ripgrep recursively searches directories for a regex pattern while respecting your gitignoreripgrep recursively searches directories for a regex pattern while respecting your gitignore - G.. 2022. 8. 24.
[Solved][Linux] Count grep results: wc command (grep 결과의 개수 세기: wc 명령어) Count grep results: wc command(grep 결과의 개수 세기: wc 명령어)  grep의 결과가 너무 많아서 카운트하기 어려울 때 wc -l 옵션을 사용하면 간단히 grep 결과의 전체 라인 행 수를 셀 수 있습니다.  ex) grep -r "mem" ./ | wc -l   wc 명령어 옵션-c 지정 파일의 byte-m 지정 파일의 문자 개수-l 지정 파일의 총 행 개수-w 지정 파일의 총 단어 개수-L 지정 파일의 모든 행 중, 가장 길이가 긴 행의 문자 개수 (When there are too many grep results to count,The wc -l option allows you to simply count the total number of line rows of g.. 2022. 8. 24.
[Solved][Linux] source Command Description (source 명령 설명) [Solved][Linux] source Command Description source 명령 설명 source는 쉘 스크립트 명령이 childe 프로세스가 아닌, 현재 실행중인 프로세스에서 실행되도록 하는 명령어! 덕분에 스크립트가 끝났을때 바로 명령어를 적용시킬 수 있음 ex) source ./bashrc (source is a command that allows shell script commands to be executed in a currently running process, not in a child process! This allows you to apply the command as soon as the script is finished ex) source ./bashrc) 2022. 8. 24.
[Solved][Docker] mount failed: Operation not permitted. 해결 방법 Docker Solution - mount failed: Operation not permitted   docker 컨테이너에 privilege 권한을 줘야한다! docker run --privileged ~~ 의 형태로 컨테이너를 생성해야함  아래는 해결하는 과정에서 도움됐던 URL(Privilege permission should be given to docker containers!Container must be created in the form of docker run --privileged ~~   Below is the URL that was helpful during the resolution process) https://stackoverflow.com/questions/24614513/.. 2022. 8. 23.
반응형