write mistake bash_profileCan't login to server with SSH because of a script in /etc/profile.d exiting with...
Do creatures all have the same statistics upon being reanimated via the Animate Dead spell?
Windows 10 Programs start without visual Interface
Did airlines fly their aircraft slower in response to oil prices in the 1970s?
If Sweden was to magically float away, at what altitude would it be visible from the southern hemisphere?
Preserving culinary oils
Smart people send dumb people to a new planet on a space craft that crashes into a body of water
Is having a hidden directory under /etc safe?
Is it possible to change original filename of an exe?
Term for checking piece whose opponent daren't capture it
What is the difference between nullifying your vote and not going to vote at all?
Infinitely many hats
How should I push back against my job assigning "homework"?
What does the behaviour of water on the skin of an aircraft in flight tell us?
How crucial is a waifu game storyline?
My player wants to cast multiple charges of magic missile from a wand
Creating Fictional Slavic Place Names
What are the slash markings on Gatwick's 08R/26L?
Can non-English-speaking characters use wordplay specific to English?
Why were the Night's Watch required to be celibate?
How can I offer a test ride while selling a bike?
Strange math syntax in old basic listing
Are UK pensions taxed twice?
Why does the UK have more political parties than the US?
Expenditure in Poland - Forex doesn't have Zloty
write mistake bash_profile
Can't login to server with SSH because of a script in /etc/profile.d exiting with exit status 1Can't access server after rvm installBash: why isn't “set” behaving like I expect it to?None of the dot-files is sourced when running bash via ssh, part IIRVM + TMUX—Duplicate entries in $PATHcalling Bash Function from alias definitionClarification on updating path in bashrcCan't SSH into Debian (Jessie) on Google Compute After ChangesWhy is a directory added to my PATH?How to set environment variables to path so it can be read from GUI and command line from the same program?Why isn't .bashrc read when switching user?Trying to export a path from inside a bash script
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am a beginner of GCE, I want to install Scala on Google Cloud Shell, so I first install the brew, however when I added the brew path to bash_profile, I did a mistake.
First of All, I downloaded the brew.
Then I wanted to add bew path so I created a bash_profile under the root using vi ~/.bash_profile
Then I wrote the following lines in that file:
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
source ~/.bash_profile
Now, I know I need to type "source ~/.bash_profile" in prompt not in the bash_profile. But at that time I didn't notice that, and I saved the file, after that, I can no longer open the google cloud shell, it always shows the following infor:
It said that Cloud Shell session closed before the initial prompt displayed, I can only access could shell in safe mode, cannot access the normal could shell using the button , does anyone have ideas about how to solve this problem? Thank you in advance for your help!
linux bash google-cloud brew
New contributor
add a comment |
I am a beginner of GCE, I want to install Scala on Google Cloud Shell, so I first install the brew, however when I added the brew path to bash_profile, I did a mistake.
First of All, I downloaded the brew.
Then I wanted to add bew path so I created a bash_profile under the root using vi ~/.bash_profile
Then I wrote the following lines in that file:
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
source ~/.bash_profile
Now, I know I need to type "source ~/.bash_profile" in prompt not in the bash_profile. But at that time I didn't notice that, and I saved the file, after that, I can no longer open the google cloud shell, it always shows the following infor:
It said that Cloud Shell session closed before the initial prompt displayed, I can only access could shell in safe mode, cannot access the normal could shell using the button , does anyone have ideas about how to solve this problem? Thank you in advance for your help!
linux bash google-cloud brew
New contributor
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago
add a comment |
I am a beginner of GCE, I want to install Scala on Google Cloud Shell, so I first install the brew, however when I added the brew path to bash_profile, I did a mistake.
First of All, I downloaded the brew.
Then I wanted to add bew path so I created a bash_profile under the root using vi ~/.bash_profile
Then I wrote the following lines in that file:
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
source ~/.bash_profile
Now, I know I need to type "source ~/.bash_profile" in prompt not in the bash_profile. But at that time I didn't notice that, and I saved the file, after that, I can no longer open the google cloud shell, it always shows the following infor:
It said that Cloud Shell session closed before the initial prompt displayed, I can only access could shell in safe mode, cannot access the normal could shell using the button , does anyone have ideas about how to solve this problem? Thank you in advance for your help!
linux bash google-cloud brew
New contributor
I am a beginner of GCE, I want to install Scala on Google Cloud Shell, so I first install the brew, however when I added the brew path to bash_profile, I did a mistake.
First of All, I downloaded the brew.
Then I wanted to add bew path so I created a bash_profile under the root using vi ~/.bash_profile
Then I wrote the following lines in that file:
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
source ~/.bash_profile
Now, I know I need to type "source ~/.bash_profile" in prompt not in the bash_profile. But at that time I didn't notice that, and I saved the file, after that, I can no longer open the google cloud shell, it always shows the following infor:
It said that Cloud Shell session closed before the initial prompt displayed, I can only access could shell in safe mode, cannot access the normal could shell using the button , does anyone have ideas about how to solve this problem? Thank you in advance for your help!
linux bash google-cloud brew
linux bash google-cloud brew
New contributor
New contributor
New contributor
asked 2 hours ago
arronarron
1
1
New contributor
New contributor
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago
add a comment |
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
arron is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521646%2fwrite-mistake-bash-profile%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
arron is a new contributor. Be nice, and check out our Code of Conduct.
arron is a new contributor. Be nice, and check out our Code of Conduct.
arron is a new contributor. Be nice, and check out our Code of Conduct.
arron is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f521646%2fwrite-mistake-bash-profile%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try unix.stackexchange.com/a/65144/117549 or unix.stackexchange.com/q/214042/117549
– Jeff Schaller♦
2 hours ago