pkill -HUP gnome-shellin another TTY (should not logout the user on X11)
systemctl restart gdm(will logout the user)
NFS mounts can be tricky. After an NFS request times out, NFS request are retried indefinitely by default. This can lead to unexpected hangs on the client. (1)
Use the mount option
soft to limit the number of retries to 3.
If an NFS share hangs, it can be unmounted as follows: Find the mount point using
mount and then
umount -f -l [mount point] (
-f for force and
-l for lazy unmount, i.e. detach now and cleanup references later) (2)
killall gsd-color(1) and, if that doesn’t work, follow it by
pactl load-module module-detect(2)
grep -L [string] [files](e.g.
grep -L foo *)
wipefs -a /dev/sd[x](1)
[cmd]that is shadowed by an alias (1), try:
rsync -ah --info=progress2 [source] [dest], where:
-a: ‘archive’ (equal to
-rlptgoD), where in turn:
-l: copy symlinks as symlinks
-p: preserve permissions
-t: preserve modification times
-g: preserve group
-o: preserve owner (requires root)
-D: preserve device (requires root) and special files
-h: ‘human readable’
--info=progress2: display progress info for whole transfer instead of individual files (
-v: print transferred files
--delete: delete extraneous files from destination
-u: skip files that are newer at destination
--dry-run: output changes without actually making them
--partial: keep partially transferred files in destination if transfer is aborted
lvresize -l +100%FREE /dev/mapper/[lv], e.g.
lvresize -l +100%FREE /dev/mapper/ubuntu--vg-root.
resize2fs -p /dev/mapper/[lv].