Skip to content

Commit

Permalink
cp
Browse files Browse the repository at this point in the history
  • Loading branch information
snarlferb committed Jul 27, 2024
1 parent e8fbad3 commit 22da08e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sh.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@

This applies to those files you want to execute as well.

<b>./</b> is a reference to the current directory, and <b>./*</b> is a shell globbing pattern that matches files and
directories in the current directory. <em>We'll talk more about globbing later</em> They both have a catch in that they
dont help in situations where you need to include hidden files or directories; i.e. when using e.g., `-a` flag.
Instead you should just use a plain dot.

<b>cp -a . /dir</b>

Copying files and directories is done with this <b>cp</b> command...
"Change directory", <b>cd</b> traverses you forward or backward to a relative or absolute
file path location, wherein you could point and run that file relatively, as we said.
We'll also describe how environment variables work.
Expand Down

0 comments on commit 22da08e

Please sign in to comment.