The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
unable to create any directory that uses numbers as the directory name
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
unable to create any directory that uses numbers as the directory name
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-20-2007
Perderabo
Unix Daemon
Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,712
I agree... very odd.
Try making a substitute command. With bash or ksh:
function xmkdir {
perl
-e 'mkdir(shift)' $1 ; }
xmkdir 12
Does that work? What about "mkdir ./12" and "xmkdir ./12"? What about "touch 12"?
Perderabo
View Public Profile
Find all posts by Perderabo