CS-Toolbelt

CS-Toolbelt

Linux Tips

Mounting windows share from Linux Box

sudo apt install cifs-utils

sudo mount.cifs //WinowsBox/ShareLocation /media/share -o user=bulent

Creating Disk Image and monitoring progress with progress viewer pv application.

sudo dd if=/dev/sdb1 bs=4M | pv | sudo dd of=/media/share/usb_diskimage.img bs=4M

Mount the image you created into the file system as folder

sudo mount -o loop /media/share/usb_diskimage.img /media/imgdisk