Solved

remove a file with characters can't been seen ....

Posted on 2003-12-10
2
150 Views
Last Modified: 2013-12-16
Hello Experts,

     When I created files in my directory, I make some mistake and include special characters in the file name. Therefore, I can not remove the file now !!! It is like :
----------------------------
home> ls
  meow@
home> rm meow@
  meow@: No such file or directory
-------------------------
 Therefore, is there anyway I can delete meow@ ??? Thanks a lot !!!

meow.....
0
Comment
Question by:meow00
  • 2
2 Comments
 
LVL 5

Expert Comment

by:arjanh
ID: 9914334
First of all, this might be a symbolic link to another file. Try 'rm meow'.
Otherwise you can try 'rm meow\@'
0
 
LVL 5

Accepted Solution

by:
arjanh earned 60 total points
ID: 9914394
It it IS a symbolic link, 'ls -l' will show something like
meow -> otherfile.txt
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now