1833875 Members
2206 Online
110063 Solutions
New Discussion

Open file

 
juno2
Super Advisor

Open file

I got a UNIX file , the file name is "ABC.REL;1" , how to use the file ? thx.
13 REPLIES 13
T G Manikandan
Honored Contributor

Re: Open file

mount the CD using -o cdcase
#mount -o cdcase /dev/dsk/xx /SD_CDROM

Ian Lochray
Respected Contributor

Re: Open file

It depends what you want to do with it. You can put it in single quotes i.e.
ls 'ABC.REL;1'. If there are no other files of a similar name in the directory then you can use wildcards i.e.
ls ABC*.
You could always rename it i.e.
mv 'ABC.REL;1' newname
Balaji N
Honored Contributor

Re: Open file

depends on what you wnat to do with the file. to little info to answer.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
juno2
Super Advisor

Re: Open file

How to extract the file ? thx.
Balaji N
Honored Contributor

Re: Open file

hi,
i guess it is some kind of a version controlled file.

did u try a more on this file. or try strings.

and what does file ABC.REL;1 gives.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
BFA6
Respected Contributor

Re: Open file

Is this file in a directory or on a CD you have mounted?

If it's on a CD you can try mounting the CD with -ocdcase option.

Regards,

Hilary
Trond Haugen
Honored Contributor

Re: Open file

Why don't you be more descriptive in where you have the file (CD/DDS/disk/...), and what you want to do with it (rename, copy, move, ...) and what kind of file you expect it to be (or as suggested run file on it).

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Yogeeraj_1
Honored Contributor

Re: Open file

hi,

where is the file located?

revert

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
juno2
Super Advisor

Re: Open file

the file is on the CD.
BFA6
Respected Contributor

Re: Open file

In that case use

mount -ocdcase /dev/dsk/cxtxdx /cdrom

Regards,

Hilary

Balaji N
Honored Contributor

Re: Open file

hi,
try mounting the cd with the -cdcase option.

mount -o cdcase

this should help.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Balaji N
Honored Contributor

Re: Open file

hi,

man mount_cdfs.

cdcase Suppress the display of version numbers.
Show and match file names as lower case.



regards
balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Balaji N
Honored Contributor

Re: Open file

just checked ur profile. u have never assigned points. how abt spending some time assigning points.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.