Skip to content

Instantly share code, notes, and snippets.

@Krucamper
Created November 22, 2018 12:49
Show Gist options
  • Save Krucamper/1f8cdbaa92b896cb26b9777f96a0e3c8 to your computer and use it in GitHub Desktop.
Save Krucamper/1f8cdbaa92b896cb26b9777f96a0e3c8 to your computer and use it in GitHub Desktop.
command linux cp
cp [option] [File หรือ Directory ต้นทาง] [File หรือ Directory ปลายทาง]
/** คัดลอกfile file1.txt ไปที่ file2.txt **/
cp file1.txt file2.txt
/** ทำการคัดลอก file ทั้งหมดของ exam1 ไปที่ exam2 **/
cp -rv exam1 exam2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment