Professional Documents
Culture Documents
Configure subscription
RHEL6
RHEL7
/etc/sysconfig/rhn/systemid
/etc/sysconfig/rhn/systemid
subscription-manager identity
subscription-manager identity
rhn_register
rhn_register
rhnreg_ks
subscription-manager
subscription-manager 1
rhn_register 2
sosreport
dmidecode
hwbrowser
TASK
sosreport
dmidecode
lshw
/etc/redhat-release
Configure system
security
Report on system
security
LDAP, SSSD, Kerberos
1 subscription-manager is used for Satellite 6, Satellite 5.6 with SAM and newer, and Red Hats CDN.
2 RHN tools are deprecated on Red Hat Enterprise Linux 7. rhn_register should be used for Satellite server 5.6 and newer only. For details, see: Satellite 5.6 unable to register RHEL 7 client system due to
rhn-setup package not included in Minimal installation
RHEL5
RHEL6
timedatectl
date
ntpdate
/etc/ntp.conf
timedatectl
/etc/chrony.conf
system-config-keyboard
localectl
smbclient
/etc/samba/smb.conf
smbpasswd
TASK
Configure logging
RHEL5
/etc/syslog.conf
/etc/rsyslog.conf
/etc/rsyslog.conf
/etc/rsyslog.d/*.conf
/var/log/journal
systemd-journald.service
systemctl -at service
ls /etc/systemd/system/*.service
ls /usr/lib/systemd/system/*.service
chkconfig --list
ls /etc/init.d/
service --status-all
chkconfig name on
chkconfig name off
chkconfig name
chkconfig --add
systemctl daemon-reload
runlevel
who -r
systemctl get-default
who -r
/etc/inittab
init run_level
/var/log
/var/log
journalctl
Start/stop service
Enable/disable service
View service status
RHEL7
add
RHEL5
RHEL6
systemctl shutdown
poweroff
systemctl poweroff
halt
systemctl halt
reboot
systemctl reboot
/etc/inittab
systemctl set-default
/boot/grub/grub.conf
/etc/default/grub
grub2-mkconfig
grub-set-default
hwbrowser
modprobe -r
rpm -q kernel
uname -r
SOFTWARE
MANAGEMENT
vgcreate
vgcreate
ssm create (if backend is lvm)
lvcreate
lvcreate
ssm create (if backend is lvm)
Enlarge volumes
formatted with default
file system
vgextend
lvextend
resize2fs
vgextend
lvextend
xfs_growfs
ssm resize
Shrink volumes
formatted with default
file system
resize2fs
lvreduce
vgreduce
fsck
fsck
ssm check
/etc/exports
service nfs reload
/etc/exports
systemctl reload nfs.service
/etc/fstab
swapon -a
Automatically mount
at boot
/etc/fstab
df
lvdisplay
lvs
vgdisplay
vgs
pvdisplay
pvs
showmount -e
mount
/etc/auto.master.d/*.autofs
/etc/auto.*
chmod
chown
chgrp
umask
setfacl
RHEL5
RHEL6
RHEL7
firewall-cmd
firewall-config
dhcpd
/etc/dhcp/dhcpd.conf
/etc/sysconfig/dhcpd
/etc/dhcpd.conf
/etc/dhcp6c.conf
/etc/hosts
/etc/resolv.conf
/etc/hosts
/etc/resolv.conf
nmcli con mod
/etc/sysconfig/network
hostnamectl
/etc/hostname
nmtui
ip addr
ifconfig
brctl
ip addr
nmcli dev show
teamdctl
brctl
bridge
Configure network
interface
/etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-*
nmcli con [add|mod|edit]
nmtui
nm-connection-editor
View ports/sockets
ss
lsof
netstat
ss
lsof
Configure hostname
TASK
modprobe
ip route
/etc/sysconfig/network
system-config-network
Configure routes
sysctl -a
cat /proc/cmdline
pvcreate
ssm create (if backend is lvm)
udev
pvcreate
RHEL5
RHEL6
RHEL7
top
ps
sar
iostat
netstat
vmstat
mpstat
numastat
top
ps
sar
iostat
netstat
ss
vmstat
mpstat
numastat
tuna
top
ps
sar
iostat
ss
vmstat
mpstat
numastat
tuna
modprobe
View routes
lshw
Upgrade software
RHEL7
shutdown
Reboot system
Update software
mount
/etc/fstab
ssm mount
Configure name
resolution
Halt system
/etc/shadow
mount
/etc/fstab
Install software
chage
Configure firewall
tar
cpio
zip
gzip
bzip2
TASK
groupmod
/etc/sudoers
find
Create archive
TASK
locate
usermod
/etc/sudoers
batch
TASK
fdisk
gdisk
parted
ssm create
Change access
control list
cron
at
Schedule tasks
passwd username
fdisk
parted
aureport /var/log/faillog
groupmod
Automatically
mount after boot
auditctl
/etc/audit/auditd.conf
/etc/audit/audit.rules
authconfig
/etc/pam.d/system-auth
pam_tty_audit kernel module
groupdel
Encrypted password
location
authconfig
authconfig-tui
authconfig-gtk
Mount storage
RHEL6
groupadd
/etc/ssh/ssh_config
/etc/ssh/sshd_config
~/.ssh/config ssh-keygen
Configure SSH
sealert
Create/modify disk
partitions
Configure samba
usermod
/etc/passwd
xfs
system-config-date
system-config-printer
usermod
ext4
localectl
Configure printer
ext3
system-config-language
system-config-*-tui
userdel
RHEL7
system-config-network
RHEL6
NETWORKING
BASIC CONFIGURATION
Configure keyboard
useradd
RHEL5
nmcli
nmtui
nm-connection-editor
/etc/selinux/config
chcon
restorecon
semanage
setsebool
system-config-selinux
TASK
RHEL7
RHEL7
system-config-users
getent
gnome-control-center
Configure network
RHEL6
RHEL6
Network users
system-config-*
RHEL7
RESOURCE MANAGEMENT
TASK
RHEL5
RHEL5
USER MANAGEMENT
RHEL5
SECURITY
AND IDENTITY
SYSTEM BASICS
TASK
TASK
RHEL5
RHEL6
RHEL7
yum install
yum groupinstall
yum install
yum group install
yum info
yum groupinfo
yum info
yum group info
strace
ltrace
nice
renice
taskset
Kill a process
kill
pkill
killall
yum update
yum upgrade
df
iostat
df
/etc/yum.repos.d/*.repo
rpm -qf filename
rpm -q packagename
rpm -qa
10/14
Copyright 2014 Red Hat, Inc. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, and JBoss are trademarks of Red Hat, Inc.,
registered in the U.S. and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.