Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

16.4.2. fish를 사용하여 파일 수정

파일을 수정하려면 디렉터리를 생성하거나 게스트 가상 머신을 추가로 변경하려면 먼저 이 섹션의 시작 부분에 경고를 처리했습니다. 게스트 가상 머신을 종료해야 합니다. 6.7을 사용하여 실행 중인 디스크를 편집하거나 변경하면 디스크 손상이 발생합니다. 이 섹션에서는 /boot/grub/grub.conf 파일을 편집하는 예를 제공합니다. 게스트 가상 머신이 종료되었는지 확인하는 경우 다음과 같은 명령을 통해 쓰기 액세스 권한을 얻으려면 --ro 옵션을 생략할 수 있습니다.
guestfish -d RHEL3 -i

Welcome to guestfish, the libguestfs filesystem interactive shell for
 editing virtual machine filesystems.

 Type: 'help' for help on commands
       'man' to read the manual
       'quit' to quit the shell

 Operating system: Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
 /dev/vda2 mounted on /
 /dev/vda1 mounted on /boot

><fs> edit /boot/grub/grub.conf
파일을 편집하는 명령은 ,viemacs 를 포함합니다. 파일 및 디렉토리 작성을 위한 많은 명령(예: 쓰기,mkdir,upload, tar-in )도 존재합니다.