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

Re: didn't can use "fdisk"!



fuf <fuflono@gmail.com> writes:

> Hello all.
> I'm embarrassed because didn't can use "fdisk"!
> I work as normal user, open the terminal, switch to "root" user but
> get:
> root@debian:/sbin# fdisk  -l
> bash: fdisk: command not found
>
> whereas:
> root@debian:/sbin# ls -al
> .....
> -rwxr-xr-x  1 root root    169520 Mar 23  2023 fdisk

It would seem that /sbin isn't in your $PATH. What method did you use to
become root?

Cheers,
Tom


Reply to: