mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 17:43:55 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user