You are not logged in.
Pages: 1
I am trying to execute sudo but I get the following message:
bash: sudo: command not found
- echo $PATH gives :
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
- more .bashrc gives :
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
Offline
Have you installed it? pacman -S sudo
Offline
Oh, man.Thank you so much.It works now!
Offline
Please mark your thread as [solved].
Also, in future, please use
code tagswhen posting code.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You should probably mark this thread as [Solved]. This can be done by editing the first post.
In the future, you should check the desired command/file with pkgfile. It is available i the repos. You would have just had to do
$ pkgfile sudo
core/sudo
extra/bash-completion
extra/fvwm-crystal
community/logwatchIn this case it seems pretty obvious that the necessary package would be the core/sudo one.
Offline
Please mark your thread as [solved].
Also, in future, please use
code tagswhen posting code.
Sorry. I just forgot about that. ![]()
Offline
Pages: 1