New answers tagged

0 votes

RHEL 9 in Docker container on macOS: subscription-manager is disabled when running inside a container

@confusion's comment nailed it for me (use case of just wanting to turn off the official repos) rm -f /etc/rhsm-host /etc/yum.repos.d/redhat.repo I'd prefer to leave a comment thanking him alas I'm ...
vtwaldo21's user avatar
0 votes

List the top 10 io usage

RMaaS man iotop -b, --batch Turn on non-interactive mode. Useful for logging I/O usage over time. -n NUM, --iter=NUM Set the number of iterations before quitting (never quit by default). This is ...
HBruijn's user avatar
  • 78.8k
0 votes

List the top 10 io usage

To execute iotop only once you need to exec the command on this way: iotop -n 1|head -n 11 To clear a bit of output you can try something like: iotop -q -n 1|head -n 11
Romeo Ninov's user avatar
  • 5,553
1 vote

What to set $DISPLAY environment variable to when su to another user

You need to configure X11 authentication MIT-MAGIC-COOKIE. You can use xauth to configure it: xauth list $DISPLAY # To list X11 cookies sudo -iu oracle # Import the cookies one by one xauth add laptop....
Mircea Vutcovici's user avatar

Top 50 recent answers are included