Linux/Hard Drive Management: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Create page)
(No difference)

Revision as of 04:40, 6 November 2019

Various commands and tools to manage disks in Linux.


View currently attached drives/devices:

  • lsblk

GUI Hard Drive Management:

  • Use the gparted program.

Copy Files Locally:

  • dd if=<input_location> of=<output_location> status=progress conv=fsync

Copy Files Over a Network:

  • rsync -avh <input_location> <output_location>
  • Note that input/output locations can be a local file path or a network path. If it's a network path, then it takes the format of:
    • <username>@<network_location>:<input_or_output_location>