How does Linux execute the vi editing program?
In Linux, you can use the following command to run the vi editor program:
- Open the terminal.
- Switch to the directory where the program edited in vi is stored using the cd command.
- ./program_name
- filename is test.c
- run the “test” command
- Press the Enter key to run the program.
In this way, Linux will execute the vi program that you have edited.