Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- NEWDIR="Test"
- mkdir /home/shoutcast/$NEWDIR
- ^^^^^^^^^^^^^^^^^^^
- That's my mkdir script that's I'm attempting, however it comes up with this error.
- root@fuzzyhost:/home/shoutcast# ./mkdir.sh
- : No such file or directoryin/bash
- mkdir: cannot create directory '/home/shoutcast/Test\r': File exists
- I can type mkdir /home/shoutcast/Test and it works... However then in my FTP client I see TWO folders named Test. The one I created and can enter/delete and the one that I can't...
- rmdir: failed to remove '/home/shoutcast/Test': No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement