KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my perl script, I have the param $FILE=/etc/sysconfig/network in which way (in perl) I can cut only the directory and put the directory in $DIR param in order to get: $DIR=/etc/sysconfig (like dirname /etc/sysconfig/network in shell script)
Tags (comma-separated)
Save Edits
Cancel