# mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0700 tmpfs /space
Monthly Archives: December 2007
Get drectory name or file name using shell
Posted on December 19, 2007
Don’t have basename or dirname?
Don’t want to start another process every time you need a path?
Not a problem.
dirname == ${path%/*}
basename == ${path##*/}
