Linux Viewing & Editing Files
There are many, many commands one can use to navigate through the terminal on Linux. However, there are a few commands that will become commonly used. One that will be used very often is the 'ls' command, which is a command that lists the files and directories within the present working directory. It has a few options which you can use to filter down your results or make your listed results easier to read. Another common one will be 'cd', which is change directory. This command will allow you to traverse between file locations to get to the ones you need to be in.
The Vi editor is a utility which Linux has to edit, as well as create, files. The Vi editor has 3 modes: Command, Command Line & Edit.
- Command mode is the one which you begin the utility in. You can cut and replace, and in Command mode you can access the other modes.
- Command Line mode loads files and saves files once editing is completed.
- Insert mode is where the user can insert or add text into the file they are working on.
Overall, this reading was straight-forward and easy to understand. I have dappled with CLI before, so much of this was review.
No comments:
Post a Comment