Questions tagged [utilities]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Find contents of one file in another, and replace with FF

I have a binary file called rockx.dat, and a bunch of other binary files rockx_#.pmf. I want to find the contents of the pmf files in the dat file, and replace them with FF. So if the pmf file is 500 ...
3
votes
1answer
27 views

Is there a linux local tool to view, search, add contacts to/from a .vcf file?

I've downloaded my contact list in a .vcf format to my linux machine. I would like to be able to consult it without having to connect to the internet. The search feature is most important. I've got a ...
0
votes
1answer
48 views

Generic text expansion tool in Linux?

Is there a generic text expansion tool in Linux? I have to type some same strings frequently and I want to use abbreviation to type faster. For example, I type a lot "symbol testapp/testapp.debug" in ...
-1
votes
0answers
58 views

Is there a utility/tool to “convert” bash functions to zsh functions?

On my new Catalina Macbook, zsh has been designated as the default shell. I've never used zsh, but I'm not exactly fluent in bash either. I have at least 3 options: start learning zsh stick with bash ...
0
votes
0answers
25 views

How to get info on disk drives with powershell

Is it not possible to install Get-Disk on Linux? PS /home/thufir/powershell> PS /home/thufir/powershell> Get-Module -ListAvailable Directory: /home/thufir/.local/share/powershell/Modules ...
0
votes
1answer
24 views

turbostat doesn't show only desired columns with --show option

I'm using tubostat in Manjaro 18.1.5: $ pacman -Qs turbostat local/turbostat 5.4-3 (linux-tools) the man page says: --show column show only the specified built-in columns. May be invoked ...
0
votes
1answer
39 views

Utility to Visualize CPU and Memory Usage based on process tree

Modern desktop applications spawn several child processes to offload tasks to them. Notable examples in this regard are: Google chrome - spawns a new process per tab VSCode - spawns a bunch of ...
-2
votes
1answer
70 views

What requirements must a computer program meet to be considered as part to the unix toolkit?

It is stated here that: The Unix operating system introduced the idea of a toolkit. That is, rather than having a few generalized and complex utilities programs, the system contains a toolkit of ...
-1
votes
1answer
47 views

How can I check a field in a CSV file using Linux tools?

I would like to accomplish the following using Linux bash and/or Linux utilities. I'm running Debian 10 on a cloud server. I have a csv file of the following form: "2019-12-10_15-03-50",13,"...
0
votes
1answer
83 views

turbostat - TSC_MHz average MHz that the TSC ran during the entire interval

When using 'turbostat' command, we can see 'TSC_MHz' field data. What does 'TSC ran' here mean? OS in idle state?
2
votes
2answers
135 views

cut now has a line length limitation?

I had a script, with a 25,000 character input that I was using 'cut' on: ...\n" | cut -c -$LENGTH I didn't use it that frequently, but it was working (oh, about a year or two ago). Granted, my ...
0
votes
0answers
15 views

Given a yacc grammar, output a program that generates text-file (or graphviz) parse trees?

Rather than generating the normal .tab.c file, generate some .tree.c file, s.t $ .tree text outputs the parse tree of the file text?
0
votes
0answers
10 views

Why Magic VLSI cad tool is not shwoing toolbar?

After installing magic vlsi editor when I am opening magic with command prompt I can't find rest of the toolbar elements in toolbar . How do I get it? is there something else I need to install?
0
votes
0answers
66 views

Detect alphabet / keyboard layout from string

Update / Note: If anyone is doing this or something similar, note that it looks like xdotool does some more underlying work. I have not checked the source for how it actually types. But the case is ...
-2
votes
1answer
65 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
576 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
31 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
105 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
323 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
20 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
175 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
173 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
72 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
26 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
39 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
164 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
47 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
46 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
8 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
146 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
143 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 ...
0
votes
1answer
285 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
29 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
187 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
105 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
1k 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
206 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
56 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
97 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: ...
2
votes
1answer
11k 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
120 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
902 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
372 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 ...
3
votes
2answers
845 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
40 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
602 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, ...
1
vote
2answers
624 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
14 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 ...
4
votes
3answers
6k 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
38 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
2 3 4 5 6