How to check for modified config files on a Debian system?

To find all Debian managed configuration files which have been changed from the default you can use a command like this. dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print $2,$1}’ | md5sum -c 2>/dev/null | awk -F’: ‘ ‘$2 !~ /OK/{print $1}’ Edit (works with localized systems): dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print … Read more

package does not exist error!

This works: com/example/model/BearExtra.java com/example/web/Bear.java Now, to compile and run these classes, go to the directory where you can “see” the com folder and do: *nix/MacOS Windows and the following is being printed to the console:

Package name does not correspond to the file path – IntelliJ

Judging from the directory structure, you have two packages client and server, but the code expects packages badugi.client and badugi.server. Here is a way to fix it: Position your cursor to the underlined package statement (package badugi.server) Hit ALT + ENTER Select option Move to package badugi.server. This will automatically fix your directory structure to match the declared package … Read more

Python can’t find my module

Essentially, when you execute script.py directly, it doesn’t know that it’s part of a submodule of src, nor does it know where a module named src might be. This is the case in either python 2 or 3. As you know, Python finds modules based on the contents of sys.path. In order to import any module, it must either be located … Read more