Command of the day (13 Oct) - dirname

codlinuxdirname

dirname - Extract directory path

    dirname /path/file: Returns /path

    src_dir="$(dirname "$0")": In a script returns base directory

Return to Home Page