From 7388b0496f662cfb1729444ded1a16cc17543a66 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Fri, 5 Apr 2024 00:13:43 +0000 Subject: [PATCH] Update cheatsheets --- tldr/audacious | 1 + tldr/cal | 1 + tldr/chezmoi | 1 + tldr/clementine | 1 + tldr/clifm | 1 + tldr/git-archive | 20 ++++++++++---------- tldr/gitk | 1 + tldr/lilypond | 1 + tldr/linux/caja | 1 + tldr/linux/cmus | 1 + tldr/linux/dolphin | 1 + tldr/linux/homeshick | 1 + tldr/linux/nautilus | 1 + tldr/linux/pw-play | 3 ++- tldr/linux/termusic | 1 + tldr/linux/thunar | 1 + tldr/linux/torsocks | 19 ++++++++++++++++++- tldr/linux/ytfzf | 3 ++- tldr/lmms | 1 + tldr/mc | 3 ++- tldr/mixxx | 1 + tldr/mpc | 4 ++-- tldr/mpd | 1 + tldr/mpv | 1 + tldr/musescore | 1 + tldr/ncmpcpp | 1 + tldr/qmmp | 1 + tldr/ranger | 1 + tldr/stow | 1 + tldr/tuckr | 1 + tldr/vcsh | 1 + tldr/vifm | 3 ++- tldr/vlc | 1 + tldr/you-get | 1 + tldr/youtube-dl | 1 + tldr/youtube-viewer | 1 + tldr/yt-dlp | 1 + 37 files changed, 68 insertions(+), 17 deletions(-) diff --git a/tldr/audacious b/tldr/audacious index df615c97..d601725e 100755 --- a/tldr/audacious +++ b/tldr/audacious @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # audacious > An open-source audio player. Indirectly based on XMMS. +> See also: `clementine`, `mpc`, `ncmpcpp`. > More information: . - Launch the GUI: diff --git a/tldr/cal b/tldr/cal index 50be4afb..addce48f 100644 --- a/tldr/cal +++ b/tldr/cal @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # cal > Display a calendar with the current day highlighted. +> See also: `gcal`. > More information: . - Display a calendar for the current month: diff --git a/tldr/chezmoi b/tldr/chezmoi index dc25e526..d7168ece 100644 --- a/tldr/chezmoi +++ b/tldr/chezmoi @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Chezmoi > A multi-machine dotfile manager, written in Go. +> See also: `stow`, `tuckr`, `vcsh`, `homeshick`. > More information: . - Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`: diff --git a/tldr/clementine b/tldr/clementine index 32c73217..3f90f7b1 100644 --- a/tldr/clementine +++ b/tldr/clementine @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # clementine > A modern music player and library organizer. +> See also: `audacious`, `qmmp`, `cmus`, `mpv`. > More information: . - Start the GUI or bring it to front: diff --git a/tldr/clifm b/tldr/clifm index a8606e95..df14f6f0 100644 --- a/tldr/clifm +++ b/tldr/clifm @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # clifm > The command-line file manager. +> See also: `vifm`, `ranger`, `mc`, `nautilus`. > More information: . - Start CliFM: diff --git a/tldr/git-archive b/tldr/git-archive index 40d05017..e5c710ad 100644 --- a/tldr/git-archive +++ b/tldr/git-archive @@ -5,29 +5,29 @@ source: https://github.com/tldr-pages/tldr.git --- # git archive -> Create an archive of files from a named tree. +> Create an archive of files from a tree. > More information: . - Create a tar archive from the contents of the current HEAD and print it to `stdout`: `git archive --verbose HEAD` -- Create a zip archive from the current HEAD and print it to `stdout`: +- Use the Zip format and report progress [v]erbosely: -`git archive --verbose --format zip HEAD` +`git archive {{-v|--verbose}} --format zip HEAD` -- Same as above, but write the zip archive to file: +- [o]utput the Zip archive to a specific file: -`git archive --verbose --output {{path/to/file.zip}} HEAD` +`git archive -v {{-o|--output}} {{path/to/file.zip}} HEAD` -- Create a tar archive from the contents of the latest commit on a specific branch: +- Create a tar archive from the contents of the latest commit of a specific branch: -`git archive --output {{path/to/file.tar}} {{branch_name}}` +`git archive -o {{path/to/file.tar}} {{branch_name}}` -- Create a tar archive from the contents of a specific directory: +- Use the contents of a specific directory: -`git archive --output {{path/to/file.tar}} HEAD:{{path/to/directory}}` +`git archive -o {{path/to/file.tar}} HEAD:{{path/to/directory}}` - Prepend a path to each file to archive it inside a specific directory: -`git archive --output {{path/to/file.tar}} --prefix {{path/to/prepend}}/ HEAD` +`git archive -o {{path/to/file.tar}} --prefix {{path/to/prepend}}/ HEAD` diff --git a/tldr/gitk b/tldr/gitk index 34b1ee0d..ce971482 100644 --- a/tldr/gitk +++ b/tldr/gitk @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gitk > A graphical Git repository browser. +> See also: `git-gui`, `git-cola`, `tig`. > More information: . - Show the repository browser for the current Git repository: diff --git a/tldr/lilypond b/tldr/lilypond index 32b57948..7facb6b7 100644 --- a/tldr/lilypond +++ b/tldr/lilypond @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # lilypond > Typeset music and/or produce MIDI from file. +> See also: `musescore`. > More information: . - Compile a lilypond file into a PDF: diff --git a/tldr/linux/caja b/tldr/linux/caja index fda383ec..44b4a179 100644 --- a/tldr/linux/caja +++ b/tldr/linux/caja @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # caja > Manages files and directories in MATE desktop environment. +> See also: `nautilus`, `dolphin`, `thunar`, `ranger`. > More information: . - Open the current user home directory: diff --git a/tldr/linux/cmus b/tldr/linux/cmus index cced229b..8b47b2a0 100644 --- a/tldr/linux/cmus +++ b/tldr/linux/cmus @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Command-line Music Player. > Use arrow keys to navigate, `` to select, and numbers 1-8 switch between different views. +> See also: `ncmpcpp`, `clementine`, `qmmp`. > More information: . - Open cmus into the specified directory (this will become your new working directory): diff --git a/tldr/linux/dolphin b/tldr/linux/dolphin index ce72d6ac..9935da8a 100644 --- a/tldr/linux/dolphin +++ b/tldr/linux/dolphin @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # dolphin > KDE's file manager to manage files and directories. +> See also: `nautilus`, `caja`, `thunar`, `ranger`. > More information: . - Launch the file manager: diff --git a/tldr/linux/homeshick b/tldr/linux/homeshick index c6a93864..041e7c35 100644 --- a/tldr/linux/homeshick +++ b/tldr/linux/homeshick @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # homeshick > Synchronize Git dotfiles. +> See also: `chezmoi`, `stow`, `tuckr`, `vcsh`. > More information: . - Create a new castle: diff --git a/tldr/linux/nautilus b/tldr/linux/nautilus index bca4c3fe..d22bebcc 100644 --- a/tldr/linux/nautilus +++ b/tldr/linux/nautilus @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Default file explorer for GNOME desktop environment. > Also known as GNOME Files. +> See also: `dolphin`, `caja`, `thunar`, `vifm`. > More information: . - Launch Nautilus: diff --git a/tldr/linux/pw-play b/tldr/linux/pw-play index d69bab7c..141ce842 100644 --- a/tldr/linux/pw-play +++ b/tldr/linux/pw-play @@ -5,8 +5,9 @@ source: https://github.com/tldr-pages/tldr.git --- # pw-play -> Play audio files through `pipewire`. +> Play audio files through PipeWire. > Shorthand for `pw-cat --playback`. +> See also: `play`. > More information: . - Play a WAV sound file over the default target: diff --git a/tldr/linux/termusic b/tldr/linux/termusic index c87fc379..f4b2cb69 100644 --- a/tldr/linux/termusic +++ b/tldr/linux/termusic @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # termusic > A terminal music player written in Rust that uses vim-like key bindings. +> See also: `cmus`, `ncmpcpp`, `audacious`. > More information: . - Open termusic to a specific directory. (It can be set permanently in `~/.config/termusic/config.toml`): diff --git a/tldr/linux/thunar b/tldr/linux/thunar index 5f5158c0..d9c9744a 100644 --- a/tldr/linux/thunar +++ b/tldr/linux/thunar @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # thunar > Graphical file manager for XFCE desktop environments. +> See also: `caja`, `dolphin`, `nautilus`, `mc`. > More information: . - Open a new window showing the current directory: diff --git a/tldr/linux/torsocks b/tldr/linux/torsocks index 77d636ec..085d4c52 100644 --- a/tldr/linux/torsocks +++ b/tldr/linux/torsocks @@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # torsocks -> Use any application through the Tor network. +> Route the traffic of any application through the Tor network. +> Note: `torsocks` will assume that it should connect to the Tor SOCKS proxy running at 127.0.0.1:9050 being the defaults of the Tor daemon. > More information: . - Run a command using Tor: @@ -15,3 +16,19 @@ source: https://github.com/tldr-pages/tldr.git - Enable or disable Tor in this shell: `. torsocks {{on|off}}` + +- Spawn a new Tor enabled shell: + +`torsocks --shell` + +- Check if current shell is Tor enabled (`LD_PRELOAD` value will be empty if disabled): + +`torsocks show` + +- [i]solate traffic through a different Tor circuit, improving anonymity: + +`torsocks --isolate {{curl https://check.torproject.org/api/ip}}` + +- Connect to a Tor proxy running on a specific [a]ddress and [P]ort: + +`torsocks --address {{ip}} --port {{port}} {{command}}` diff --git a/tldr/linux/ytfzf b/tldr/linux/ytfzf index 6346c9ab..273b252e 100644 --- a/tldr/linux/ytfzf +++ b/tldr/linux/ytfzf @@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # ytfzf -> A POSIX script that helps you find and download videos and music. +> Find and download videos and music. Written in POSIX shell. +> See also: `youtube-dl`, `yt-dlp`, `instaloader`. > More information: . - Search for videos on YouTube with thumbnail previews: diff --git a/tldr/lmms b/tldr/lmms index 80185ec8..081c7457 100644 --- a/tldr/lmms +++ b/tldr/lmms @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Free, open source, cross-platform digital audio workstation. > Render a `.mmp` or `.mmpz` project file, dump a `.mmpz` as XML, or start the GUI. +> See also: `mixxx`. > More information: . - Start the GUI: diff --git a/tldr/mc b/tldr/mc index 1b633dcf..1731d78b 100644 --- a/tldr/mc +++ b/tldr/mc @@ -5,8 +5,9 @@ source: https://github.com/tldr-pages/tldr.git --- # mc -> Midnight Commander, a terminal based file manager. +> Midnight Commander, a TUI file manager. > Navigate the directory structure using the arrow keys, the mouse or by typing the commands into the terminal. +> See also: `ranger`, `clifm`, `vifm`, `nautilus`. > More information: . - Start Midnight Commander: diff --git a/tldr/mixxx b/tldr/mixxx index 9f2bdab0..674136db 100644 --- a/tldr/mixxx +++ b/tldr/mixxx @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mixxx > Free and open source cross-platform DJ software. +> See also: `lmms`. > More information: . - Start the Mixxx GUI in fullscreen: diff --git a/tldr/mpc b/tldr/mpc index 166183bd..e545c4db 100644 --- a/tldr/mpc +++ b/tldr/mpc @@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # mpc -> Music Player Client. -> Control the Music Player Daemon (MPD). +> Music Player Client: control the Music Player Daemon (MPD). +> See also: `mpd`, `ncmpcpp`, `cmus`. > More information: . - Toggle play/pause: diff --git a/tldr/mpd b/tldr/mpd index 601fef83..9f1e3459 100644 --- a/tldr/mpd +++ b/tldr/mpd @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mpd > Music Player Daemon. +> See also: `mpc`, `ncmpcpp`. > More information: . - Start MPD: diff --git a/tldr/mpv b/tldr/mpv index 11d31d2a..4ac2b362 100644 --- a/tldr/mpv +++ b/tldr/mpv @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mpv > A audio/video player based on MPlayer. +> See also: `mplayer`, `vlc`. > More information: . - Play a video or audio from a URL or file: diff --git a/tldr/musescore b/tldr/musescore index 3005f19c..cb9d8f18 100644 --- a/tldr/musescore +++ b/tldr/musescore @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # musescore > MuseScore 3 sheet music editor. +> See also: `lilypond`. > More information: . - Use a specific audio driver: diff --git a/tldr/ncmpcpp b/tldr/ncmpcpp index e3cede6e..d54361ba 100644 --- a/tldr/ncmpcpp +++ b/tldr/ncmpcpp @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ncmpcpp > A music player client for the Music Player Daemon. +> See also: `mpd`, `mpc`, `qmmp`, `termusic`. > More information: . - Connect to a music player daemon on a given host and port: diff --git a/tldr/qmmp b/tldr/qmmp index 73d035f9..f04388fd 100644 --- a/tldr/qmmp +++ b/tldr/qmmp @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qmmp > An audio player with an interface similar to Winamp or XMMS. +> See also: `clementine`, `ncmpcpp`, `cmus`. > More information: . - Launch the GUI: diff --git a/tldr/ranger b/tldr/ranger index 8efe467c..0d34b63f 100644 --- a/tldr/ranger +++ b/tldr/ranger @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ranger > Console file manager with VI key bindings. +> See also: `clifm`, `vifm`, `mc`, `dolphin`. > More information: . - Launch ranger: diff --git a/tldr/stow b/tldr/stow index e8dd0e45..1cfa3f13 100644 --- a/tldr/stow +++ b/tldr/stow @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Symlink manager. > Often used to manage dotfiles. +> See also: `chezmoi`, `tuckr`, `vcsh`, `homeshick`. > More information: . - Symlink all files recursively to a given directory: diff --git a/tldr/tuckr b/tldr/tuckr index 0bd49d51..303955af 100644 --- a/tldr/tuckr +++ b/tldr/tuckr @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # tuckr > Dotfile manager written in Rust. +> See also: `chezmoi`, `vcsh`, `homeshick`, `stow`. > More information: . - Check dotfile status: diff --git a/tldr/vcsh b/tldr/vcsh index 23f36da4..89d5e9cb 100644 --- a/tldr/vcsh +++ b/tldr/vcsh @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # vcsh > Version Control System for the home directory using Git repositories. +> See also: `chezmoi`, `stow`, `tuckr`, `homeshick`. > More information: . - Initialize an (empty) repository: diff --git a/tldr/vifm b/tldr/vifm index 92677899..d990f945 100644 --- a/tldr/vifm +++ b/tldr/vifm @@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # vifm -> VI File Manager is a command-line file manager. +> VI File Manager is a TUI file manager. +> See also: `clifm`, `vifm`, `mc`, `caja`. > More information: . - Open the current directory: diff --git a/tldr/vlc b/tldr/vlc index eeba6e33..6978c6f0 100644 --- a/tldr/vlc +++ b/tldr/vlc @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # vlc > Cross-platform multimedia player. +> See also: `mpv`, `mplayer`, `ytfzf`. > More information: . - Play a file: diff --git a/tldr/you-get b/tldr/you-get index 6ea9707d..7f22bfe9 100644 --- a/tldr/you-get +++ b/tldr/you-get @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # you-get > Download media contents (videos, audios, images) from the Web. +> See also: `yt-dlp`, `youtube-viewer`, `instaloader`. > More information: . - Print media information about a specific media on the web: diff --git a/tldr/youtube-dl b/tldr/youtube-dl index 9fb3a8f7..afa8a82b 100644 --- a/tldr/youtube-dl +++ b/tldr/youtube-dl @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # youtube-dl > Download videos from YouTube and other websites. +> See also: `yt-dlp`, `ytfzf`, `you-get`. > More information: . - Download a video or playlist: diff --git a/tldr/youtube-viewer b/tldr/youtube-viewer index 2c60b33a..d12746d9 100644 --- a/tldr/youtube-viewer +++ b/tldr/youtube-viewer @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # youtube-viewer > Search and play videos from YouTube. +> See also: `you-get`, `ytfzf`, `yt-dlp`. > More information: . - Search for a video: diff --git a/tldr/yt-dlp b/tldr/yt-dlp index 5c4e0720..9cdcc51d 100644 --- a/tldr/yt-dlp +++ b/tldr/yt-dlp @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > A youtube-dl fork with additional features and fixes. > Download videos from YouTube and other websites. +> See also: `yt-dlp`, `ytfzf`. > More information: . - Download a video or playlist (with the default options from command below):