How do I get to the desktop folder in Linux terminal?

Khánh Đoan

New member
How do I get to the desktop folder in Linux terminal?
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.
Photo in the article by “DeviantArt”
Code:
https://www.deviantart.com/paradigm-shifting/art/PSEC-2011-Jesus-Christ-the-Master-of-Sarcasm-559041667
How to edit file using vi utility on Linux?
  • 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!
 

Tìm kiếm

Back
Top