Linux for Beginners - Part 1
Learning something new can be overwhelming and difficult. Just by familurising yourself to certain princples over time can help progression. I want to introduce you to some very basic Linux commands over a five part series. Reading time will be about 60 seconds and even if you forget the commands and syntax, hopefully basic princples will remain.
After your OS installation you may want to edit some configuration files. Lets assume we are setting up a public facing server so X Windows (a pretty GUI) is not installed for security reasons
Lets open a file, edit, save and close.
To open a file for changes we will use the 'vi' command.
[rick111@ryanpartington ~]$ vi myconfigfile
Once the file is open, hit 'ESC' and then press 'i', this will put us into editing mode. At the bottom of the shell it should say 'INSERT'. Make your changes and hit 'ESC :wq' which will write the changes and quit.
If you've not made any changes and you want to close the file hit 'ESC :q'. If you've made changes but do not want to write them 'ESC :q!'
To summarize, the vi command can be used to edit files from the shell.
Stay tuned
Ryan Partington


