LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-22-2005, 03:33 AM   #1
szehanz
LQ Newbie
 
Registered: Mar 2005
Location: Singapore
Distribution: Solaris, Redhat
Posts: 14

Rep: Reputation: 0
problem deleting file using solaris command line.


hi everyone,

I got a file name --dNOPAUSE, it is a postscipt file.

I have problem deleting it from my home directory.

below are the details of what I get, when I use the
rm command to remove the file:

$ rm --dNOPAUSE
rm: illegal option -- -
rm: illegal option -- d
rm: illegal option -- N
rm: illegal option -- O
rm: illegal option -- P
rm: illegal option -- A
rm: illegal option -- U
rm: illegal option -- S
rm: illegal option -- E
usage: rm [-fiRr] file ...

Is there any command that can remove this type of file
in Solaris?

For your information, I am using Solaris 9.

Any help given will be greatly appreciated.

Good Day
szehanz
 
Old 03-22-2005, 04:03 AM   #2
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
try "rm *NOPAUSE*"
 
Old 03-22-2005, 07:52 PM   #3
szehanz
LQ Newbie
 
Registered: Mar 2005
Location: Singapore
Distribution: Solaris, Redhat
Posts: 14

Original Poster
Rep: Reputation: 0
hi technopark02,

thank you for your reply.

the command you mentioned does not work but
for your information, I manage to remove the file using the below command:

$ rm ./--dNOPAUSE

good day
szehanz
 
  


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
Deleting empty line at end of text file in BASH human2.0 Linux - General 8 04-01-2009 02:44 AM
Solaris 9 - Command line history itsjustme Solaris / OpenSolaris 4 08-03-2007 01:07 PM
nfs a file shares ok via file mngr but not command line. Suse 9.1 acummings Linux - Networking 2 10-09-2004 02:23 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
deleting a file via comman line PionexUser Linux - General 2 09-17-2003 12:27 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:10 PM.

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