Tools and Tips

HOW TO FIND BLOCK SIZE IN LINUX AND UNIX

HOW TO FIND BLOCK SIZE IN LINUX AND UNIX [root@localhost ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/centos-root 52403200 32090448 20312752 62% / devtmpfs 6054664 0 6054664 0% /dev tmpfs 6069964 3747144 2322820 62% /dev/shm tmpfs 6069964 25516 6044448 1% /run tmpfs 6069964 0 6069964 0% /sys/fs/cgroup /dev/mapper/centos-home 150528192 33688 150494504 1% /home /dev/sda1 …

VI Cheatsheet

vi_cheat_sheet Modes Vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands …