Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable man pages for built-in UNIX commands #24

Closed
tlsalex opened this issue Apr 30, 2022 · 1 comment
Closed

Enable man pages for built-in UNIX commands #24

tlsalex opened this issue Apr 30, 2022 · 1 comment

Comments

@tlsalex
Copy link

tlsalex commented Apr 30, 2022

Hi , could I know why there is no man page for builtin commands , have removed those man pages to save disk space ? how to get them back?

[alex@xx:~]$ man ls
No manual entry for ls

[alex@xx:~]$ man cp
No manual entry for cp

[alex@xx:~]$ man cat
No manual entry for cat
@srbala
Copy link
Contributor

srbala commented May 1, 2022

@tlsalex WSL images abstracted based on docker images, where docs not installed by default. Looks like you already installed man package to display help. You need to reinstall the package which you needed documentation to be installed in your case try reinstall coreutils and coreutils-common. The following command will enable man help on standard UNIX commands.

Skip this step if man package is already installed.

sudo dnf install -y man

Re-install core utils.

sudo dnf reinstall -y coreutils*

@srbala srbala changed the title why there is no man page for builtin commands Enable man page for built-in UNIX commands May 1, 2022
@srbala srbala pinned this issue May 1, 2022
@srbala srbala closed this as completed May 1, 2022
@srbala srbala changed the title Enable man page for built-in UNIX commands Enable man pages for built-in UNIX commands May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants