Update cheatsheets

This commit is contained in:
ivuorinen
2024-08-14 00:15:26 +00:00
parent d62421bd26
commit e4b6d095d3
6 changed files with 58 additions and 7 deletions

View File

@@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
- Assemble a file, writing the output to `a.out`:
`as {{file.s}}`
`as {{path/to/file.s}}`
- Assemble the output to a given file:
`as {{file.s}} -o {{out.o}}`
`as {{path/to/file.s}} -o {{path/to/output_file.o}}`
- Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers):
`as -f {{file.s}}`
`as -f {{path/to/file.s}}`
- Include a given path to the list of directories to search for files specified in `.include` directives:
`as -I {{path/to/directory}} {{file.s}}`
`as -I {{path/to/directory}} {{path/to/file.s}}`

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Shut down immediately without contacting the system manager:
`poweroff --force --force`
`poweroff --force`
- Write the wtmp shutdown entry without shutting down the system: