Professional Documents
Culture Documents
Rhel 5 6 7 Cheatsheet 24x36 0417 Jcs PDF
Rhel 5 6 7 Cheatsheet 24x36 0417 Jcs PDF
Configure system system-config-language 5 6 /var/log 5 6 Defragment disk space copy data to new file system
View logs fsck (look for ‘non-contiguous inodes’) 6 7
language localectl 7 /var/log
7 xfs_fsr
journalctl
system-config-date fdisk
5 6 5 6
date add audit=1 to kernel cmdline parted
Configure time and date auditctl
timedatectl /etc/audit/auditd.conf
Create/modify disk
7 fdisk
date Configure system audit /etc/audit/audit.rules 5 6 7 partitions gdisk
7
authconfig parted
ntpdate /etc/pam.d/system-auth
5 6 ssm create
/etc/ntp.conf pam_tty_audit kernel module
Synchronize time mkfs.filesystem_type (ext4, xfs)
and date timedatectl
View audit output aureport /var/log/faillog 5 6 7 mkswap
5 6
/etc/chrony.conf 7
ntpdate Format disk partition mkfs.filesystem_type (ext4, xfs)
cron
mkswap 7
system-config-keyboard 5 6 Schedule/batch tasks at 5 6 7
ssm create
Configure keyboard batch
localectl 7
mount
Find file by name locate 5 6 7
/etc/fstab
5 6
Text-based
system-config-*-tui 5 6 7 Mount storage
configuration tools Find file by characteristic find 5 6 7 mount
/etc/fstab 7
Configure printer system-config-printer 5 6 7 tar ssm mount
Create archive cpio 5 6 7
/etc/ssh/ssh_config zip pvcreate 5 6
Configure SSH /etc/ssh/sshd_config 5 6 7 Create physical volume pvcreate
~/.ssh/config ssh-keygen 7
ssm create (if backend is lvm)
NETWORKING vgcreate 5 6
df 5 /etc/sysconfig/network-scripts/ifcfg-* 5 6 /etc/fstab
Mount and activate swap swapon -a
5 6 7
View disk usage df /etc/sysconfig/network-scripts/ifcfg-*
6 7 Configure network interface nmcli con [add|mod|edit]
iostat 7 Configure static mounts /etc/fstab 5 6 7
nmtui
Trace system calls strace 5 6 7 nm-connection-editor
View free disk space df 5 6 7
ss
Trace library calls ltrace 5 6 7 lsof 5 6 lvdisplay
netstat lvs
nice View ports/sockets vgdisplay
Change process priority renice
5 6 7 View logical volume info vgs
5 6 7
ss
7 pvdisplay
lsof
Change process run taskset
pvs
5 6 7 ip route add
location
system-config-network showmount -e
5 6 View NFS share mount
5 6 7
kill /etc/sysconfig/route-iface
Kill a process pkill 5 6 7
killall Configure routes ip route add Configure on-demand /etc/auto.master.d/*.autofs
nmcli 5 6 7
auto-mounts /etc/auto.*
nmtui 7
nm-connection-editor chmod
USER MANAGEMENT /etc/sysconfig/route-iface
Change file permissions
chown
5 6 7
chgrp
View routes ip route 5 6 7 umask (future file creation)
TASK RHEL