Professional Documents
Culture Documents
TP 5: Linux/Unix Practice
TP 5: Linux/Unix Practice
Choose “Install CentOS 7” and press “Enter” from your keyboard. The installation of
CentOS will start immediately.
Choose your desired language for installation and click Continue when you are done. We
have chosen English
We have three major setting categories and those are Localization, Software, and System.
The installation will start immediately. Sit back and relax while it completes. In the
meantime, you can set the root password and create a user. Click the “Root Password”.
Provide a strong root password and reenter to verify. Click “Done” when you are finished.
After finishing providing the root password. You can go ahead creating a user. Click a “User
creation”
The cd Command:
This command allows you to change the current directory and go to another
The ls Command:
Lists the files available in a directory, if called without arguments, ls lists the files in the
current directory
Editors:
Editor vi :
Type the command "vi text" to open the file in the vi text editor
Use the "j" (bottom), "k" (top), "h" (left), or "L" (right) to navigate the document.
Press the "i" key to insert text before the cursor. Press the "a" key to insert text after the
cursor. Press the "R" key to replace characters. Press the "X" key to delete characters.
Press the "ESC" key to return to command mode and continue browsing the document.
Type ": wq" to save and close the document
The mv Command:
This command is used to rename or move a file or directory.