Intermediate Linux Cheat Sheet
Get the cheat sheet
Last updated: Sept. 6, 2022
Ready to level up your Linux knowledge? This cheat sheet presents a collection of Linux commands and executables for developers and system administrators who want to move beyond the basics. You’ll find tips on managing processes, users, and groups on Linux, as well as monitoring disk and network usage.
Download the Intermediate Linux Cheat Sheet to gain an enhanced understanding of:
- Console and output management commands:
- Working with disks, devices, and volumes on Linux:
- Managing files and directories on Linux:
- Network commands:
- Commands for working with the Red Hat Enterprise Linux operating system:
- User and group commands:
With Red Hat Developer cheat sheets, you get essential information right at your fingertips so you can work faster and smarter. Easily learn new technologies and coding concepts and quickly find the answers you need.
traceroute [options] <target address or domain_name>
Reports the route that a packet takes in hops to move through the Internet to reach its destination.
The program traceroute is not part of Red Hat Enterprise Linux (RHEL) by default. It must be installed using:
sudo dnf install traceroute
The following example reports the route from the local machine to developers.redhat.com. The -m option is used to limit the output to the first five hops:
$ traceroute -m 5 developers.redhat.com traceroute to developers.redhat.com (126.96.36.199), 5 hops max, 60 byte packets 1 _gateway (192.168.86.1) 0.599 ms 0.514 ms 0.656 ms 2 142-254-237-093.inf.spectrum.com (188.8.131.52) 11.974 ms 11.874 ms 17.793 ms 3 agg53.lsaicaev02h.socal.rr.com (184.108.40.206) 19.294 ms 20.242 ms 19.224 ms 4 220.127.116.11 (18.104.22.168) 18.984 ms 19.888 ms 19.969 ms 5 agg26.tustcaft01r.socal.rr.com (22.214.171.124) 13.575 ms 19.673 ms 13.579 ms
RHEL management commands
The commands in this section apply to working with the Red Hat Enterprise Linux operating system.
This program is used to report status information about a computer or virtual machine running SELinux.
The following example invokes the program sestatus and displays the default response:
$$ sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Memory protection checking: actual (secure) Max kernel policy version: 33