All Questions
8
questions
0
votes
1
answer
993
views
Meaning of `mesg n || true` in bash profile
A ~/.profile I encountered had this line at the bottom. I understand mesg toggles seeing other's messages, but what about the || true part ? What does that achive in the context of a .profile file ?
0
votes
0
answers
853
views
Precedence of profile files
On my work machine (which I do not have sudo access on), I change my $PATH variable in my ~/.profile. However, I am finding that some scripts in /etc/profile.d are changing the path further, making my ...
1
vote
1
answer
694
views
Bash: ".profile" not loaded despite nonexistance of .bash_profile or .bash_login (Debian 10)
Reading the documentation in ~/.profile, on my Debian system, it is stated that
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ...
0
votes
1
answer
762
views
How to run a bash script automatically at gnome login
I want to use Gnome's inbuilt Screen Recorder for recording GUI sessions for audit purpose. To automate this, I changed the Shortcut for the screen recorder as "Alt+U" and then executed command "...
1
vote
1
answer
223
views
~/.bash_profile not source from symlinked login shell
If I call
bash --login
Then ~/.bash_profile is called. This seems as it should.
I also have /bin/sh symlinked to bash
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Jun 22 2017 /bin/sh -> bash
...
5
votes
2
answers
7k
views
User's PowerShell Profile Path Location on Linux and macOS?
I cannot find the user's PowerShell local profile file on Linux. Where is it located at on non-Windows OSs?
18
votes
2
answers
9k
views
How do I share konsole profiles with other computers?
I work on several computers and have set them up similarly. Today I created a new Konsole profile on one computer and want to use the new profile on other computers without manually recreating the ...
4
votes
1
answer
5k
views
R not reading Rprofile.site at startup
When I start R it’s meant to read from /etc/Rprofile.site first thing. I’ve verified that this isn’t happening but have no idea why or how to fix it. When I source('/etc/Rprofile.site') at startup ...