bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a directory name with '/' in it?


From: Chris F.A. Johnson
Subject: Re: How to make a directory name with '/' in it?
Date: Sun, 16 May 2010 11:51:20 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

On Sun, 16 May 2010, Peng Yu wrote:

> I tried the following command to create a dir with '/' in the name.
> But it only create a directory with name 'm'. Is there a way to make a
> directory with '/' in the name?
> 
> mkdir m\/\/

   There are two characters that cannot be in a file or directory
   name: / and NUL.

-- 
   Chris F.A. Johnson, <http://cfajohnson.com>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]