简体   繁体   中英

Unable to delete file via Bash

I have created a file via the kudu bash terminal called 'applicationHost.xdt'. This is part of the app service plan hosted by Microsoft Azure. For some reason, upon creation, the file was indented with a single space prefix in the directory. I need to delete this file, but am unable to get the terminal to see it. See below for some attempts at trying to figure it out:

在此处输入图片说明

Try rm space and then press the TAB key. It will list out all the files in the folder and loop through them one by one or display the list of files if multiple files exists and bash cannot detemine which to choose.

Or, rm *.xdt -f will work too.

Note: A better practice is to use underscore as prefix, however, feel free to choose any acceptable prefixes you like including $ , _ , etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM