Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 03-22-2005, 03:33 AM   #1
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
Old 03-22-2005, 04:03 AM   #2
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
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 08:35 PM.

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