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 7551697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:33:45+00:00 2026-05-30T10:33:45+00:00

Consider the path ./images/1.png Here ./ means current directory.. ie. single dot in path

  • 0

Consider the path
./images/1.png

Here ./ means current directory..
ie. single dot in path refer to current directory .
similiarlly ../ refer to its parent directory .ie. two dots in path points to one directory back..

So how many back refernces are possible in a path. ie.is ‘…/’ allowed .If so what is its meaning? . and also meaning of ‘…./’.
?
Also which is correct ‘…./’ or ‘../../’ for the parent directory of the pparent directory of current directory..
Please give me a tutorial on relative paths
Assume that i have access in every directory of the server…

  • 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-05-30T10:33:47+00:00Added an answer on May 30, 2026 at 10:33 am

    Think of it as “real folders”, where . is a link to the current folder and .. to the parent one. There are no others (as long as you don’t create them, which is possible, but not really usefull), but there is also no need for others. If you want to go up two directories, just go up two directory: ../.. (and so on).

    • cd myfolder changes the work directory to the folder “myfolder”
    • cd . changes the work directory to the folder . (which is the current one)
    • cd .. changes the work directory to the folder .. (which is the parent one)

    At all: Nothing special 🙂 Just folders with curious names

    You can even type something like ./././, which only means the really “useful” expression “the current directory of the current directory of the current directory”.

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

Sidebar

Related Questions

Consider this: var i=$('<img src=/path/to/imgI.png/>'); var j=$('<img src=/path/to/imgJ.png/>'); $([i,j]).css('cursor','hand'); The cursor is not changed
Consider the following : $img_pathm = JURI::root().'images/properties/images/'.$this->datos->id.'/'; $peque_path = JURI::root().'images/properties/images/thumbs/'.$this->datos->id.'/'; $result = count($this->Images); $resultf
Consider the 2 following methods of reading a string from a file: NSString *path
Consider these two function definitions: void foo() { } void foo(void) { } Is
Consider a Button composed of many graphical elements (and Path ) drawn on Canvas
Consider the following simple RESTEasy (JAX-RS) service: @Path(/example-service) public interface ExampleService { @Path(/ping) @GET
Consider the following security problem: I have a static base path ( /home/username/ )
Consider the following two code samples: NSData *imgData = UIImagePNGRepresentation(imgFull); NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
Lets consider I have a class inside a really long module path: sux =
Consider: if len(trashed_files) == 0 : print "No files trashed from current dir ('%s')"

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.