You are not logged in.

#1 2026-05-07 17:52:42

NominalSum
Member
Registered: 2025-12-02
Posts: 68

sudo vim/etc/pacman.conf command not found

sudo vim/etc/pacman.conf command not found on a new install. I made sure vim was installed. I dont understand it. I just did an install with encryption that had this issue so i reinstalled without encryption only to find that the issue persists. Any help is greatly appreciated.

Offline

#2 2026-05-07 17:56:06

5hridhyan
Member
Registered: 2025-12-25
Posts: 825
Website

Re: sudo vim/etc/pacman.conf command not found

sudo vim/etc/pacman.conf

if this was the command you run then yeah error was expected "space" was missing wink

sudo vim /etc/pacman.conf

if not, run `which vim`

Last edited by 5hridhyan (2026-05-07 17:56:57)

Offline

#3 2026-05-07 17:56:18

Whoracle
Member
Registered: 2010-11-02
Posts: 219

Re: sudo vim/etc/pacman.conf command not found

Assuming it's not a typo then you are missing a space between vim and the /

Offline

#4 2026-05-07 18:02:12

NominalSum
Member
Registered: 2025-12-02
Posts: 68

Re: sudo vim/etc/pacman.conf command not found

That was a typo. the input for in the terminal seems correct to me

[nominalsum@archlinuxTP ~]$ sudo vim/etc/pacman.conf
sudo: vim/etc/pacman.conf: command not found
[nominalsum@archlinuxTP ~]$ sudo vim/etc/pacman.conf
[sudo] password for nominalsum: 
sudo: vim/etc/pacman.conf: command not found

Offline

#5 2026-05-07 18:04:18

Whoracle
Member
Registered: 2010-11-02
Posts: 219

Re: sudo vim/etc/pacman.conf command not found

No, it isn't. You want

sudo vim /etc/pacman.conf

Note the space between "vim" and "/etc/pacman.conf". In your literal copy/paste that space is missing.

Offline

#6 2026-05-07 18:06:16

NominalSum
Member
Registered: 2025-12-02
Posts: 68

Re: sudo vim/etc/pacman.conf command not found

That was a typo. My input did not have the space and posted another that is the actual input and output showing the space was not there.

edit:Hot damn. I think i went illiterate for a few minutes. Im sorry. Things started spinning in my brain again. Thank you for pointing it out, even though I had to read it 5+ times for it to click

Last edited by NominalSum (2026-05-07 18:14:38)

Offline

#7 2026-05-07 18:39:21

NominalSum
Member
Registered: 2025-12-02
Posts: 68

Re: sudo vim/etc/pacman.conf command not found

[Solved]

Offline

#8 2026-05-07 19:08:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,857

Re: sudo vim/etc/pacman.conf command not found

Please mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB