Linux:Bash Useful Tips

From queowiki
Revision as of 08:33, 7 February 2017 by Queo (talk | contribs)

Renaming multiple files with the same extension in CentOS

rename .ext .ext.bak *.ext

(!) Beware that the rename command may work differently acc. to your Linux distribution

Extending a LV (ext4/xfs) with all available space with one command

lvextend -l 100%FREE /dev/vg_base/var -r