Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
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.


  Search this Thread
Old 03-22-2005, 04: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, 05: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, 08: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 03:44 AM
Solaris 9 - Command line history itsjustme Solaris / OpenSolaris 4 08-03-2007 02:07 PM
nfs a file shares ok via file mngr but not command line. Suse 9.1 acummings Linux - Networking 2 10-09-2004 03:23 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
deleting a file via comman line PionexUser Linux - General 2 09-17-2003 01:27 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

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

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