English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux ext2ed command

Linux Command大全

Linux ext2The ed command is ext2File system editing program.

ext2ed can directly process data on hard disk partitions, this command is only provided by Red Hat Linux.

Syntax

ext2ed

General instructions:

  • setdevice[device name] Specify the device to be processed.
  • disablewrite Set ext2ed to read-only status.
  • enablewrite Set ext2ed Set to read and write status.
  • help[command] Display the help of individual commands.
  • next Move to the next unit, the unit will vary depending on the current mode.
  • prev Move to the previous unit, the unit will vary depending on the current mode.
  • pgup Move to the next page.
  • pgdn Move to the previous page.
  • set Modify the current data, the parameters will vary depending on the current mode.
  • writedata Actual modification of the data in the partition will only occur after executing this command.
  • ext2Enter3Commands of various modes
  • super Enter the main superblock, that is, Superblock mode.
  • group<number> Enter the specified group, that is, Group mode.
  • cd<directory or file> In inode mode, enter the specified directory or file, that is, Inode mode.
  • Superblock mode
  • gocopy<backup number> Enter the specified superblock backup.
  • setactivecopy Copy the current superblock to the main superblock.
  • Group mode
  • blockbitmap Display the block map of the current group.
  • inode Enter the first inode of the current group.
  • inodebitmap Display the binary code of the current group's inode.
  • Inode mode
  • dir Enter directory mode.
  • file Enter file mode.

Linux Command大全