Quick question, when I type ls -l in my terminal from "Desktop" folder the following two files pop up. They are not hidden since I don't use the -a flag and they cannot be seen on the physical desktop either.
Loodz# Desktop$ ls -l
total 264
...
-rw-r--r--@ 1 ludvigsmacbook staff 162 25 Maj 2020 ~$1303 svar tenta.docx
-rw-r--r--@ 1 ludvigsmacbook staff 162 19 Okt 2019 ~$en kursrapport.docx
...
I'm 100% sure that I did not name these ms word files starting with ~$
but the rest of the files are known to me. I managed to open the bottom file using open \~\$en\ kursrapport.docx
, but it could not be opened by word.
It would be interesting to get an understanding of this "special" file since I use the terminal daily and enjoy learning, in addition to being annoyed by the strange files.
hidden
flag, which hides them in the GUI but not the command line. Tryls -lO
, which will show file flags (along with the usual long listing).