diff --git a/tldr/atrm b/tldr/atrm index e1258d02..8c661659 100644 --- a/tldr/atrm +++ b/tldr/atrm @@ -6,12 +6,12 @@ source: https://github.com/tldr-pages/tldr.git # atrm > Remove jobs scheduled by `at` or `batch` commands. -> To find job numbers use `atq`. +> Note: To find job numbers use `atq`. > More information: . - Remove job number 10: -`atrm {{10}}` +`atrm 10` - Remove many jobs, separated by spaces: diff --git a/tldr/bun-install b/tldr/bun-install index 4a111544..2fcf03fa 100644 --- a/tldr/bun-install +++ b/tldr/bun-install @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Install only production dependencies (skips `devDependencies`): -`bun {{[i|install]}} --production` +`bun {{[i|install]}} {{[-p|--production]}}` - Install dependencies exactly from the `bun.lockb` lockfile (frozen lockfile): diff --git a/tldr/delta b/tldr/delta index 83c7a043..af3b0021 100644 --- a/tldr/delta +++ b/tldr/delta @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # delta > A viewer for Git and diff output. +> See also: `diff`, `difft`. > More information: . - Compare files or directories: diff --git a/tldr/diff b/tldr/diff index 3d8b72db..9d0d5729 100644 --- a/tldr/diff +++ b/tldr/diff @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # diff > Compare files and directories. +> See also: `delta`, `difft`. > More information: . - Compare files (lists changes to turn `old_file` into `new_file`): diff --git a/tldr/openssl-genpkey b/tldr/openssl-genpkey index 319b3be0..21dc15ac 100644 --- a/tldr/openssl-genpkey +++ b/tldr/openssl-genpkey @@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git - Generate an RSA private key of 2048 bits, saving it to a specific file: -`openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:{{2048}} -out {{filename.key}}` +`openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:{{2048}} -out {{path/to/private.key}}` - Generate an elliptic curve private key using the curve `prime256v1`, saving it to a specific file: -`openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:{{prime256v1}} -out {{filename.key}}` +`openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:{{prime256v1}} -out {{path/to/private.key}}` - Generate an `ED25519` elliptic curve private key, saving it to a specific file: -`openssl genpkey -algorithm {{ED25519}} -out {{filename.key}}` +`openssl genpkey -algorithm {{ED25519}} -out {{path/to/private.key}}` diff --git a/tldr/rsync b/tldr/rsync index e484a720..a17e05c6 100644 --- a/tldr/rsync +++ b/tldr/rsync @@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git > To specify a remote path, use `user@host:path/to/file_or_directory`. > More information: . -- Transfer a file: +- Transfer a file (use `--dry-run` to simulate the transfer): `rsync {{path/to/source}} {{path/to/destination}}` @@ -21,9 +21,9 @@ source: https://github.com/tldr-pages/tldr.git `rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{path/to/source}} {{path/to/destination}}` -- Recursively copy directories: +- Recursively copy directories and ensure each file is fully committed to disk rather than remaining in RAM: -`rsync {{[-r|--recursive]}} {{path/to/source}} {{path/to/destination}}` +`rsync {{[-r|--recursive]}} --fsync {{path/to/source}} {{path/to/destination}}` - Transfer directory contents, but not the directory itself: diff --git a/tldr/windows/bleachbit_console b/tldr/windows/bleachbit_console index 270306e1..cede2980 100644 --- a/tldr/windows/bleachbit_console +++ b/tldr/windows/bleachbit_console @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Shred a file: -`bleachbit_console.exe --shred {{path/to/file}}` +`bleachbit_console.exe --shred {{path o ile}}` - List available cleaner options: diff --git a/tldr/windows/choco-new b/tldr/windows/choco-new index a6712d22..d043acc1 100644 --- a/tldr/windows/choco-new +++ b/tldr/windows/choco-new @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Create a new package in a custom output directory: -`choco new {{package}} {{[--out|--output-directory]}} {{path/to/directory}}` +`choco new {{package}} {{[--out|--output-directory]}} {{path o\directory}}` - Create a new package with specific 32-bit and 64-bit installer URLs: diff --git a/tldr/windows/cl b/tldr/windows/cl index 2faef91b..831fbdf8 100644 --- a/tldr/windows/cl +++ b/tldr/windows/cl @@ -10,28 +10,28 @@ source: https://github.com/tldr-pages/tldr.git - Compile a source file: -`cl {{path/to/source.c}}` +`cl {{path o\source.c}}` - Compile and create an executable with a custom name: -`cl /Fe {{path/to/output_executable}} {{path/to/source.c}}` +`cl /Fe {{path o\output_executable}} {{path o\source.c}}` - Compile a source file with optimization enabled: -`cl /O2 {{path/to/source.c}}` +`cl /O2 {{path o\source.c}}` - Compile a source file and create a debug executable: -`cl /Zi {{path/to/source.c}}` +`cl /Zi {{path o\source.c}}` - Compile multiple source files: -`cl {{path/to/source1.c path/to/source2.c ...}}` +`cl {{path o\source1.c path o\source2.c ...}}` - Specify the output directory for compiled files: -`cl /Fo {{path/to/output_directory}}/ {{path/to/source.c}}` +`cl /Fo {{path o\output_directory}}/ {{path o\source.c}}` - Compile with warnings as errors: -`cl /WX {{path/to/source.c}}` +`cl /WX {{path o\source.c}}` diff --git a/tldr/windows/ftype b/tldr/windows/ftype index 382a32ba..09fc12e2 100644 --- a/tldr/windows/ftype +++ b/tldr/windows/ftype @@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git - Set the associated program for a specific file type: -`ftype {{file_type}}="{{path/to/executable_file}}"` +`ftype {{file_type}}="{{path oxecutable_file}}"` diff --git a/tldr/windows/lib b/tldr/windows/lib index 03fe35e8..420510c6 100644 --- a/tldr/windows/lib +++ b/tldr/windows/lib @@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git - Create a static library from object files: -`lib /OUT :{{path/to/library.lib}} {{path/to/file1.obj path/to/file2.obj ...}}` +`lib /OUT :{{path o\library.lib}} {{path o ile1.obj path o ile2.obj ...}}` - List the contents of a library: -`lib /LIST {{path/to/library.lib}}` +`lib /LIST {{path o\library.lib}}` - Add an object file to an existing library: -`lib {{path/to/library.lib}} {{path/to/file.obj}}` +`lib {{path o\library.lib}} {{path o ile.obj}}` - Remove an object file from a library: -`lib /REMOVE :{{path/to/file.obj}} {{path/to/library.lib}}` +`lib /REMOVE :{{path o ile.obj}} {{path o\library.lib}}` - Extract an object file from a library: -`lib /EXTRACT :{{path/to/file.obj}} {{path/to/library.lib}}` +`lib /EXTRACT :{{path o ile.obj}} {{path o\library.lib}}` - Create an import library from a DLL: -`lib /DEF :{{path/to/definition.def}} /OUT:{{path/to/import.lib}}` +`lib /DEF :{{path o\definition.def}} /OUT:{{path o\import.lib}}` diff --git a/tldr/windows/nmake b/tldr/windows/nmake index 1b722119..68f5e347 100644 --- a/tldr/windows/nmake +++ b/tldr/windows/nmake @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Build targets using a specific makefile: -`nmake /F {{path/to/makefile}}` +`nmake /F {{path o\makefile}}` - Build a specific target: diff --git a/tldr/windows/powershell b/tldr/windows/powershell index aacdb013..b0b8cac1 100644 --- a/tldr/windows/powershell +++ b/tldr/windows/powershell @@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git - Execute a specific script: -`powershell -File {{path/to/script.ps1}}` +`powershell -File {{path o\script.ps1}}` - Start a session with a specific version of PowerShell: diff --git a/tldr/windows/py b/tldr/windows/py index 092ff100..0363bf04 100644 --- a/tldr/windows/py +++ b/tldr/windows/py @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Execute a specific Python file: -`py {{path/to/file.py}}` +`py {{path o ile.py}}` - Run specific Python version. If the version is missing, and `PYLAUNCHER_ALLOW_INSTALL` environment variable is set, auto-install via Microsoft Store or Winget: diff --git a/tldr/windows/rename-item b/tldr/windows/rename-item index 27c45c59..6d9b77ee 100644 --- a/tldr/windows/rename-item +++ b/tldr/windows/rename-item @@ -11,20 +11,21 @@ source: https://github.com/tldr-pages/tldr.git - Rename a file: -`Rename-Item -Path "{{path/to/file}}" -NewName "{{new_file_name}}"` +`Rename-Item -Path "{{path o ile}}" -NewName "{{new_file_name}}"` - Rename a directory: -`Rename-Item -Path "{{path/to/directory}}" -NewName "{{new_directory_name}}"` +`Rename-Item -Path "{{path o\directory}}" -NewName "{{new_directory_name}}"` - Rename and move a file: -`Rename-Item -Path "{{path/to/file}}" -NewName "{{path/to/new_file_name}}"` +`Rename-Item -Path "{{path o ile}}" -NewName "{{path o +ew_file_name}}"` - Rename a file by force: -`Rename-Item -Path "{{path/to/file}}" -NewName "{{new_file_name}}" -Force` +`Rename-Item -Path "{{path o ile}}" -NewName "{{new_file_name}}" -Force` - Prompt confirmation before renaming a file: -`Rename-Item -Path "{{path/to/file}}" -NewName "{{new_file_name}}" {{[-Confirm|-cf]}}` +`Rename-Item -Path "{{path o ile}}" -NewName "{{new_file_name}}" {{[-Confirm|-cf]}}` diff --git a/tldr/windows/vol.py b/tldr/windows/vol.py index 42f0222a..5eea8e7a 100644 --- a/tldr/windows/vol.py +++ b/tldr/windows/vol.py @@ -11,19 +11,19 @@ source: https://github.com/tldr-pages/tldr.git - Get information about a memory dump file: -`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.info` +`python3 vol.py {{[-f|--filename]}} {{path o\memory_dump_file}} windows.info` - List active processes: -`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.pslist` +`python3 vol.py {{[-f|--filename]}} {{path o\memory_dump_file}} windows.pslist` - List hashes of users on system: -`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.hashdump` +`python3 vol.py {{[-f|--filename]}} {{path o\memory_dump_file}} windows.hashdump` - List active network connections: -`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.netstat` +`python3 vol.py {{[-f|--filename]}} {{path o\memory_dump_file}} windows.netstat` - Display help: diff --git a/tldr/windows/winget b/tldr/windows/winget index 9448bb9b..b15f1322 100644 --- a/tldr/windows/winget +++ b/tldr/windows/winget @@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git - Import packages from a file, or export installed packages to a file: -`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}` +`winget {{import|export}} {{--import-file|--output}} {{path o ile}}` - Validate manifests before submitting a PR to the winget-pkgs repository: -`winget validate {{path/to/manifest}}` +`winget validate {{path o\manifest}}` diff --git a/tldr/windows/wsl b/tldr/windows/wsl index 569a1f35..e1b9e2d5 100644 --- a/tldr/windows/wsl +++ b/tldr/windows/wsl @@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git - Import a distribution from a `.tar` file: -`wsl --import {{distribution}} {{path o\install_location}} {{path/to/distro_file.tar}}` +`wsl --import {{distribution}} {{path o\install_location}} {{path o\distro_file.tar}}` - Change the version of wsl used for the specified distribution: