Manjaro Difference between revisions of "Template talk:UserCmd"

Difference between revisions of "Template talk:UserCmd"

Discussion page of Template:UserCmd
m (answered)
Line 16: Line 16:


So a reader will see immediately that this is a command executed as root
So a reader will see immediately that this is a command executed as root
:Good suggestion but I think we have to add new parameter(like isNeedSudo) for usercmd template to do this. Do you know another way? By Oguzkagan

Revision as of 19:59, 11 September 2021

This is a good Template, because it shows how to use it

Ask for additional Template

I would like to suggest an additional Template for sudo-commands.

Why ?

because a lot of commands in this wiki are in reality "root"-commands, but are written with :

user $ sudo something COPY TO CLIPBOARD


but this is equivalent to:

root # something COPY TO CLIPBOARD


i would suggest the following colors

  green |red |white on black 
  user $ sudo something

So a reader will see immediately that this is a command executed as root

Good suggestion but I think we have to add new parameter(like isNeedSudo) for usercmd template to do this. Do you know another way? By Oguzkagan
Cookies help us deliver our services. By using our services, you agree to our use of cookies.