LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2002, 10:43 AM   #1
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Rep: Reputation: 15
delete fle #a.c# created by emacs


delete fle #a.c# created by emacs on coomand line rm dosen't work
 
Old 02-26-2002, 11:48 AM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
what was it you typed? and what was the error got.

You make sure the file is there by typing:
ls

Which should print out the contents of a folder.
 
Old 02-26-2002, 12:41 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I've had to get rid of these annoying files also and I believe I used the shred -u method. Are you using rm by itself or rm -f? That would make a difference as well.
 
Old 02-26-2002, 02:11 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
try to escape # with \
rm -f \#a.c\#
 
Old 02-28-2002, 11:10 AM   #5
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks

I just forgetten basics # is used in shell for comment, so i am getting message as too few arguments. Thanks for reminding me to use escape \# seq.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete partition created by YAST trying to install SUSE 9.2 giuliano1 Linux - Newbie 1 05-03-2005 11:14 PM
how to delete file created as cat > --vp manikanth04 Linux - General 2 10-03-2004 06:51 AM
If I delete files are new ones created?? BajaNick Linux - Software 1 07-06-2004 11:07 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
Can someone help me with the XF86Config fle; resolution not going to 1024x768 qanopus Linux - Hardware 3 02-06-2004 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration