Operating System - Linux
1827893 Members
1782 Online
109969 Solutions
New Discussion

Re: where to find the description about the bash functions in linuxrc: ep: qt(),source()

 

where to find the description about the bash functions in linuxrc: ep: qt(),source()

I work in doing linuxrc (in initrd.gz), so as to mount encryted fs before the root fs mounted, however, I found some functions such as qt, source, and some thing like this before any normal command execue, I never have been seen before, neither in man. Who can tell me where to find the docments about thus function.

Best regards,
Frederick
frederick van targero
3 REPLIES 3

Re: where to find the description about the bash functions in linuxrc: ep: qt(),source()

oh, thanks, it is noly debug function defines.

frederick
frederick van targero
Ramkumar Devanathan
Honored Contributor

Re: where to find the description about the bash functions in linuxrc: ep: qt(),source()

Fred,

source is a shell builtin and you would normally run man to get the details of the shell builtins.

so, if bash is your shell, man bash would give you the information here about the source command.

I didn't find any info on qt function in bash's manpage however - i don't know what this qt function does...

- ramd.
HPE Software Rocks!

Re: where to find the description about the bash functions in linuxrc: ep: qt(),source()

Hi,
Either do:

# man

or

# man -k
e.g.
# man -k qt

This looks in the man pages for key word qt.

Regards,

Trystan.