mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
pages*: fix names of operating systems (#12140)
This commit is contained in:
parent
2d0bcd754b
commit
bcfadedad0
6 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
> The MongoDB database server.
|
||||
> More information: <https://docs.mongodb.com/manual/reference/program/mongod>.
|
||||
|
||||
- Specify the storage directory (default: `/data/db` on Linux and MacOS, `C:\data\db` on Windows):
|
||||
- Specify the storage directory (default: `/data/db` on Linux and macOS, `C:\data\db` on Windows):
|
||||
|
||||
`mongod --dbpath {{path/to/directory}}`
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
`perl -n -e 'print if m/{{regex1}}/ and m/{{regex2}}/i'`
|
||||
|
||||
- Say [-E] first match group, using a regexp, ignoring space in regex [/x] :
|
||||
- Say [-E] first match group, using a regexp, ignoring space in regex [/x]:
|
||||
|
||||
`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'`
|
||||
|
||||
|
@ -15,6 +15,6 @@
|
|||
|
||||
`perl -i'.bak' -p -e 's/{{regex}}/{{replacement}}/g' {{path/to/files}}`
|
||||
|
||||
- Use perl's inline documentation, some pages also available via man on linux:
|
||||
- Use perl's inline documentation, some pages also available via manual pages on Linux:
|
||||
|
||||
`perldoc perlrun ; perldoc module ; perldoc -f splice; perldoc -q perlfaq1`
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
` python -m venv {{path/to/virtual_environment}}`
|
||||
|
||||
- Activate the virtual environment (Linux and Mac OS):
|
||||
- Activate the virtual environment (Linux and macOS):
|
||||
|
||||
`source {{path/to/virtual_environment}}/bin/activate`
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
`getconf -a {{path/to/directory}}`
|
||||
|
||||
- Check if your linux system is a 32-bit or 64-bit:
|
||||
- Check if the system is 32-bit or 64-bit:
|
||||
|
||||
`getconf LONG_BIT`
|
||||
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
|
||||
`grub-file --is-x86-linux {{path/to/file}}`
|
||||
|
||||
- Check if a file is an x86_64 XNU image (Mac OS X kernel):
|
||||
- Check if a file is an x86_64 XNU image (macOS kernel):
|
||||
|
||||
`grub-file --is-x86_64-xnu {{path/to/file}}`
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
> Simplified software signal facilities.
|
||||
> More information: <https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/signal.3.html>.
|
||||
|
||||
- View documentation for signals in Mac OS:
|
||||
- View documentation for signals in macOS:
|
||||
|
||||
`man signal`
|
||||
|
|
Loading…
Add table
Reference in a new issue