Linux: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
New page: TODO: Insert distro-neutral Linux notes here.
 
Denis (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
TODO: Insert distro-neutral Linux notes here.
== Find UUID of a Volume ==
 
ls -la /dev/disk/by-uuid/
 
== List all Partitions ==
 
fdisk -l
 
== grep by Hex Value ==
 
grep $'[\xNN]'
 
== Migrate Filesystem to New Drive via rsync ==
 
rsync -avH --progress --delete -x /usr /mnt/gentoo

Latest revision as of 07:39, 19 November 2010

Find UUID of a Volume[edit]

ls -la /dev/disk/by-uuid/

List all Partitions[edit]

fdisk -l

grep by Hex Value[edit]

grep $'[\xNN]'

Migrate Filesystem to New Drive via rsync[edit]

rsync -avH --progress --delete -x /usr /mnt/gentoo