I am a beginner in using Linux and have almost completed the basic of Linux. I always wondered what is the difference between '>' and '#' in cli.
abc@localhost>
and
xyz@localhost#
#
usually determines a superuser shell (with root access rights), while %
or $
are used for non-privileged shells started by non-root users.
>
is usually the continuation prompt for incomplete command lines.
This is all by convention and can be customized through different mechanisms, depending on the shell.
除了在某些shell上没有任何不同#用于具有root权限的用户。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.