I get the following error when i enter the command:
printf '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/newwkhtmltopdf.sh
bash: /usr/bin/newwkhtmltopdf.sh: Permission denied.
I have tried the apt update and even when to the ubuntu packages platform to download the wkhtmlopdf package. Please can someone help me with this??
/usr/bin
. If your new script must reside in/usr/bin
(e.g. because other users need it), usesudo
. Otherwise, create the script in your$HOME
. – Jos Mar 20 '23 at 11:02