Questions tagged [utilities]

small programs used on the command line to do a specific job

Filter by
Sorted by
Tagged with
-2
votes
1answer
42 views

tar flexibility for -f

In the following command for example, tar -xzv works but tar -xzvf fails: wget ${target_url} -O - | tar -xzv --strip-components 1 -C ${web_application_root}/${domain} I understand I download a data ...
-1
votes
1answer
28 views

how to run fio verify reliably in linux

I am using fio over disks exposed through iscsi. I am giving these params in fio fio --name=randwrite --ioengine=libaio --iodepth=64 --rw=randrw --rwmixread=50 --bs=4k-2M --direct=1 -filename=data --...
0
votes
0answers
29 views

Popular/historical tools for managing license headers in source code?

I've never been in the need of adding/updating/replacing license headers into every source code file in a big project, but now I am. And I always thought there was some popular tool for doing it, ...
2
votes
1answer
25 views

Is there a way to convert flac files to ape?

I need to convert flac files to ape. Googled for that topic, but seems like ape file is outdated, so no solution was found. Any tools, ideas to resolve the problem?
1
vote
1answer
43 views

What's the difference between ledmon and ledctl?

Both are LED control tools released by Intel. https://linux.die.net/man/8/ledmon https://linux.die.net/man/8/ledctl What's their difference? Do I need ledmon to be executed first to run ledctl?
0
votes
0answers
7 views

BMC executed 'ipmitool power soft' but host has no reaction

In my understanding, OS seems to need to install ipmitool ( I am not sure ) to receive this command from BMC (? or OS don't need it ?), but I am not sure which package. When BMC send 'ipmitool power ...
1
vote
1answer
29 views

What tool can check internet TX/RX status as top/htop?

For processor usage, we can use top or htop. For internet status, I would like to know the current TX/RX status, any command/tool to use?
2
votes
1answer
70 views

scrypt key calculator

scrypt is a password-based key derivation function that can be tuned to use a large amount of memory. I want a command-line interface to calculate the key given my own values for parameters: password,...
0
votes
0answers
66 views

How to convert xqx files into actual text using a command like xqxdecode?

Let's say I have an XQX file (A printer stream file) that I got from LibreOffice Writer, how can I extract the text from that that file using xqxdecode? After reading the documentation for the ...
0
votes
1answer
21 views

Pipe viewer logging

Using the pipe viewer (pv) utility, I can visually monitor the data flow going through a pipe. I would however like to be able to log the data flow in a file instead of dynamically viewing it in a ...
0
votes
0answers
38 views

A way to universally “Show in Directory” using default file manager

I need to programatically "Show in Directory" a file (or another directory, but that's less important). I intend to copy the feature from browsers that allows the user to click a button to open the ...
0
votes
1answer
47 views

Tracking all file changes in a unix host

I'm evaluating a tool and I need to identify all files (including system config files) added, changed or removed by this application (it is installed using pip). After installing on a external host, ...
0
votes
0answers
41 views

Traffic Generation

I require to generate TCP flows of various sizes and need to generate them after varying intervals. I also need to modify DSCP value of each packet based on it's flow size. What possible tools can I ...
0
votes
0answers
34 views

Select area on screen with pointer

Is there a command line tool that let one select an area with pointer and print the result to terminal? Much like with various screen capture tools, but I want the coordinates. For example x,y,width,...
1
vote
3answers
41 views

Creating a folder that aggregates files from other folders

I'm trying to organise my directories for different classes such that each of them has a todo folder. something like this: |--classes/ | |--classOne/ | | |--todo/ | | | |--read.pdf | | |--...
0
votes
1answer
7 views

Redirect DB traffic dependent on type of request

I have a Postgres cluster managed by Patroni and want to be able to redirect DB requests to the replica if they are read requests and write requests to the master. Does anyone know of any tools that ...
0
votes
1answer
74 views

List files that are not H264 encoded

I want to convert any files in a large media collection that are not encoded with H264. In order to do that I need a tool to list all the files, I need to convert. There are a lot of files to go ...
0
votes
1answer
77 views

What substitutes Debian's ufw in Arch?

When I use Debian I install ufw then running the following code to unfilter my desired ports: ufw --force enable ufw allow 22,25,80,443 As I think to move to Arch Linux I'd like to ask what ...
1
vote
1answer
58 views

Tool for creating and calling folder structure templates?

Is there a Linux utility for creating templates for directory structures, outside of the scripts packaged with a DE like Gnome or LXDE? (I run openbox and would like to avoid a DE at all costs) There ...
1
vote
0answers
23 views

Realigning GPT partitions to 4k sector boundaries?

If I have an HDD with GPT, and the partitions are not aligned to 4k sector boundaries, is there a tool to realign the partitions to 4k sector boundaries? Suppose I have UEFI stuff on the HDD in ...
0
votes
1answer
75 views

Linux tool for http downloading using multiple connections via multiple interfaces

Is there a tool that allows http file download using multiple network interfaces and multiple connections? I'd like to test my overall internet connection speed by downloading a large file via ...
0
votes
1answer
73 views

How can I get the “Google Response” to a query in the terminal?

I want to be able to get this terse result Google returns for some queries, from the command line: I tried Googler, but it returns this:
0
votes
2answers
935 views

Difference between find and GNU find

Consider some common *nix systems (say Debian, CentOS, Arch and Kali). I always used find; I don't recall using GNU find, but from one example I've seen I assumed the syntax of GNU find might be ...
0
votes
1answer
113 views

Why pdftops gives extra padding but pdf2ps doesn't?

I tried both pdftops and pdf2ps to convert a pdf figure(no text) into eps. pdf2ps created a ps figure same to the original one, but the ps file produced by pdftops contains an extra white padding/...
3
votes
1answer
51 views

Which programs configure the network based on the settings in /etc/network/interfaces?

I have installed Stretch and I find that NetworkManager gets in my way more often than not, and I would rather familiarize myself with network interface administration at a lower level based on the ...
1
vote
1answer
60 views

Tell Tab and Space indented files apart

I was using the file command to gather information about some text files (well, XML files, but the XML info did not interest me), but there was one bit of information that I missed in the output: ...
1
vote
1answer
8k views

How to find the DNS server configured in Ubuntu and networking tools in unix?

I have heard that DNS configuration can only be IP address and not host name. How do I configure DNS server in ubuntu machine. If it should be IP address only then why this configuration shows the ...
1
vote
2answers
67 views

CLI: Editing binary strings

There's a nice CLI binutils utility for interpreting binary files, and outputting legible strings, in a cat-like fashion. It's called strings. If you try to cat a binary file, you'll see a bunch of ...
2
votes
2answers
531 views

Is there any “base” Debian metapackage?

I've used Debian's Raspberry Pi image builder to create arm64 image, but the problem is it's too barebones. Are there any metapackages that installs useful tools, equivalent to Ubuntu's ubuntu-...
0
votes
2answers
189 views

Why does sort -k4nr and sort -k 4 -n -r give different results? [duplicate]

Here is my file, the first line is not part of it (the one with Fname ..) Fname Lname Age Children John Doe 61 2 Mary Jane 32 5 Delta Cross 30 5 Sui Ace 24 1 I want to sort this file ...
2
votes
2answers
523 views

Command similar to 'yes' but that outputs newlines?

Is there a Linux command similar to yes but one that outputs newlines? Something like $ yes enter That outputs \n\n\n\n\n\n Similar too how yes 'foo' outputs foo foo foo
0
votes
1answer
36 views

How to get the information about the status of data receiving and sending in ethernet?

Is there any tools to get the information about status of data receiving and sending in Ethernet (Real-time information is better, GUI tools is better)? The information includes: sending and ...
0
votes
1answer
401 views

crunch wordlist generation with all combinations

I'm trying to generate a wordlist in order to use it to bruteforce my own Truecrypt container. I do know parts of the password, its built up using blocks of other known passwords to increase length, ...
0
votes
2answers
389 views

Is there a fp8 (Fast PAQ) compression utility for linux?

I'm trying to compress a large archive of similar JPG images. The best compression algorithm I've found so far is fp8. In this question I show my tests and ask for better options. But fp8 is the best ...
0
votes
1answer
13 views

Tool for easy file-update and restore

I am looking for a commandline-tool that provides me functionality for local udating single files. So I am not talking about remotely updating a bunch of servers. But update some files and have an ...
3
votes
3answers
3k views

Main difference between tr (translate) to sed and awk

AFAIC both sed and awk are general purpose text processing utilities with whom a user can get quite similar results, in a slightly different syntax: With both, a user could add, replace/translate and ...
0
votes
1answer
37 views

Write scripts as stream-filters or parameter-only tools? [closed]

I'm writing a set of shell helper scripts - a kind of toolbox for simple data/text_files processing. In it there will be some simple tools like, for example: dateToTimestamp or showParagraphHeads. ...
1
vote
0answers
21 views

What's the difference between these two calls to `du -sm`? [duplicate]

I have a directory that I want to find sizes on. When I run the two following commands, I get very different results. I expect the second to produce results like the first. Any ideas why? $ for d in `...
15
votes
3answers
1k views

head eats extra characters

The following shell command was expected to print only odd lines of the input stream: echo -e "aaa\nbbb\nccc\nddd\n" | (while true; do head -n 1; head -n 1 >/dev/null; done) But instead it just ...
1
vote
2answers
140 views

Filter tasks scheduled for the future in Taskwarrior

My custom report in Taskwarrior is set to the following: report.custom.filter=status:pending I would like to change this so that tasks scheduled for the future are hidden until their start date. For ...
2
votes
2answers
517 views

Should I use mutually exclusive options on my command line tool?

Writing a CLI tool, I'm facing a conundrum. The tool is supposed to detect faces in images and blur them automatically. However, sometimes only one of those things should be done to allow marking ...
1
vote
3answers
80 views

Take a command that modifies a file inline and make it accept stdin/stdout

Let's say I have a command foo that accepts a file and performs some transformation in that file (something similar to sed -i). And let's say that this command does not accept the classic "read from ...
1
vote
2answers
65 views

Command-line tool for determining validity of bracket term

I'm looking for a tool which automatically checks whether a LaTeX document is a correct bracket term. It's very easy to write such a tool but before I do, I want to know whether one already exists. ...
2
votes
2answers
627 views

How to use globs/wildcards when the -C option is used in tar command?

My directory structure is as follows : /home/workspace/build/ /home/workspace/js/jai.1.js /home/workspace/js/jai.2.js /home/workspace/js/jai.3.js /home/workspace/js/jai.4.js I want to tar all js ...
7
votes
3answers
2k views

tr analog for unicode characters?

I need internationalized utility that does the same thing as tr: gets character from stream and substitutes it with a corresponding character. Not a particular case solution like lower-to-upper, but a ...
1
vote
3answers
616 views

How to transpose a text file on character basis

There are some tools like datamesh to transpose a matrix in a csv file, but I want to exchange rows and columns character based. So a file abcde fghij klmn opqrs should become afko bglq chmq dinr ...
0
votes
1answer
410 views

How to perform argument parsing in C? [closed]

I am trying to write an utility that runs on linux Operating System. I am planning to develop it using C. I have lots of doubts striking me. I would like to ask some of it. Questions 1: How can I ...
-1
votes
2answers
993 views

What are the tools in /tools folder?

In the kernel source tree /tools, there are many submodules. What are the tools available in this folder? I know perf tool. What else are they? How to build them? Are they, by default, integrated into ...
2
votes
1answer
1k views

Taskwarrior: Recurring tasks that are due relative to the day of recurence

I would like to create a task in taskwarrior that repeats every day and is due every day or the day after. Is that possible? Didn't find anything on the net or the documentation.
2
votes
1answer
558 views

Are there any cli tools for drawing graphics on the screen during an X session?

Are there any command line tools that can draw simple graphics on the screen, then be able to later clear/erase those drawn graphics? It would be useful to highlight a section on the screen or ...