3 Basic Commands and Simple Shell Scripts Once you have your first Red Hat Enterprise Linux rhel


Using system documentation resources



Download 1.85 Mb.
View original pdf
Page30/67
Date26.02.2024
Size1.85 Mb.
#63678
1   ...   26   27   28   29   30   31   32   33   ...   67
Pablo Iranzo Gómez, Pedro Ibáñez Requena, Miguel Pérez Colino, Scott McCarty - Red Hat Enterprise Linux 9 Administration-Packt Publishing (2022) -chap 3 82 - 180
Using system documentation resources
The system includes resources to help you while working with it and guide you to improve your sysadmin skills. This is referred to as the system documentation. Let’s check three different resources available by default in your RHEL installation man pages, info pages, and other documents.

Basic Commands and Simple Shell Scripts
98
man pages
The most common resource used to obtain documentation is manual pages, also referred to by the command used to invocate them man.
Almost any utility installed in the system has a man page to help you use it (in other words, specifying all the options for the tools and what they do. You can run man tar and check the output:
[root@rhel-instance
]# man tar

TAR(1) GNU TAR
Manual TAR(1)
NAME
tar - an archiving utility
SYNOPSIS
Traditional usage
tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...]
UNIX-style usage
tar -A OPTIONS ARCHIVE ARCHIVE
tar -cf ARCHIVE OPTIONS [FILE...]
tar -d f ARCHIVE OPTIONS [FILE...]
You can see in it (navigate with the arrow keys, the space bar, or Page Up and Page Down) and exit it by hitting q (for quit).
There are sections within the man page on related topics. It is pretty simple to search those by using the apropos command. Let’s see this for tar:
[root@rhel-instance
]# apropos tar

dbus-run-session (1) - start a process as anew D-Bus session
dnf-needs-restarting (8) - DNF needs_restarting Plugin
dracut-pre-udev.service (8) - runs the dracut hooks before
udevd is started
gpgtar (1) - Encrypt or sign files into an archive
gtar (1) - an archiving utility
open (1) - start a program on anew virtual
terminal (VT).

Download 1.85 Mb.

Share with your friends:
1   ...   26   27   28   29   30   31   32   33   ...   67




The database is protected by copyright ©ininet.org 2024
send message

    Main page