Khánh Đoan
New member
How do I get to the desktop folder in Linux terminal?
Answer
Summary:
How to edit file using vi utility on Linux?
Answer
Summary:
- To manage your files, you can use either the GUI(File manager) or the CLI(Terminal) in Linux.
- You can launch the terminal from the dashboard or use the shortcut key Cntrl + Alt + T.
- The pwd command gives the present working directory.
- You can use the cd command to change directories.
Code:
https://www.deviantart.com/paradigm-shifting/art/PSEC-2011-Jesus-Christ-the-Master-of-Sarcasm-559041667
- Connect to the server via SSH.
- Install improved vi editor: # yum install vim -y (CentOS/RHEL/CloudLinux)
- Start editing the required file by typing:
- In the text editor, press computer’s i key to edit the file.
- After editing the required string or pasting the text, press Esc button.
- To discard the changes, type :q!