Linux Comm Ext2Ed
# Linux ext2ed Command
[ Linux Command Manual](#)
The Linux ext2ed command is an ext2 file system editor.
ext2ed can directly handle data on hard disk partitions. This command is only provided by Red Hat Linux.
### Syntax
ext2ed
General commands:
* setdevice Specifies the device to be processed.
* disablewrite Sets ext2ed to read-only mode.
* enablewrite Sets ext2ed to read-write mode.
* help Displays help for a specific command.
* next Moves to the next unit. The unit type depends on the current mode.
* prev Moves to the previous unit. The unit type depends on the current mode.
* pgup Moves to the next page.
* pgdn Moves to the previous page.
* set Modifies the current data. Parameters depend on the current mode.
* writedata After executing this command, the data in the partition will actually be modified.
* ext2 Commands to enter 3 modes
* super Enters the main superblock, i.e., Superblock mode.
* group Enters the specified group, i.e., Group mode.
* cd In inode mode, enters the specified directory or file, i.e., Inode mode.
* Superblock mode
* gocopy Enters the specified superblock backup.
* setactivecopy Copies the current superblock to the main superblock.
* Group mode
* blockbitmap Displays the block bitmap of the current group.
* inode Enters the first inode of the current group.
* inodebitmap Displays the inode bitmap of the current group.
* Inode mode
* dir Enters directory mode.
* file Enters file mode.
[ Linux Command Manual](#)
YouTip