Carlo Bertini's personal website
Web Developer/ Devops and problem solver adept at programming
# Unmount the filesystem and check its’ LV umount /mnt/foo e2fsck -f /dev/mapper/vg0-foo
# Shrink ext4 and then the LV to the desired size resize2fs -p /dev/mapper/vg0-foo 40G lvreduce -L 40G /dev/mapper/vg0-foo
# Before continuing, run e2fsck. If it bails because the partition # is too small, don’t panic! The LV can still be extended with # lvextend until e2fsck succeeds, e.g.: # lvextend -L +1G /dev/mapper/vg0-foo e2fsck -f /dev/mapper/vg0-foo
M-x replace-string C-q C-m return
Simple but power command to search text inside file ed order list file by date ….. thx to google and all user
grep -rl ‘REGEX’ * | xargs ls -trl
wac.exe is a small command line utility that lets you use ANSI colors on Windows. link https://github.com/aslakhellesoy/wac
how to start emacs in terminal-mode instead of graphical mode ? the solutions is :
emacs -nw
if you have this message
you’are using a 64-bit WINEPREFIX, most of winetricks hasn’t been fixed for win64 yet.
rm $HOME/.wine -rf export WINEARCH=win32 export WINEPREFIX=$HOME/.wine/
now, you use wine 32 bit into gentoo (or other distro) 64 bit :D