mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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: <https://audacious-media-player.org>.
|
||||
|
||||
- Launch the GUI:
|
||||
|
||||
1
tldr/cal
1
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: <https://manned.org/cal.1p>.
|
||||
|
||||
- Display a calendar for the current month:
|
||||
|
||||
@@ -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: <https://chezmoi.io>.
|
||||
|
||||
- Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`:
|
||||
|
||||
@@ -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: <https://github.com/clementine-player/Clementine/wiki>.
|
||||
|
||||
- Start the GUI or bring it to front:
|
||||
|
||||
@@ -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: <https://github.com/leo-arch/clifm>.
|
||||
|
||||
- Start CliFM:
|
||||
|
||||
@@ -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: <https://git-scm.com/docs/git-archive>.
|
||||
|
||||
- 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`
|
||||
|
||||
@@ -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: <https://git-scm.com/docs/gitk>.
|
||||
|
||||
- Show the repository browser for the current Git repository:
|
||||
|
||||
@@ -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: <https://lilypond.org>.
|
||||
|
||||
- Compile a lilypond file into a PDF:
|
||||
|
||||
@@ -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: <https://manned.org/caja>.
|
||||
|
||||
- Open the current user home directory:
|
||||
|
||||
@@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Command-line Music Player.
|
||||
> Use arrow keys to navigate, `<enter/return>` to select, and numbers 1-8 switch between different views.
|
||||
> See also: `ncmpcpp`, `clementine`, `qmmp`.
|
||||
> More information: <https://cmus.github.io>.
|
||||
|
||||
- Open cmus into the specified directory (this will become your new working directory):
|
||||
|
||||
@@ -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: <https://apps.kde.org/dolphin/>.
|
||||
|
||||
- Launch the file manager:
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# homeshick
|
||||
|
||||
> Synchronize Git dotfiles.
|
||||
> See also: `chezmoi`, `stow`, `tuckr`, `vcsh`.
|
||||
> More information: <https://github.com/andsens/homeshick/wiki>.
|
||||
|
||||
- Create a new castle:
|
||||
|
||||
@@ -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: <https://manned.org/nautilus>.
|
||||
|
||||
- Launch Nautilus:
|
||||
|
||||
@@ -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: <https://fedoraproject.org/wiki/QA:Testcase_PipeWire_PipeWire_CLI>.
|
||||
|
||||
- Play a WAV sound file over the default target:
|
||||
|
||||
@@ -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: <https://github.com/tramhao/termusic>.
|
||||
|
||||
- Open termusic to a specific directory. (It can be set permanently in `~/.config/termusic/config.toml`):
|
||||
|
||||
@@ -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: <https://docs.xfce.org/xfce/thunar/start>.
|
||||
|
||||
- Open a new window showing the current directory:
|
||||
|
||||
@@ -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: <https://gitlab.torproject.org/tpo/core/torsocks/>.
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -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: <https://github.com/pystardust/ytfzf>.
|
||||
|
||||
- Search for videos on YouTube with thumbnail previews:
|
||||
|
||||
@@ -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: <https://lmms.io>.
|
||||
|
||||
- Start the GUI:
|
||||
|
||||
3
tldr/mc
3
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: <https://midnight-commander.org>.
|
||||
|
||||
- Start Midnight Commander:
|
||||
|
||||
@@ -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: <https://mixxx.org/manual/latest/chapters/appendix.html#command-line-options>.
|
||||
|
||||
- Start the Mixxx GUI in fullscreen:
|
||||
|
||||
4
tldr/mpc
4
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: <https://www.musicpd.org/doc/mpc/html>.
|
||||
|
||||
- Toggle play/pause:
|
||||
|
||||
1
tldr/mpd
1
tldr/mpd
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mpd
|
||||
|
||||
> Music Player Daemon.
|
||||
> See also: `mpc`, `ncmpcpp`.
|
||||
> More information: <https://www.musicpd.org/>.
|
||||
|
||||
- Start MPD:
|
||||
|
||||
1
tldr/mpv
1
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: <https://mpv.io>.
|
||||
|
||||
- Play a video or audio from a URL or file:
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# musescore
|
||||
|
||||
> MuseScore 3 sheet music editor.
|
||||
> See also: `lilypond`.
|
||||
> More information: <https://musescore.org/en/handbook/3/command-line-options>.
|
||||
|
||||
- Use a specific audio driver:
|
||||
|
||||
@@ -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: <https://rybczak.net/ncmpcpp>.
|
||||
|
||||
- Connect to a music player daemon on a given host and port:
|
||||
|
||||
@@ -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: <http://qmmp.ylsoftware.com>.
|
||||
|
||||
- Launch the GUI:
|
||||
|
||||
@@ -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: <https://github.com/ranger/ranger>.
|
||||
|
||||
- Launch ranger:
|
||||
|
||||
@@ -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: <https://www.gnu.org/software/stow>.
|
||||
|
||||
- Symlink all files recursively to a given directory:
|
||||
|
||||
@@ -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: <https://github.com/RaphGL/Tuckr>.
|
||||
|
||||
- Check dotfile status:
|
||||
|
||||
@@ -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: <https://github.com/RichiH/vcsh>.
|
||||
|
||||
- Initialize an (empty) repository:
|
||||
|
||||
@@ -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: <https://github.com/vifm/vifm>.
|
||||
|
||||
- Open the current directory:
|
||||
|
||||
1
tldr/vlc
1
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: <https://wiki.videolan.org/Documentation:Command_line/>.
|
||||
|
||||
- Play a file:
|
||||
|
||||
@@ -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: <https://you-get.org>.
|
||||
|
||||
- Print media information about a specific media on the web:
|
||||
|
||||
@@ -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: <http://rg3.github.io/youtube-dl/>.
|
||||
|
||||
- Download a video or playlist:
|
||||
|
||||
@@ -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: <https://github.com/trizen/youtube-viewer>.
|
||||
|
||||
- Search for a video:
|
||||
|
||||
@@ -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: <https://github.com/yt-dlp/yt-dlp>.
|
||||
|
||||
- Download a video or playlist (with the default options from command below):
|
||||
|
||||
Reference in New Issue
Block a user