-z might be pointless since you’re transferring files locally.
- 0 Posts
- 24 Comments
There’s nothing inherently wrong with OpenVPN, so if you’re happy with it, just stay with it.
In case you decide to look for alternatives, I would probably go with elastic/filebeat/grafana, a fairly standard log monitoring suite. Not saying it’s better or worse than Victoria Logs, which i have no experience with.
I think it depends a lot on what kind of application you’re thinking of. Here are some examples of tools that I particularly remember for having nice CLI interfaces, but they are all slightly different in terms of the number of operations/entities they support.
Single operation, a lot of different types of data: httpie
httpie is a CLI HTTP client. It allows to generate fairly complex requests, choose which diagnostic information you want to see, etc.
Examples:
$ https httpie.io/hello $ http PUT pie.dev/put X-API-Token:123 name=John $ http -v pie.dev/getSeveral operations, a lot of parameters: Bazel
Bazel is a build system. There are only a handful of operations you typically perform (build, run, test, query), but they all follow the same pattern.
Examples:
$ bazel build //app $ bazel --quiet build //app -c opt $ bazel --quiet run //app -c opt -- --port=1234Multiple entites, multiple operations: LVM
I really liked the interface of Linux Volume Manager tools. They consist of multiple commands that follow the same pattern, and use the same flags for options.
Examples:
# vgcreate -n vg_name # vgs # pvcreate /dev/sda # vgextend vg_name /dev/sda # lvcreate vg_name -n lv_name -L5G # lvresize vg_name/lv_name -L+1G # lvs
Wanted to mention jj too. It follows a fairly standard pattern of ‘<command> <noun> <verb>’, e.g. ‘jj bookmark create’, allows to abbreviate unambiguous commands (e.g. ‘jj b c’), has a lot of QoL features (such as highlighting unique prefixes of change IDs in the output). Really a lot of thought went into CLI design specifically it seems.
hades@feddit.ukto
Linux@lemmy.ml•Is there an application that stabilizes the volume level of downloaded mp3 files?
23·5 months agoGo to Preferences -> Audio -> Replay Gain mode and set it to “Album” (if you’re listening to whole albums) or “Track” (if you’re mixing it up). This will let VLC read the ReplayGain[1] tags in your files and adjust playback volume accordingly. Chances are high that a lot of your collection already has these tags, and you won’t have to do anything else. If some of your files don’t have these tags, just run a tool (https://github.com/complexlogic/rsgain for example) to generate them.
Nice! I used to do something like this, which avoids xargs altogether:
cat urls.txt | while read url; do echo download $url; done
hades@feddit.ukto
Linux@lemmy.ml•A modern and simple font (pre)viewing application seems to be an impossible thing …
4·6 months agoWhat features do you need? Just render a string with a given font and that’s it? Or something more advanced?
One is probably link local the other is global, that’s pretty normal. https://en.wikipedia.org/wiki/IPv6_address#Address_Scopes
Ah okay, it’s a user unit then. Try the following:
$ systemctl --user enable ydotoold $ systemctl --user start ydotoold
Sadly very typical for science journalists.
It looks like you’re missing the ydotool.service unit file in the package. Can you check by running
dpkg -L ydotool-custom(the name of the package you chose in step 3.4)?Unit files are how services are defined in most Linux-based desktop systems, similar to services in Windows.
can you explain the joke, i work at cloudflare
hades@feddit.ukto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?
1·7 months agoI just press M-.
hades@feddit.ukto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?
1·7 months agofzf is great for quickly finding files e.g. in large code repositories.
tcpdump can help diagnose network issues.
hades@feddit.ukto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?
41·7 months agotmux is based
hades@feddit.ukto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?
18·7 months agoAlso if you make a typo you can quickly fix it with ^, e.g.
ls /var/logs/apache^logs^log
hades@feddit.ukto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?
2·7 months agoNumber one will forever and ever be strace



Gentoo is better than any other distribution