How to use the Linux ext2ed command

Source: Internet
Author: User

Ext2ed can directly process data on hard disk partitions. This command is only available in Red Hat Linux.

Syntax

Ext2ed

General commands:

  • Setdevice [Device Name] specifies the device to process.
  • Disablewrite sets ext2ed to read-only.
  • Enablewrite sets ext2ed to read/write status.
  • Help [command] displays the help of some commands.
  • Next is moved to the next unit. The unit varies according to the current mode.
  • The prev is moved to the previous unit. The unit varies according to the current mode.
  • Move pgup to the next page.
  • Move pgdn to the previous page.
  • Set modifies the current data. The parameters vary according to the current mode.
  • After executing this command, writedata will actually modify the data in the partition.
  • Ext2 commands in three modes
  • Super enters the main superblock mode, that is, Superblock mode.
  • Group <NO.> enter the specified group, that is, the Group mode.
  • Cd <directory or file> in inode mode, enter the specified directory or file, that is, Inode mode.
  • Superblock mode
  • Gocopy <backup number> to go to the specified superblock backup.
  • Setactivecopy copies the current superblock to the main superblock.
  • Group mode
  • Blockbitmap shows the current block map of groupo.
  • Inode enters the first inode of the current group.
  • Inodebitmap displays the inode binary code of the current group.
  • Inode mode
  • Dir enters the directory mode.
  • File enters the file mode.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.