- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove file name "."
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:23 PM
тАО06-11-2009 05:23 PM
remove file name "."
I have file with name "." and it is not root directory but a file
how can i remove it and my FTP fail because of this file with name "."
please check my attachment.
Billion Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:39 PM
тАО06-11-2009 05:39 PM
Re: remove file name "."
Take a look at this one
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1244770620964+28353475&threadId=100983
Cheers
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:39 PM
тАО06-11-2009 05:39 PM
Re: remove file name "."
do listing in the current directory with `-il` and find the inode of the file. and remove the file if you feel its of no use.
ls -li
#find . -inum
Nasty One:
or do a # rm -i * < on the current Directoy>
It'll prompt for every file in the directory say y to the file you want to delete.
example:
$ rm -i *.job
rm: Remove test.job? n
rm: Remove test1.job? n
rm: Remove test2.job? n
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:43 PM
тАО06-11-2009 05:43 PM
Re: remove file name "."
An additional info about . and .. directory files.
Please check : man glossary
GLOSSARY ENTRIES
. (dot) A special file name that refers to the current
directory. It can be used alone or at the beginning of
a directory path name. See also path name resolution.
The dot also functions as a special command in the
Bourne and Korn shells, and has special meaning in text
editors and formatters, in parsing regular expressions
and in designating file names.
.. (dot-dot) A special file name that refers to the parent
directory. If it begins a path name, dot-dot refers to
the parent of the current directory. If it occurs in a
path name, dot-dot refers to the parent directory of
the directory preceding dot-dot in the path name
string. As a special case, dot-dot refers to the
current directory in any directory that has no parent
(most often, the root directory). See also path name
resolution.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 07:32 PM
тАО06-11-2009 07:32 PM
Re: remove file name "."
Seems unlikely. Perhaps ". " or ". ", ...
> please check my attachment.
A JPEG image? You couldn't copy and paste
the text?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 10:28 PM
тАО06-11-2009 10:28 PM
Re: remove file name "."
ll -b | vis -t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 11:38 PM
тАО06-11-2009 11:38 PM
Re: remove file name "."
hpenqb::root>ll -b | vis -t
total\s1771024
-rw-rw-r--\s\s\s1\spba4r\s\s\s\s\s\susers\s\s\s\s\s\s\s\s\s3584\sApr\s\s8\s10:27\s.\\015
here is the output. What to do next? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 11:47 PM
тАО06-11-2009 11:47 PM
Re: remove file name "."
Thanks for your command. It work! Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2009 12:31 AM
тАО06-12-2009 12:31 AM
Re: remove file name "."
It looks like the file is "." followed by a CR.
Inside a script you can do:
ll -b .^V^M
rm .^V^M
Where that's control-V then control-M.