Professional Documents
Culture Documents
Task
Configure subscription
View RHEL version information
Task
Graphical configuration tools
Text-based configuration tools
Configure printer
Configure network
Configure system language
Configure SSH
Task
Start/stop service
Enable/disable service
View service status
Check if service is enabled
Configure logging
View logs
Schedule/batch tasks
Find file by name
Find file by characteristic
Create archive
K
Task
Single user/rescue mode
Shut down system
Halt system
Reboot system
Configure default run level/target
Configure GRUB bootloader
Configure kernel module
View hardware configured
Configure hardware device
Task
Install software
Task
Graphical user management
Create user account
Delete user account
File
Task
Default file system
Mount storage
Task
Configure hostname
Configure routes
Configure firewall
View ports/sockets
Task
Task
Trace system calls
Trace library calls
Kill a process
Basic configuration
RHEL5 RHEL6
system-config-*
system-config-*-tui
system-config-printer
system-config-network
system-config-language
system-config-date
date
ntpdate
/etc/ntp.conf
system-config-keyboard
/etc/ssh/ssh_config
/etc/ssh/sshd_config
~/.ssh/config ssh-keygen
chkconfig --add
runlevel
who -r
/etc/inittab
initrun_level
/etc/syslog.conf /etc/rsyslog.conf
/var/log
addaudit=1to kernel cmdline
auditctl
/etc/audit/auditd.conf
/etc/audit/audit.rules
authconfig
/etc/pam.d/system-auth
pam_tty_audit kernel module
aureport /var/log/faillog
cron
at
batch
locate
find
tar
cpio
zip
poweroff
halt
reboot
/etc/inittab
/boot/grub/grub.conf
modprobe
hwbrowser lshw (in EPEL)
udev
sysctl -a
cat /proc/cmdline
modprobe
modprobe -r
rpm -q kernel
uname -r
Software management
RHEL5 RHEL6
yum install
yum groupinstall
yum info
yum groupinfo
yum update
yum upgrade
subscription-manager repos
/etc/yum.repos.d/*.repo
rpm -qffilename
yum providesfilename-glob
rpm -qpackagename
rpm -qa
yum list installed
User management
RHEL5 RHEL6
system-config-users
useradd
userdel
usermod
/etc/passwd
vipw
id
groupadd
groupdel
groupmod
/etc/group
passwd
usermod
visudo
groupmod
visudo
chage
w
copy data to new file system copy data to new file system
fsck (look for 'non-contiguous inodes') fsck (look for 'non-contiguous inodes')
xfs_fsr
mount
/etc/fstab
/etc/fstab
swapon -a
/etc/fstab
df
lvdisplay
lvs
vgdisplay
vgs
pvdisplay
pvs
pvcreate
vgcreate
lvcreate
vgextend
lvextend
resize2fs
resize2fs
lvreduce
vgreduce
fsck
fsck
showmount -e
mount
/etc/exports
service nfs reload
/etc/auto.master.d/*.autofs
/etc/auto.*
chmod
chown
chgrp
umask (future file creation)
chattr
setfacl
Networking
RHEL5 RHEL6
/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
ip addr
ifconfig
brctl
/etc/sysconfig/network-scripts/ifcfg-*
ip route
ip route add
system-config-network
/etc/sysconfig/route-iface
Resource management
RHEL5 RHEL6
strace
ltrace
nice
renice
taskset
kill
pkill
killall
top top
ps ps
sar sar
iostat iostat
netstat netstat
vmstat ss
mpstat vmstat
numastat mpstat
numastat
tuna
df
df iostat
ve commands in Red Hat Enterprise Linux 5, 6, and 7
tive commands for Red Hat Enterprise Linux 5, 6 and 7. Printable poster also available.
System basics
RHEL7
subscription-manager identity
subscription-manager2
rhn_register3
RHEL7
gnome-control-center
nmcli
nmtui
nm-connection-editor
localectl
timedatectl
date
timedatectl
/etc/chrony.conf
ntpdate
localectl
RHEL7
systemctl -at service
ls /etc/systemd/system/*.service
ls /usr/lib/systemd/system/*.service
systemctl -t service --state=active
systemctl startname.service
systemctl stopname.service
systemctl enablename.service
systemctl disablename.service
systemctl statusname.service
systemctl is-enabledname
systemctl daemon-reload
/etc/systemd/system/*.service
systemctl get-default
who -r
systemctl isolatename.target
systemctl set-default
/etc/rsyslog.conf
/etc/rsyslog.d/*.conf
/var/log/journal
systemd-journald.service
/var/log
journalctl
are
RHEL7
appendrd.breakorinit=/bin/bashto kernel cmdline
poweroff
systemctl poweroff
halt
systemctl halt
reboot
systemctl reboot
systemctl set-default
/etc/default/grub
grub2-mkconfig
grub-set-default
t
RHEL7
yum install
yum group install
yum info
yum group info
RHEL7
disks
RHEL7
xfs
fdisk
gdisk
parted
ssm create
mkfs.filesystem_type (ext4, xfs)
mkswap
ssm create
nodes')
mount
/etc/fstab
ssm mount
pvcreate
ssm create (if backend is lvm)
vgcreate
ssm create (if backend is lvm)
lvcreate
ssm create (if backend is lvm)
vgextend
lvextend
xfs_growfs
ssm resize
XFS cannot currently be shrunk; copy desired data to a smaller file system.
fsck
ssm check
/etc/exports
systemctl reload nfs.service
RHEL7
/etc/hosts
/etc/resolv.conf
nmcli con mod
hostnamectl
/etc/hostname
nmtui
ip addr
nmcli dev show
teamdctl
brctl
bridge
/etc/sysconfig/network-scripts/ifcfg-*
nmcli con [add|mod|edit]
nmtui
nm-connection-editor
ip route add
nmcli
nmtui
nm-connection-editor
/etc/sysconfig/route-iface
firewall-cmd
firewall-config
ss
lsof
RHEL7
t
RHEL7
top
ps
sar
iostat
ss
vmstat
mpstat
numastat
tuna
6, and 7