You can't see `dirname` after `dirname` su www`.

For

root users, cd to the directory, as follows: [{user} @ {system} {dirname}]-sharp , for example: [root@VM_44_196_centos mnt]-sharp

but after executing su www , you can only see bash-4.2 $. How can the current directory name of cd also appear?

Jun.21,2022

are you using ubuntu instead of centos?


modify the current user bash profile , but individuals do not use centos and do not know whether it is the same

Menu