Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8541965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:57:00+00:00 2026-06-11T11:57:00+00:00

What does . (dot) mean as the destination of the cp command? For example:

  • 0

What does . (dot) mean as the destination of the cp command?

For example:

cp ~dir1/dir2/dir3/executableFile.x .

When this executes it copies the file successfully with the correct file name, but I’m wondering is this what a destination of ‘.’ will always do or is there another purpose?

Within the reference material I’ve seen, dots are used in front of files to indicate ‘hidden’, but in that has no relation to the command above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:57:02+00:00Added an answer on June 11, 2026 at 11:57 am

    dot represents the current directory
    while dotdot is the parent directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have this sed command applied on $1 wich is a file what
Possible Duplicate: What does dot (.) mean in a struct initializer? I have the
What does the dot mean? most of the time I just write that: <activity
Does anybody know why this function, when passed an invalid date (e.g. timestamp) to
Why does the Javascript function call isNaN(123.) return false? (notice the dot (.) after
Does the jquery-ui-1.8.2.custom.min.js file included with the themes you download from jqueryui.com differ from
What do T and S mean? public void main(String... abc) ; what does ...
Does Dot NET supports PKCS11 certificates for HSM devices. If not, are there any
Does dot net 3.5 provides some api to calculate crc32 for input data?I have
Here is a code snippet: div.note.note_expanded What does it mean? I understand div.className, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.