Category: linux

warning: jni.h: No such file or directory 0

warning: jni.h: No such file or directory

Problem: Layer_Connections.h:2:17: warning: jni.h: No such file or directory In file included from Layer_Connections.cpp:4: Layer_Connections.h:15: error: ‘JNIEXPORT’ does not name a type Solution: jni.h is part of standard java distribution. Either you don't have...

Find out what package provides a specific file 0

Find out what package provides a specific file

For example you want to install lsb_killproc but do not want to install the whole 100mb-suite of redhat-lsb. Use this command: $> yum whatprovides */lsb_killproc You then figure out that redhat-lsb-core is the more...

Search through all files in linux 0

Search through all files in linux

Find files in linux   Solution using GREP $> grep -ilR 'edma3' /usr/local/ti/* -i == ignore case -R == recursive directories Another often used command for developers $> grep --include=\*.{c,cpp,h} -rnw 'directory' -e "pattern"...