New answers tagged rhel8
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 ...
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 ...
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
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....
Top 50 recent answers are included
Related Tags
rhel8 × 156redhat × 40
linux × 16
yum × 11
centos × 10
dnf × 9
rocky-linux × 9
centos8 × 8
docker × 6
ansible × 6
systemd × 6
selinux × 6
ssh × 5
rhel7 × 5
sssd × 5
nfs4 × 5
lvm × 4
firewalld × 4
systemctl × 4
networking × 3
apache-2.4 × 3
linux-networking × 3
authentication × 3
openssl × 3
kerberos × 3