Basic Commands and Simple Shell Scripts
100
You can see that manual pages area great resource for learning more about the typical commands being used. This is also a fantastic
resource as far as the Red Hat Certified System Administrator exam is concerned. One recommendation is to review all man pages for the commands shown
previously in this chapter, as well as for the forthcoming chapters. Consider man pages the main information resource in the system. Let’s now review other information resources available.
info pagesinfo pagesare usually more descriptive than man pages and are more interactive. They help more in getting started on a topic.
We can try to get info for the ls command by running the following:
[root@rhel-instance
]# info lsImportant NoteIf the info command is not available, you can install it first using the dnf install info y command.
We can seethe info page for it:
Next: dir invocation, Up Directory listing10.1 'ls List directory contents==================================The 'ls' program lists information about files (of any type, includingdirectories). Options and file arguments can be intermixed arbitrarily,info pages can redirect to other topics,
shown underlined, and these can be followed by putting the cursor over them and hitting Enter.
As with man pages, press q to quit.
Please take sometime to review the info pages for the main topics covered in this chapter (in
several cases, info pages will not be available, but the ones that are will be very valuable).
What if we do not find a manor info page fora topic Let’s cover this in the following section.
Other documentation resourcesFor other documentation resources, you can go to the /usr/share/doc directory. There, you will find other documents that come with the tools installed in the system.
Summary
101
Let’s see how many items we have:
Share with your friends: