SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. apt list --installed | grep "autoconf" "automake" "recutils" "gettext" "glibc" "GnuTLS" "GNU make" "iptables" "libtool" "libltdl" "libgcrypt" "libidn2" "libidn" "libmicrohttpd" "libunistring" "libjansson" "libjose" "libgmp" "libcurl" "Texinfo" "Texlive" "makeinfo" "pkgconf" "zlib" >results.txt && nano results.txt 2. 3. OBSERVED RESULT The results will not print to "results.txt" EXPECTED RESULT The script should search for the listed packages, and print the output to results.txt. Afterward, nano" opens results.txt, so that programmers can read the output from there. I am working on a group of system diagnostic programs that will be used for personal computer maintenance. About my Computer: Windows: macOS: Linux/KDE Plasma: 6.5.14 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION
Thanks for your report! Any bug reports are appreciated but the syntax of your command is wrong. If you want search for multiple strings use: grep "string1\|string2\|string3". If you write it like this: grep "string1" "string2", it will look for string1 in file named string2. It will basically return an error.