Provide Commands Flashcards
(6 cards)
1
Q
Create a loop device for a disk image
A
losetup -f disk.img
2
Q
Extract unallocated space from a disk image
A
blkls -o 2048 disk.img /unallocated.blk
3
Q
Mount an image in read-only mode
A
mount -t {type} -o ro,{other options} disk.img /mnt/point
4
Q
Hash a file using SHA-256
A
sha256sum file.type
5
Q
Recover a deleted file from an inode
A
icat -o 128 disk.img 35 > recoveredFile.type
6
Q
A