How to check if find command didn’t find anything?
Count the number of lines output and store it in a variable, then test it: lines=$(find … | wc -l) if [ $lines -eq 0 ]; then … fi
Count the number of lines output and store it in a variable, then test it: lines=$(find … | wc -l) if [ $lines -eq 0 ]; then … fi
zypper Found a tutorial for you And official documentation
You might try set the Docker container with Runtime privilege and Linux capabilities, with the docker run –privileged
Run this command: grep avx /proc/cpuinfo Or grep avx2 /proc/cpuinfo This will give you: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid … Read more
Instructions to download source and install: https://www.python.org/download/ NOTE: You should check for the latest version of python 2.7.x, as it gets updated frequently. Currently (Oct 2017), the latest version is 2.7.14 though this comment will get old and new versions likely will be released every 6 months or so. wget https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz # Download tar xvfz … Read more
You can use find to find all matching files recursively: $ find . -iname “*dbg*” -exec rename _dbg.txt .txt ‘{}’ \; EDIT: what the ‘{}’ and \; are? The -exec argument makes find execute rename for every matching file found. ‘{}’ will be replaced with the path name of the file. The last token, \; … Read more
I know of two graphical diff programs: Meld and KDiff3. I haven’t used KDiff3, but Meld works well for me. It seems that both are in the standard package repositories for openSUSE 11.0