Provide Commands Flashcards

(6 cards)

1
Q

Create a loop device for a disk image

A

losetup -f disk.img

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Extract unallocated space from a disk image

A

blkls -o 2048 disk.img /unallocated.blk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Mount an image in read-only mode

A

mount -t {type} -o ro,{other options} disk.img /mnt/point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Hash a file using SHA-256

A

sha256sum file.type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Recover a deleted file from an inode

A

icat -o 128 disk.img 35 > recoveredFile.type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly