Friday, August 11, 2023

dd ---> data duplication command powerful command to manipulate copying " dd if=first.txt of=second.txt"

 dd [if=input_file] [of=output_file] [bs=block_size] [count=num_blocks]



  • if: Specifies the input file. This can be a regular file, a device (e.g., /dev/sda), or other data source. If not provided, dd will use standard input.
  • of: Specifies the output file. This can be a regular file, a device, or other data destination. If not provided, dd will use standard output.
  • bs: Sets the block size for data transfer. You can specify values like 1K, 4M, etc.
  • count: Specifies the number of blocks to copy.
  • skip: Skips a specified number of blocks before starting to copy data.
  • seek: Skips a specified number of blocks in the output file before writing data.
  • conv: Used for data conversion, such as changing the character encoding or converting uppercase to lowercase.
  • status: Shows the progress of the dd command.

No comments:

Post a Comment

Enable OpenSSH on Windows 11

Step 1: Install OpenSSH Server You can do this via PowerShell (run as Administrator ): Check if it's already available: Get-WindowsCapab...