deleteing .doc file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers deleteing .doc file
# 1  
Old 05-25-2007
deleteing .doc file

hi i ama dunmmies in Unix.
I created a .doc file and copied it to unix via FTP as a ,doc file itself
i want to delete that file , i tried with rm command it does not work
file name is DDL's.doc
plz help Smilie
# 2  
Old 05-25-2007
Try :
rm "DLL's.doc"
or
rm DLL\'s.doc
or
try:
ls -l DLL?s.doc
and if only one file is listed
rm DLL?s.doc
# 3  
Old 05-25-2007
thanks for your help.........just before i got ur reply i tried the "" and it worked!!! earlier i was trying with single quotes and it was causing an issue..thansks anyway Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code: root@ojt:/home/ojt/Desktop# cat arts_life.doc and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies

2. UNIX for Dummies Questions & Answers

Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code: root@ojt:/home/ojt/Desktop# cat arts_life.doc and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (2 Replies)
Discussion started by: chams
2 Replies

3. UNIX for Dummies Questions & Answers

Making backup to .doc file .... sh

im tring to make backup to the files end with "doc" extension but the code give me error ... what is the problem!!!! #! /bin/sh if then for name in `ls *.DOC` do kk= $(printf "%s_temp" $name) cp $name $kk done else echo "error" (9 Replies)
Discussion started by: maga6610
9 Replies

4. UNIX for Dummies Questions & Answers

deleteing duplicate lines sing uniq while ignoring a column

I have a data set that has 4 columns, I want to know if I can delete duplicate lines while ignoring one of the columns, for example 10 chr1 ASF 30 15 chr1 ASF 20 5 chr1 ASF 30 6 chr2 EBC 15 4 chr2 EBC 30 ... I want to know if I can delete duplicate lines while ignoring column 1, so the... (5 Replies)
Discussion started by: japaneseguitars
5 Replies

5. Shell Programming and Scripting

Open and work on a .doc file with bash script

Hello there....unix users :) I hope you can help me with this: I need open a doc file or xls files and work this files whit a bash script. For example: Open a doc file and copy information from a txt file in this doc file or xls file. Is it possible? Sorry for my english...I'm chilean... (3 Replies)
Discussion started by: bobbasystem
3 Replies

6. UNIX for Dummies Questions & Answers

looking for patterns/tex in a .doc file

I'm learning Unix on my mac, and know that the grep command only works in text files. But what if I want to search for text/patters in a doc file, say? (I write my letters in NeoOffice and save them in .doc format). Is there a unix command that can do that? (4 Replies)
Discussion started by: Straitsfan
4 Replies

7. Shell Programming and Scripting

If doc file exist remove

I need help running a script. I have the script looking into a folder and converting .doc files to .odt. The script works fine except that I want it to only run when .doc files are present. If I can do this then I can put .xls files and .ppt files in the folder and convert them when they are... (2 Replies)
Discussion started by: handband2
2 Replies

8. Shell Programming and Scripting

deleteing

Dear Experts , I have 15 files and each files contains the data as mentioned below fileA name company salary job location nationality 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123... (4 Replies)
Discussion started by: shary
4 Replies

9. Linux

Deleteing archived files

Hi, I need to remove files that are in archive directory and which are old. I can make use of find command to search for files which are older by number of days. But the problem is there are sub directories in directory 'archive' like 'sub1' 'sub2' 'sub3'. Now all files which are in... (4 Replies)
Discussion started by: ramu_indian
4 Replies

10. Shell Programming and Scripting

Showing that something is deleteing

Hi there, I have a scritp that is clearing out old files from some directories, rather than echoing the name of the file when it gets deleted i want to echo a ". " I have tried to just echo it after the deletion but it lists like this . . . . I want to show it like this . . . . . . . . .... (1 Reply)
Discussion started by: nhatch
1 Replies
Login or Register to Ask a Question