Search Results

Search: Posts Made By: datherriault
24,970
Posted By datherriault
Thanks Guys! Got it taken care of and I use rmdir...
Thanks Guys! Got it taken care of and I use rmdir ./-_12 and were able to removed it. Can also use cd ./-_12 to get in as well. What really surprise me though is that I was able to create that...
24,970
Posted By datherriault
$ rmdir -f '-_12' rmdir: illegal option -- _ ...
$ rmdir -f '-_12'
rmdir: illegal option -- _
rmdir: illegal option -- 1
rmdir: illegal option -- 2
Usage: rmdir [-fip] dirname ...

i2batch@phgp0486 [/interfaces/ip/pep/in/Run]
$ cd '-_12'...
24,970
Posted By datherriault
Did those as well and didn't work either. If I...
Did those as well and didn't work either. If I recalled in the past, I had to masked the first character so as not to be interpreted by the shell.
24,970
Posted By datherriault
I did try that... $ rmdir -f \-_12 rmdir:...
I did try that...
$ rmdir -f \-_12
rmdir: illegal option -- _
rmdir: illegal option -- 1
rmdir: illegal option -- 2
Usage: rmdir [-fip] dirname ...

I even thought of this one as well....
$...
24,970
Posted By datherriault
Remove directory that has special Characters
Hi All,

I have a script written that creates a new directory within the shell program and if a parameter isn't passed in, it creates a strange directory name by mistake. So I have a directory like...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy