Difference between revisions of "Linux recover deleted files"

From Ever changing code
Jump to navigation Jump to search
(Created page with "Grep all block device for a string withing a deleted file and display 100 lines before and after the match sudo grep -i -a -B100 -A100 'string' /dev/sda1 > file.txt = Refere...")
(No difference)

Revision as of 13:03, 24 February 2018

Grep all block device for a string withing a deleted file and display 100 lines before and after the match

sudo grep -i -a -B100 -A100 'string' /dev/sda1 > file.txt

References

[Stackoverflow]