Advertisement
Guest User

Untitled

a guest
Jan 14th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1.  
  2.  
  3. ~ (tilde) means you are inside the home directory
  4. / means you are inside the system root directory. Only here will you be able to search for system files like /etc configuration files.
  5. $ means a CLI of a normal user
  6. # means a CLI of root user
  7.  
  8. When cd'ing to directories, there is no need to append a / to the beginning. And in windows as well.
  9.  
  10. I think blue are directories
  11.  
  12. Left slash is windows. Right slash is linux. linux will not understand left slash and it will just
  13. concatenate all the path together.
  14.  
  15. >scp C:\Bar\hello.txt root@{myinstance}:/home > this works
  16. scp -r C:\Bar\Servers\demo-app root@{ip}:/usr/share/nginx/html > works for directories
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement