diff --git a/tldr/android/wm b/tldr/android/wm index 990cf560..65c9df11 100644 --- a/tldr/android/wm +++ b/tldr/android/wm @@ -11,8 +11,8 @@ source: https://github.com/tldr-pages/tldr.git - Display the physical size of an Android device's screen: -`wm {{size}}` +`wm size` - Display the physical density of an Android device's screen: -`wm {{density}}` +`wm density` diff --git a/tldr/dolt-sql b/tldr/dolt-sql index 91b6271f..c17bf631 100644 --- a/tldr/dolt-sql +++ b/tldr/dolt-sql @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # dolt sql -> Run a SQL query. Multiple SQL statements must be separated by semicolons. +> Run an SQL query. Multiple SQL statements must be separated by semicolons. > More information: . - Run a single query: diff --git a/tldr/dotnet-ef b/tldr/dotnet-ef index dc03de90..00116dd0 100644 --- a/tldr/dotnet-ef +++ b/tldr/dotnet-ef @@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git `dotnet ef migrations list` -- Generate a SQL script from migrations range: +- Generate an SQL script from migrations range: `dotnet ef migrations script {{from_migration}} {{to_migration}}` diff --git a/tldr/duckdb b/tldr/duckdb index 6f16e04b..65ed3b9b 100644 --- a/tldr/duckdb +++ b/tldr/duckdb @@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git `duckdb -c "{{SELECT * FROM 'data_source.[csv|csv.gz|json|json.gz|parquet]'}}"` -- Run a SQL script: +- Run an SQL script: `duckdb -c ".read {{path/to/script.sql}}"` diff --git a/tldr/fastboot b/tldr/fastboot index e9355c54..a922a5d0 100644 --- a/tldr/fastboot +++ b/tldr/fastboot @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # fastboot -> Communicate with connected Android devices when in bootloader mode (the one place `adb` doesn't work). +> Communicate with connected Android devices when in bootloader mode (the one place ADB doesn't work). > More information: . - Unlock the bootloader: @@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git `fastboot flash recovery {{path/to/file.img}}` -- Display connected devices: +- List connected devices: `fastboot devices` diff --git a/tldr/fdroidcl b/tldr/fdroidcl index 85ee8f57..0b698498 100644 --- a/tldr/fdroidcl +++ b/tldr/fdroidcl @@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git --- # fdroidcl -> F-Droid CLI client. +> Manage F-Droid apps of devices connected via ADB. > More information: . - Fetch the F-Droid index: `fdroidcl update` -- Display info about an app: +- Display information about an app: `fdroidcl show {{app_id}}` -- Download an APK file: +- Download the APK file of an app: `fdroidcl download {{app_id}}` @@ -27,3 +27,11 @@ source: https://github.com/tldr-pages/tldr.git - Install an app on a connected device: `fdroidcl install {{app_id}}` + +- Add a repository: + +`fdroidcl repo add {{repo_name}} {{url}}` + +- Remove, enable or disable a repository: + +`fdroidcl repo {{remove|enable|disable}} {{repo_name}}` diff --git a/tldr/gcloud-sql-export-sql b/tldr/gcloud-sql-export-sql index d750efd8..12984c95 100644 --- a/tldr/gcloud-sql-export-sql +++ b/tldr/gcloud-sql-export-sql @@ -5,11 +5,11 @@ source: https://github.com/tldr-pages/tldr.git --- # gcloud sql export sql -> Export data from a Cloud SQL instance to a SQL file in Google Cloud Storage. +> Export data from a Cloud SQL instance to an SQL file in Google Cloud Storage. > Useful for creating backups or migrating data. See also: `gcloud`. > More information: . -- Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as a SQL dump file: +- Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as an SQL dump file: `gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}}` diff --git a/tldr/linux/aur b/tldr/linux/aur new file mode 100644 index 00000000..9b734b15 --- /dev/null +++ b/tldr/linux/aur @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# aur + +> Build packages from the AUR and manage local repositories. +> Note: A local repository needs to be set in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function. +> More information: . + +- Search the AUR database for a package: + +`aur search {{keyword}}` + +- Download a package and its dependencies from AUR, build them and add them to a local repository: + +`aur sync {{package}}` + +- [l]ist packages available in your local repository: + +`aur repo --list` + +- [u]pgrade local repository packages: + +`aur sync --upgrades` diff --git a/tldr/linux/dnsrecon b/tldr/linux/dnsrecon index b62a51e3..b7a86329 100644 --- a/tldr/linux/dnsrecon +++ b/tldr/linux/dnsrecon @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > DNS enumeration tool. > More information: . -- Scan a domain and save the results to a SQLite database: +- Scan a domain and save the results to an SQLite database: `dnsrecon --domain {{example.com}} --db {{path/to/database.sqlite}}` diff --git a/tldr/mysqlsh b/tldr/mysqlsh index 5cb4ba1c..da6fa7fb 100644 --- a/tldr/mysqlsh +++ b/tldr/mysqlsh @@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git `mysqlsh --user {{username}} --host {{hostname}} --port {{port}}` -- Execute a SQL statement on the server and exit: +- Execute an SQL statement on the server and exit: `mysqlsh --user {{username}} --execute '{{sql_statement}}'` diff --git a/tldr/textql b/tldr/textql index 310b30ea..314be7db 100644 --- a/tldr/textql +++ b/tldr/textql @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Execute SQL against structured text like csv or tsv files. > More information: . -- Print the lines in the specified `.csv` file that match a SQL query to `stdout`: +- Print the lines in the specified `.csv` file that match an SQL query to `stdout`: `textql -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}`