Questions tagged [utilities]

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

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

What does mt -f /dev/st0 erase do exactly on a tape drive?

What does mt -f /dev/st0 erase do exactly with a (LTO-6) tape drive at /dev/st0? It takes hours and seems to write many times. Does it write random data on the tape several times to delete the ...
4
votes
0answers
1k views

Are there any tools to test MTD/JFFS2 for Linux 2.4 kernels

I have some issues with a platform I support and I suspect memory problems. I wanted to check the Flash parts using some MTD JFFS2 test tools, I found a link to a bunch on this site. However they ...
3
votes
0answers
132 views

Can you do url (percent) encoding with the recode terminal tool

You can use the recode tool to do html encoding and decoding like so: recode html..ascii Can you also do URL-Encoding (percent encoding) with it?
3
votes
0answers
158 views

How to render geojson locally

I have some visualizations which consists of data in the GeoJSON format. I would like to render the features to a png file. There are some sites which provide this functionality. I have for example ...
2
votes
3answers
561 views

How to add multiple tasks in one command on Taskwarrior?

How can I add multiple tasks in one command line on Taskwarrior? I'd like to achieve something like: task add task1 tag:tag1, task2 tag:tag2 I think there should be a delimiter to separate tasks.
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 ...
1
vote
1answer
59 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
0answers
30 views

What's a good and free ER diagramming tool for Linux that is approachable via a web interface?

A web based ER diagramming tool. One that you can install on Linux and afterwards approach it via a web interface. Preferably Open source. Optional: connectivity with the database.
1
vote
0answers
22 views

Command mapping utitly

I need a way to alias commands depending on their directory. One of the use case is to be able to call different version of ghc-mod from Emacs depending on which project am working on. I can't see set ...
1
vote
0answers
250 views

Does anyone use Netem anymore? Alternatives?

When simulating an IP network you can use Linux built-in network emulator Netem. Together with bridge-utils of course. Simulating packet drop, duplicate packets, jitter et cetera. Is anyone using ...
1
vote
0answers
161 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
1
vote
0answers
439 views

List/query Open X11 Display Connections?

I am hitting this bug: NEWT errors when closing sketch on Linux · Issue #1651 · processing/processing · GitHub, when using Processing on Linux (Ubuntu 11.04); my messages are: X11Util.Display: ...
1
vote
1answer
599 views

Is expect tool availabe for ARM platform

I need to get expect (tool for automating interactive applications) for the ARM platform. Is it a readily cross compiled to ARM and is it available? I tried googling but was unable to get the ...
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, ...
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 ...
0
votes
0answers
65 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
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,...
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
111 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/...
0
votes
2answers
620 views

Tool to replace block in a file

Most configuration management software tools have a way to replace a block in a file. Example: SaltStack: blockreplace Ansible: blockinfile I want exactly this, but without the overhead of these ...
0
votes
0answers
35 views

Bash wrapper keeping logs of each command give or take a UI-like experience

Is there any tool that provides the ability to execute a series of bash commands (think cloud server setup), keeping a formatted log of each command along with its output? It would be somewhere ...
0
votes
0answers
42 views

What utilities will allow me to see how much network data a process has used in a session?

I need to know how much network data each program/process are using on my machine. There are great tools (like nethogs) to give me information on current usage. However, it does not give me ...
0
votes
1answer
37 views

2.6.35 armel header files?

Debian does not seem to include a package linux headers 2.6.35-9 for the armel chipset - compiling drivers work, but insmod, and insmod -f is failing with a version mismatch and invalid moduel format. ...
0
votes
0answers
715 views

Tools to inspect local network, and find local IP address of device?

This is my specific context (Latex/TikZ code for the diagram below): Now this local "Router", has broke down several times, and several different devices have had its role (sometimes they have a ...
0
votes
0answers
602 views

What's the problem with fsck.ext3?

It seems there is some problem with my HDD in my satellite box. The box records to and plays video from the HDD, but occasionally it hangs (it was stable before). It's Linux version 2.6.32....
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
611 views

How to use sqlformat tool with pgAdmin

I am trying to add external SQL formatting utility to pgAdmin. There is an option available in pgAdmin3 in Preferences -> Query tool -> Query editor called external formatting utility I set up ...
-1
votes
1answer
27 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 --...