Artificial intelligent assistant

Can't remove files in the printer spool I can't remove files in the printer spool for some reason: $ sudo ls /var/spool/cups lists a bunch of files like 'c00083' etc. $ sudo rm /var/spool/cups/* rm: cannot remove '/var/spool/cups/*': No such file or directory What am I doing wrong?

You don't have permissions as a regular user to view the contents of the /var/spool/cups directory; `sudo ls` gave `ls` the permissions to view the contents, but your regular-user shell failed to read it when it tried to expand the `/var/spool/cups/*` wildcard, so it passed that string through verbatim to `rm`, which complained about that lack of a file named (precisely) `/var/spool/cups/*`.

Gather the actual filename(s) first, then pass them to `sudo rm`.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 159d7eb7515fd8447c879bb8119ae320