Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    Why do you say it doesn't run? What is the expected result from running it? Commented Sep 24, 2021 at 13:26
  • and, given that you are pulling install.sh from a remote server, where is .custom_rc? It is in your home directory, I would assume, right? Commented Sep 24, 2021 at 13:29
  • @eftshift0 I am using alias commands inside the .custom_rc file. Once the execution completed, I am unable to use the alias commands. But, when I manually run source ~/.custom_rc, alias commands works fine. Commented Sep 24, 2021 at 13:30
  • As an aside, you've declared the script as a bash script but you're running it with sh. That's potentially a problem. Commented Sep 24, 2021 at 13:31
  • @eftshift0 `.custom_rc' file is created within the shell script and moved to the home directory within the shell script. Commented Sep 24, 2021 at 13:31