mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 06:35:23 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
769 B
769 B
fakeroot
Run a command in an environment faking root privileges for file manipulation. More information: https://manned.org/fakeroot.1.
- Start the default shell as fakeroot:
fakeroot
- Run a command as fakeroot:
fakeroot -- {{command}} {{command_arguments}}
- Run a command as fakeroot and save the environment to a file on exit:
fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}
- Load a fakeroot environment and run a command as fakeroot:
fakeroot -i {{path/to/file}} -- {{command}} {{command_arguments}}
- Run a command keeping the real ownership of files instead of pretending they are owned by root:
fakeroot {{[-u|--unknown-is-real]}} -- {{command}} {{command_arguments}}
- Display help:
fakeroot {{[-h|--help]}}