Ubuntu 19.04 .bash_profile doesn't exists Announcing the arrival of Valued Associate #679:...
Is the time—manner—place ordering of adverbials an oversimplification?
Why can't fire hurt Daenerys but it did to Jon Snow in season 1?
Where did Ptolemy compare the Earth to the distance of fixed stars?
Why is there so little support for joining EFTA in the British parliament?
latest version of QGIS fails to edit attribute table of GeoJSON file
2018 MacBook Pro won't let me install macOS High Sierra 10.13 from USB installer
In musical terms, what properties are varied by the human voice to produce different words / syllables?
Derived column in a data extension
Does the main washing effect of soap come from foam?
Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?
How to achieve cat-like agility?
Sally's older brother
Does the universe have a fixed centre of mass?
systemd and copy (/bin/cp): no such file or directory
3D Masyu - A Die
One-one communication
How to ask rejected full-time candidates to apply to teach individual courses?
Is a copyright notice with a non-existent name be invalid?
Can gravitational waves pass through a black hole?
When does a function NOT have an antiderivative?
Is this Kuo-toa homebrew race balanced?
What does 丫 mean? 丫是什么意思?
Where and when has Thucydides been studied?
Does the Rock Gnome trait Artificer's Lore apply when you aren't proficient in History?
Ubuntu 19.04 .bash_profile doesn't exists
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)What options are there for indexing my filesystem?App installed in ~/usr launches from terminal but not Applications menu (or why does setting ld_library_path in .profile not work as it should)Unexpected deletion of directory“No such file or directory”, but the file existsdeleting a file from an user account when only the guest account is accessibleWhere are the pristine, untouched contents of a ~/.profile file?file manager permission based on users on AjentiPossible to move the hidden text files from $HOME to someplace else?Can the Files application in 18.04 search across links?How does cp -a work
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to setup the WP-CLI completion from their site
but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
Terminal Files
files .profile
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to setup the WP-CLI completion from their site
but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
Terminal Files
files .profile
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to setup the WP-CLI completion from their site
but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
Terminal Files
files .profile
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm trying to setup the WP-CLI completion from their site
but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh instructions too but it didn't work. Is it normal that there is no .bash_profile? Is it good if I create it manually?
Terminal Files
files .profile
files .profile
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 hours ago
Mauricio GtzMauricio Gtz
83
83
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Mauricio Gtz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Is it normal that there is no .bash_profile?
Yes it is - the default files copied from /etc/skel during account creation by adduser are:
$ ls -A /etc/skel
.bash_logout .bashrc .config .kshrc .mkshrc .profile Templates
As you can see, there is a default .bash_logout but no default .bash_profile.
Is it good if I create it manually?
Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:
When bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes com‐
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
Mauricio Gtz 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%2faskubuntu.com%2fquestions%2f1135884%2fubuntu-19-04-bash-profile-doesnt-exists%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is it normal that there is no .bash_profile?
Yes it is - the default files copied from /etc/skel during account creation by adduser are:
$ ls -A /etc/skel
.bash_logout .bashrc .config .kshrc .mkshrc .profile Templates
As you can see, there is a default .bash_logout but no default .bash_profile.
Is it good if I create it manually?
Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:
When bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes com‐
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.
add a comment |
Is it normal that there is no .bash_profile?
Yes it is - the default files copied from /etc/skel during account creation by adduser are:
$ ls -A /etc/skel
.bash_logout .bashrc .config .kshrc .mkshrc .profile Templates
As you can see, there is a default .bash_logout but no default .bash_profile.
Is it good if I create it manually?
Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:
When bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes com‐
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.
add a comment |
Is it normal that there is no .bash_profile?
Yes it is - the default files copied from /etc/skel during account creation by adduser are:
$ ls -A /etc/skel
.bash_logout .bashrc .config .kshrc .mkshrc .profile Templates
As you can see, there is a default .bash_logout but no default .bash_profile.
Is it good if I create it manually?
Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:
When bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes com‐
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.
Is it normal that there is no .bash_profile?
Yes it is - the default files copied from /etc/skel during account creation by adduser are:
$ ls -A /etc/skel
.bash_logout .bashrc .config .kshrc .mkshrc .profile Templates
As you can see, there is a default .bash_logout but no default .bash_profile.
Is it good if I create it manually?
Yes that's fine - be aware that if you do so, it will be read in preference to the ~/.profile file - from the INVOCATION section of man bash:
When bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes com‐
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
so you may wish to source ~/.profile from the new ~/.bash_profile in order to maintain any functionality that it provides.
answered 12 mins ago
steeldriversteeldriver
71.1k11115187
71.1k11115187
add a comment |
add a comment |
Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.
Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.
Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.
Mauricio Gtz is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1135884%2fubuntu-19-04-bash-profile-doesnt-exists%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