HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sk — Fuzzy finder written in Rust. Similar to `fzf`. More information: <https://github.com/skim-rs/skim>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfinderrustwrittensimilarclifuzzysk

Problem

How to use the sk command: Fuzzy finder written in Rust. Similar to fzf. More information: <https://github.com/skim-rs/skim>.

Solution

sk — Fuzzy finder written in Rust. Similar to fzf. More information: <https://github.com/skim-rs/skim>.

Start skim on all files in the specified directory:
find {{path/to/directory}} -type f | sk


Start skim for running processes:
ps aux | sk


Start skim with a specified query:
sk --query "{{query}}"


Select multiple files with <Shift Tab> and write to a file:
find {{path/to/directory}} -type f | sk --multi > {{path/to/file}}

Code Snippets

Start `skim` on all files in the specified directory

find {{path/to/directory}} -type f | sk

Start `skim` for running processes

ps aux | sk

Start `skim` with a specified query

sk --query "{{query}}"

Select multiple files with `<Shift Tab>` and write to a file

find {{path/to/directory}} -type f | sk --multi > {{path/to/file}}

Context

tldr-pages: common/sk

Revisions (0)

No revisions yet.