You are not logged in.

#1 2023-03-10 07:55:55

Baird
Member
Registered: 2023-03-10
Posts: 11

default path of installed applications

I've install Arch on WSL (I'm newbie to Linux).

After created user with "user add -m user" and type which <app>, I found almost every apps directed to /usr/sbin but not /usr/bin
Did I create user in wrong way?
Isn't /usr/sbin is only default path to system user?

By the way, apps path on my Arch Linux laptop (installed by archinstall) showing /usr/sbin

Sorry for my poor English.

Last edited by Baird (2023-03-10 10:36:28)

Offline

#2 2023-03-10 09:18:36

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: default path of installed applications

/sbin is a symlink to /usr/bin so it doesnt matter

Offline

#3 2023-03-10 10:29:39

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,976
Website

Re: default path of installed applications

If you use bash, use type, not which.
https://unix.stackexchange.com/question … o-use-then

And the "app" is not in /usr/bin, the app's binary is.
The "app"[lication] is spread across the filesystem, mostly under /usr.

Last edited by schard (2023-03-10 10:30:55)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2023-03-10 10:36:38

Baird
Member
Registered: 2023-03-10
Posts: 11

Re: default path of installed applications

Thank you all!

Offline

Board footer

Powered by FluxBB