Unable to copy a file with '$' in name in Linux

前端 未结 3 2111
遇见更好的自我
遇见更好的自我 2021-01-11 23:53

Inside of my Linux directory, I have a file named TopSample$Config.class. Whenever I try to copy this file to another location/directory, it is not allowing m

3条回答
  •  迷失自我
    2021-01-12 00:03

    Or replace the offending character with the filename metacharacter of '?', meaning "any one character". Note that while this might be more convenient and requires the fewest keystrokes, be aware that a filename of TopSample?Config.class will also match TopSampleaConfig.class, TopSamplebConfig.class, TopSamplecConfig.class, etc.

提交回复
热议问题