What does the number in parentheses shown after Unix command names in manpages mean?

It’s the section that the man page for the command is assigned to. These are split as General commands System calls C library functions Special files (usually devices, those found in /dev) and drivers File formats and conventions Games and screensavers Miscellanea System administration commands and daemons Original descriptions of each section can be seen … Read more

Downloading Java JDK on Linux via wget is shown license page instead

Works as of December 23rd, 2021 for JDK 17 wget –no-check-certificate -c –header “Cookie: oraclelicense=accept-securebackup-cookie” https://download.oracle.com/java/17/archive/jdk-17.0.1_linux-x64_bin.rpm Works as of July 27th, 2021 for JDK 16 wget –no-check-certificate -c –header “Cookie: oraclelicense=accept-securebackup-cookie” https://download.oracle.com/otn-pub/java/jdk/16.0.2%2B7/d4a915d82b4c4fbb9bde534da945d746/jdk-16.0.2_linux-x64_bin.rpm Works as of November 5th, 2020 for JDK 15 wget –no-check-certificate -c –header “Cookie: oraclelicense=accept-securebackup-cookie” https://download.oracle.com/otn-pub/java/jdk/15.0.1+9/51f4f36ad4ef43e39d0dfdbaf6549e32/jdk-15.0.1_linux-x64_bin.rpm Works as of 07-11-2020 for JDK 14 … Read more

Bash ignoring error for a particular command

The solution: particular_script || true Example: $ cat /tmp/1.sh particular_script() { false } set -e echo one particular_script || true echo two particular_script echo three $ bash /tmp/1.sh one two three will be never printed. Also, I want to add that when pipefail is on, it is enough for shell to think that the entire … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)