Skip to content
#

command-line

terminal logo

Terminal is a serial computer interface for text entry and display. Instruction given to perform a task are called commands. Current computers (GUI based) uses terminal emulators such as Unix shell, BASH shell, command prompt.

Here are 227 public repositories matching this topic...

bat
sharkdp
sharkdp commented Oct 3, 2020

With all the recent news about Hacktoberfest I thought it would be a good idea to point out good beginner issues that would be actually helpful for bat. In the past years, I have actually experienced Hacktoberfest as a really great event - both as a contributor as well as a maintainer.

As of recently, bat has a set of syntax highlighting regress

sharkdp
sharkdp commented May 25, 2020

I see a lot of fd users that seem to think that they need to add "{}" to all commands. Some users also seem to think that the closing semicolon (which needs to be escaped) \; is required:

fd … -x command "{}" \;

In reality, 90% of the --exec use cases can be written without the "{}" part (which fd adds, if it is ommitted) because the file entry often comes last. The semic

hyperfine
matthew-hollick
matthew-hollick commented Oct 1, 2020

Hi,
Just started using hyperfine, I think it's going to find a permanent place in my toolkit.

I've been using it to test two instances of the same service running on 2 different local ports (the services in question run on remote servers that I have configured SSH tunnels to).

My invocation looks something like:
`hyperfine --export-markdown results.md 'curl localhost:1000/query' 'curl loca

lzutao
lzutao commented Oct 29, 2019

Maybe I were doing it wrong.
The computed directory is my clippy build.

% /usr/bin/du -sch
4.5G    .
4.5G    total
% diskus
4.73 GB (4,727,521,280 bytes)
% hyperfine diskus '/usr/bin/du -sch'
Benchmark #1: diskus
  Time (mean ± σ):     115.8 ms ±  28.6 ms    [User: 2.601 s, System: 0.592 s]
  Range (min … max):    69.1 ms … 156.9 ms    19 runs

Benchmark #2: /usr/bin/du -sc
You can’t perform that action at this time.