LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is the pipe (|) an illegal character for unix/linux filenames? (https://www.linuxquestions.org/questions/linux-general-1/is-the-pipe-%7C-an-illegal-character-for-unix-linux-filenames-25275/)

Foebane 07-07-2002 05:49 PM

Is the pipe (|) an illegal character for unix/linux filenames?
 
I have three questions, really:

1. Is the pipe character (|) an illegal character in either linux or unix filenames?

2. Are Unix/Linux CD-ROMs readable by MS-DOS/Windows, or do they have to be converted first?

3. If there is an emulation of Windows in Linux, are the filenames compatible with each other or not?

Thank you. I hope to get a reply to these soon.

pickledbeans 07-07-2002 05:58 PM

1. I don't if it illegal or not , but I would advise against it.

2. What do you mean readable? The easitest thing todo
is boot to M$ put the CD in and see what happens :)

3. Wine, vmware, lin4win

doublefailure 07-07-2002 06:02 PM

u can try \| (backslash)
if u want,,
but i wouldn't recommend it..

Foebane 07-07-2002 06:23 PM

By readable, I mean could you read the contents of a file directory from a linux/unix CD-ROM into MS-DOS/Windows?

pickledbeans 07-07-2002 06:37 PM

Quote:

Originally posted by Foebane
By readable, I mean could you read the contents of a file directory from a linux/unix CD-ROM into MS-DOS/Windows?
Like I said, put the sucker in the drive and try it? The worst
thing that will happen is it won't work :)

Foebane 07-07-2002 07:15 PM

OK, I'll level with you - I don't have Linux, Unix or any CD-ROMs for those operating systems. I don't have a means of trying my question on my own, I need input from someone who does! Get me?

trickykid 07-07-2002 07:32 PM

Quote:

Originally posted by Foebane
OK, I'll level with you - I don't have Linux, Unix or any CD-ROMs for those operating systems. I don't have a means of trying my question on my own, I need input from someone who does! Get me?
In most cases you might be able to see all the directories and files on the cd while within Windows, but you won't be able to execute or read the files.

RefriedBean 07-08-2002 12:16 AM

Hi!
1., You could if you *really* wanted to, by using the escape characher '\' followed by the character you want to use, so if you want to have | in your filename you could use file\|.txt or whatever. The previous example would produce the following name 'file|.txt'

2. Well, almost all CD's use the iso9660 filesystem, and windows and *nix can read it. The 'other' cd's are so rare, I've never seen one of them in my life (well, except for audio CD's :p)

3. Well, you could use wine, vmware etc. I'm not sure what you mean by 'compatible', but I can read any windows file in linux, without any problems.

Good Luck!
RefriedBean


All times are GMT -5. The time now is 06:32 AM.