cp and mv using wildcards and forgetting to specify a destination directory

It has happened to me several times that I used cp or mv with wildcards but I forgot to specify a destination directory. Here is an example of the mistake when collecting logs: ~# mkdir problem_logs ~# cd problem_logs ~/problem_logs# cp -pv /var/log/messages* ‘/var/log/messages’ -> ‘/var/log/messages.1’ You can see that I forgot to write the…

Details

Where is libclntsh.so.11.1?

I’m running RedHat 7 on Linux – I’m trying to run a cgi script using Apache (starting via apachectl start command) but am getting the error: AH01215: /opt/ops/cgi-bin/Create: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory: /opt/ops/cgi-bin/Create I’ve set my LD_LIBRARY_PATH to: /u01/app/oracle/product/12.2.0/client_1/lib:/usr/local/lib Followed with: sudo ldconfig.…

Details