Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Frank via arch-general
Am Montag, dem 25.04.2022 um 21:32 +0200 schrieb Tinu Weber via arch- general: > On Mon, Apr 25, 2022 at 20:43:05 +0200, Frank via arch-general wrote: > > However, I still have the issue that I cannot execute any command. > > Is this to do with the following mesasge ? > > -bash: /etc/profile: Permi

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Frank via arch-general
Am Montag, dem 25.04.2022 um 20:25 +0100 schrieb Dave Howorth via arch- general: > On Mon, 25 Apr 2022 17:57:15 +0200 > Frank via arch-general wrote: > > [snip] > > > #add Perl and Perl modules to file path > > export PATH="$(PATH):/usr/bin/core_perl/" > > export PATH="$(PATH):/usr/bin/vendor_pe

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Galdor Takacs via arch-general
I wasn't aware that environment setup shouldn't go into .bashrc, but into .profile. Good to know, thank you! Here's how I have it now: # # ~/.profile # path_prefixes=( ~/.local/bin ~/.cargo/bin /opt/cuda/bin ) export PATH="$(printf "%s:" "${path_prefixes[@]}")$PATH" # #

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Tinu Weber via arch-general
On Mon, Apr 25, 2022 at 20:43:05 +0200, Frank via arch-general wrote: > However, I still have the issue that I cannot execute any command. > Is this to do with the following mesasge ? > -bash: /etc/profile: Permission denied This looks more like it's trying to execute /etc/profile rather than sour

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Dave Howorth via arch-general
On Mon, 25 Apr 2022 17:57:15 +0200 Frank via arch-general wrote: [snip] > #add Perl and Perl modules to file path > export PATH="$(PATH):/usr/bin/core_perl/" > export PATH="$(PATH):/usr/bin/vendor_perl/" > export PATH="$(PATH):/usr/bin/site_perl/" Others have pointed out the syntactic problem h

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Frank via arch-general
Am Montag, dem 25.04.2022 um 11:45 -0500 schrieb Dan Sommers via arch- general: > On 2022-04-25 at 17:32:50 +0100, > Mike Cloaked via arch-general > wrote: > > > On Mon, Apr 25, 2022 at 4:56 PM Frank via arch-general < > > arch-general@lists.archlinux.org> wrote: > > > > #add Perl and Perl modul

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Dan Sommers via arch-general
On 2022-04-25 at 17:32:50 +0100, Mike Cloaked via arch-general wrote: > On Mon, Apr 25, 2022 at 4:56 PM Frank via arch-general < > arch-general@lists.archlinux.org> wrote: > > #add Perl and Perl modules to file path > > export PATH="$(PATH):/usr/bin/core_perl/" > > export PATH="$(PATH):/usr/bin/

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Mike Cloaked via arch-general
On Mon, Apr 25, 2022 at 4:56 PM Frank via arch-general < arch-general@lists.archlinux.org> wrote: > Hi, > > I'm having an issue with tty. When loogin on I get the following error > messages: > -bash: /etc/profile: Permission denied > -bash: PATH: Command not found > ... > > This is my bashrc: > >

Re: [arch-general] not able to execute commands on tty

2022-04-25 Thread Jonathon Fernyhough via arch-general
On 25/04/2022 16:57, Frank via arch-general wrote: export PATH="$(PATH) Including the value in parentheses is attempting to run the value of $PATH as a command; that in turn is failing, and likely setting PATH to an empty value, breaking $PATH for subsequent calls. OpenPGP_signature Descrip

[arch-general] not able to execute commands on tty

2022-04-25 Thread Frank via arch-general
Hi, I'm having an issue with tty. When loogin on I get the following error messages: -bash: /etc/profile: Permission denied -bash: PATH: Command not found ... This is my bashrc: # # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return #fix VTE issue for tilix