SHARE
TWEET

Untitled

a guest Jan 14th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top