본문 바로가기
반응형

linux14

[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] /usr/bin/ld: skipping incompatible <path 1> when searching for <path 2> workaround (/usr/bin/ld: skipping incompatible <경로1> when searching for <경로2> 해결 방법) [Linux Ubuntu] /usr/bin/ld: skipping incompatible when searching for workaround /usr/bin/ld: skipping incompatible when searching for 해결 방법 64비트 환경에서 32비트 라이브러리를 필요로 하여, 컴파일 중에 발생하는 문제 우분투 11 이하 버전에서는 ia32-libs 패키지 설치 우분투 16,18 버전에서는 sudo apt-get install gcc-multilib g++-multilib 로 gcc-multilib, g++multilib 설치 중간 버전은 상황에 맞게 설치하여 해결함 (Problems with compiling 32-bit libraries in 64-bit environment.. 2022. 8. 23.
반응형