Linux:Bash Useful Tips: Difference between revisions

From queowiki
mNo edit summary
Line 4: Line 4:


(!) Beware that the rename command may work differently acc. to your Linux distribution
(!) 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  ==
<code>lvextend -l 100%FREE /dev/vg_base/var -r</code>

Revision as of 08:33, 7 February 2017

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