On 12/7/25 2:26 PM, Stephen Morris wrote:
On Mon, 8 Dec 2025 08:08:40 +1100 Stephen Morris<[email protected]> 
wrote:

sudo cat /boot/loader/entries/*6.17.1*
[sudo] password for steve:
cat: '/boot/loader/entries/*6.17.1*': No such file or directory
This is normal because:

   - /boot/loader/entries is only readable by root
   - the shell keeps by default the wildcards (the * here) if there is no match
   - sudo do not expand wildcards nor call a shell to do that
Thanks Francis, if the name of the file is a long string as it was in this case, is there an abbreviation we can use to not have to type the full name?

There isn't.  Just do "sudo -i" and run commands as root.

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to