The apostrophes aren't part of the file name. 'ls' puts theme there because the name has spaces in it.
If you use ls -N (or ls --literal) it will show the name without the quotes (apostrophes), or -b (--escape) to show with "\" instead.
You can use quotes to access the file, or Escape the space with a backslash (\ ). On the desktop you should leave the quotes out.
If you use ls -N (or ls --literal) it will show the name without the quotes (apostrophes), or -b (--escape) to show with "\" instead.
You can use quotes to access the file, or Escape the space with a backslash (\ ). On the desktop you should leave the quotes out.
Code:
rpdom@raspberrypi:/tmp $ ls -l MS\ Mincho.ttf -rw-r--r-- 1 rpdom rpdom 9081312 Jul 21 10:51 'MS Mincho.ttf'rpdom@raspberrypi:/tmp $ ls -l -N 'MS Mincho.ttf' -rw-r--r-- 1 rpdom rpdom 9081312 Jul 21 10:51 MS Mincho.ttfrpdom@raspberrypi:/tmp $ ls -l -N MS\ Mincho.ttf -rw-r--r-- 1 rpdom rpdom 9081312 Jul 21 10:51 MS Mincho.ttfrpdom@raspberrypi:/tmp $ ls -l -b MS\ Mincho.ttf -rw-r--r-- 1 rpdom rpdom 9081312 Jul 21 10:51 MS\ Mincho.ttf
Statistics: Posted by rpdom — Sun Jul 21, 2024 9:56 am