hidden characters
See filenames
scripting or other reasons can cause weird characters.
- create a file from ls
- show the characters by reading the file
5762/7976MB 0.00 0.00 0.00 1/189 28350
[17029:16904 0:1988] 06:49:27 Sat Nov 26 [root@vhosts:/dev/pts/0 +1] ~
(1:1988)# cat -vet myls
total 160$
drwx------ 8 root root 4096 Nov 26 18:49 ./$
drwxr-xr-x 23 root root 4096 Nov 21 13:00 ../$
-rw------- 1 root root 64347 Nov 26 14:45 .bash_history$
-rw-r--r-- 1 root root 903 Nov 7 2019 .bashrc$
drwx------ 2 root root 4096 Jan 28 2019 .cache/$
-rw-r--r-- 1 root root 0 Nov 21 13:00 .cloud-locale-test.skip$
drwx------ 3 root root 4096 Jan 28 2019 .gnupg/$
-rw------- 1 root root 95 Jan 30 2019 .mysql_history$
-rw-r--r-- 1 root root 148 Aug 17 2015 .profile$
-rw-r--r-- 1 root root 75 Jan 28 2019 .selected_editor$
drwx------ 2 root root 4096 Oct 29 08:15 .ssh/$
drwxr-xr-x 2 root root 4096 Nov 26 2020 .vim/$
-rw------- 1 root root 30566 Oct 6 14:15 .viminfo$
-rw-r--r-- 1 root root 185 Nov 26 18:25 .wget-hsts$
drwxr-xr-x 2 root root 4096 Jan 11 2020 somesite.com/$
-rw-r--r-- 1 root root 1439 Feb 7 2019 halo.sh$
-rw-r--r-- 1 root root 99 Mar 8 2022 id_ed25519.pub$
-rw-r--r-- 1 root root 0 Nov 26 18:49 myls$
drwxr-xr-x 2 root root 4096 Jan 11 2020 workerboost.com/$