Wednesday, March 27, 2013

Extract File Basename Without Path and Extension in Bash

    $ s=/the/path/foo.txt  $ echo ${s##*/}  foo.txt  $ s=${s##*/}  $ echo ${s%.txt}  foo  $ echo ${s%.*}  foo

Proxmox installation display out of range

Reference:  https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/