2

I have found a directory while connecting to a linux ssh shell and i putty the name is ??? (I assume it to be so because of escape characters used for the name).


When I use the command ls -b I get 3 results, \t\t\t\ A_File.txt A_Directory but with a simple ls, all I get is A_File.txt A_Directory


Upon further research I have discovered the characters escapes to be Octal Escape Characters and when i type cd [tab][tab][tab] ([tab] = pressing tab) I get a new listing of files, ^I^I^I / A_Directory


How would you view the escaped character directory in this type of situation?

4

1 回答 1

2

你需要一个文字标签。使用 Bash,您可以使用

cd $'\t\t\t'

或者

printf -v tab '\t'
cd "$tab$tab$tab"
于 2013-05-02T01:54:24.427 回答