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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:15:46+00:00 2026-06-10T19:15:46+00:00

I am by no means a novice user on Linux, but I just don’t

  • 0

I am by no means a novice user on Linux, but I just don’t understand why one has to put . in front of this command:

. ~/nvm/nvm.sh

For those in the know, this is how to activate the nvm bash script (it allows for a virtual environment in the NodeJS universe). But if one does not put that starting period in front of the command, then things don’t work out. As far as I know, the “.” means current directory. Yet if I do this:

cd ~/nvm
nvm.sh

or this

~/nvm/nvm.sh

It will not work. Why? Why must one put “.” and then a space before running this command.

  • 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-10T19:15:47+00:00Added an answer on June 10, 2026 at 7:15 pm
    . ~/nvm/nvm.sh
    

    It asks the interpreter to interpret the script in the current process. In bash it’s equivalent to:

    source ~/nvm/nvm.sh
    

    You need to execute a script in the current process if you want it to change the environment (variables, et al). You can view more details with help .


    ~/nvm/nvm.sh
    

    This one actually runs the script in a new bash process. It cannot change the environment of the parent, for example it cannot export variables to the parent process.

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

Sidebar

Related Questions

What does conform to means in IPhone Development? This word is extensively used but
I notice that there is getWebApplicationContext in org.springframework.web.servlet.mvc.AbstractController . This means that spring programmers
Protected Means, we can access this member only in a deriving class, and internal
Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands
I require a means of checking to see if a string has the following
I've never seen this done, but i get a feeling that there's gotta be
Assuming I have a table like this one: CREATE TABLE user_delegates ( [id] INT
what does this function means function entre2v2($text,$marqueurDebutLien,$marqueurFinLien) { $ar0=explode($marqueurDebutLien, $text); $ar1=explode($marqueurFinLien, $ar0[1]); $ar=trim($ar1[0]); return
I have this view Helper: $this->addElement('text','evt_amtpersons', array( 'description' => '<a id=buyCredit href=/user/register target=_blank>Dit is
I'm mostly an oracle novice, so forgive me if this is a stupid question...

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.