So if I type in my $file ="home/test/sever/default/test.log.2005.03.04";
That should work ? I don't need to change to the Test directory from home ? | [reply] |
| [reply] |
It does not work I tried it and keep getting a message
No such file or directory
Maybe I have my syntax wrong?:
my $file ="/opt/directoryname/directoryname/directoryname/sever/default/log/log.2005.03.04";
| [reply] |
But my directory that I'm in does not have Home underneath it, it has nothing underneath it. That's my problem I'm trying to access a directory but am unable to do cd to go back to the root directory and then open the file.
| [reply] |