Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-13 00:14:42 +00:00
parent 5cc33140be
commit 038e245f61
12 changed files with 42 additions and 34 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
`agetty {{tty}} {{115200}}`
- Assume `stdin` is already connected to a `tty` and set a [t]imeout for the login:
- Assume `stdin` is already connected to a `tty` and set a timeout for the login:
`agetty {{-t|--timeout}} {{timeout_in_seconds}} -`
@@ -22,14 +22,14 @@ source: https://github.com/tldr-pages/tldr.git
`agetty -8 - {{term_var}}`
- Skip the login ([n]o login) and invoke, as root, another [l]ogin program instead of `/bin/login`:
- Skip the login (no login) and invoke, as root, another login program instead of `/bin/login`:
`agetty {{-n|--skip-login}} {{-l|--login-program}} {{login_program}} {{tty}}`
- Do not display the pre-login ([i]ssue) file (`/etc/issue` by default) before writing the login prompt:
- Do not display the pre-login (issue) file (`/etc/issue` by default) before writing the login prompt:
`agetty {{-i|--noissue}} -`
- Change the [r]oot directory and write a specific fake [H]ost into the `utmp` file:
- Change the root directory and write a specific fake host into the `utmp` file:
`agetty {{-r|--chroot}} {{/path/to/root_directory}} {{-H|--host}} {{fake_host}} -`