Re: not able to execute commands on tty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 25, 2022 at 4:56 PM Frank via arch-general <
arch-general@xxxxxxxxxxxxxxxxxxx> 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:
>
> #
> # ~/.bashrc
> #
>
> # If not running interactively, don't do anything
> [[ $- != *i* ]] && return
>
> 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/"
>
> This looks wrong.  This would presumably try to change the path three
times and only store the last one - but even that looks wrong.

PATH=$PATH:/usr/bin/core_perl:/usr/bin/vendor_perl:/usr/bin/site_perl

export PATH

would likely work as intended though.
I didn't look to see if there were other problems with the other section of
the file - but this part should be fixed and then try again.

-- 
mike c



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux