How to Get Help From Linux Command Line and Man Pages - RHCSA



Getting Help From Command Line



:: Getting Help From Command Line ::

Not most of the production Server will have access to internet, because of security reasons, wihtout internet access how you can get an help using your command line interface. which is not a step by step guide but it will give you an idea to execute the commands and how commands works.

In Order to get the help, we have to use below commands in most of the situations.

1. Man
2. Pinfo
3. Command --help
4. Info
5. Help command

Man is the system's manual pager. Each page arugument given to man is normally the name of program, utility or function.

1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]



man ls
man -a intro
man -t alias | lpr -Pps
man -k printf
man -s 3 -K "open"

Spacebar – Scrolling man page down
PageDown/Down Arrow – Scrolling man page down
PageUp/Up Arrow – Scrolling man page UP
/string – Search for particular string
n (key) – Repeat search Up to down
N (key) – Repeat search Down to up
g – Go to first to man page
G  – Go to end of the man page
q – Exit from man page

pinfo
info
Whereis
whatis
command --help

basic linux command man,get command from linux,get command linux example,get command path linux,get help for linux command,get help in linux,get help linux,install man command on linux


No comments:

Post a Comment