Show all Linux users

awk -F: '{ print $1 }' /etc/passwd
Advertisements

extend Linux swap with LVM

8  swapon -s
9  lvdisplay | more
10  swapoff -v
11  swapoff -v /dev/vg_server010/lv_swap
13  lvm lvresize /dev/vg_server010/lv_swap -L +8G
14  mkswap /dev/vg_server010/lv_swap
15  swapon -va
16  cat /proc/swaps free
17  swapon -s