green dotファイルのコピー

cp (copy)コマンドは、ファイルやディレクトリを別のファイルにコピーする。 複写元、複写先にはファイル名やディレクトリ名を指定する。
  cp [-ipr] 複写元 複写先

【例】

  $ ls -F
  aa      work/
  $ cp aa bb  ←ファイル aa をファイル bb`にコピー
  $ cp aa work  ←ファイル aa をディレクトリ work の中にコピー
  $ cp -r work work2  ←ディレクトリ work をディレクトリ work2 にコピー
  $ ls -F
  aa     bb     work/   work2/
  $
line-end