Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this questionthis question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as rootas root:

# ./do-stuff-as-root

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as root:

# ./do-stuff-as-root

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as root:

# ./do-stuff-as-root
fixed link :-) I think this one was intended
Source Link
echox
  • 18.9k
  • 15
  • 6

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as rootas root:

# ./do-stuff-as-root

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as root:

# ./do-stuff-as-root

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as root:

# ./do-stuff-as-root
Source Link
Michael Mrozek Mod
  • 95.7k
  • 2
  • 46
  • 74

I'm definitely not a fan of including sudo, I think it gets people in the habit of using it without knowing what it is, and it's not part of the command -- if you need to run X as root, the command is X; sudo X is just one way to run it as root. I would prefer using # to explicitly saying as root (I probably should've used # instead of $ on this question), but you're right that some people might not realize what it means, so I suppose something like this will work:

To solve your problem, run the following as root:

# ./do-stuff-as-root