Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a directory.

Status
Not open for further replies.

ashish061291

Programmer
Jan 30, 2012
11
hi...

How can I create a directory named "/tmp/abc/xyz" from my perl code.

Thanks..
 
Actually through my perl code I am generating some files and I want to store them at a particular location in "/tmp" directory.

So how can I achieve that ??
 
What part are you having a problem with? Any error messages? Any code?

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
I am calling blktrace tool from my Perl code.
The output of this tool gets saved on the current directory.

From my perl code I want to go to "/tmp/xyz" directory.

I know on terminal i can achieve it by "cd /tmp/xyz".
But then how to do it from my perl code ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top