Questions tagged [utilities]
small programs used on the command line to do a specific job
318
questions
-1
votes
0
answers
34
views
Ho to create an unsigned CSR in Linux command line?
I am trying to follow this procedure in Wikipedia on how to generate a Certificate Signing Request:
Before creating a CSR for an X.509 certificate, the applicant first generates a key pair, keeping ...
0
votes
0
answers
14
views
Tool to show memory that would be freed if I terminate a process and its sub processes?
I know that it's a bit tricky to show the memory that a process is using due to the fact that there is memory shared.
But when I look at memory diagnostics, it's normally because my memory is getting ...
0
votes
1
answer
40
views
How to remove tii.la cookie in Linux?
I'm using Brave browser ver 1.56.20 in MX Linux 21.3 (Debian 11 based), how can I remove cookies in Brave? Tried to use remove icon, it does not work, seems it's a known bug in Brave (over a year old ...
0
votes
1
answer
89
views
Automate securing of Linux services ? (cf. systemd-analyze security)
When you run a command such as systemd-analyze security (or a program such as lynis which, for services, runs systemd-analyze security), you may get, like I do, a list of 'unsafe' or 'exposed' ...
3
votes
0
answers
66
views
Are there any Linux distros with a preconfigured user-friendly shell environment?
I see so many Linux distros all around, and they all come with different look & feels and their own set of pre-installed GUI tools for most standard tasks. The default shell environment, however, ...
0
votes
0
answers
43
views
Creating a priority wifi list in connman
I'm using connman to manage my network connectivity on an embedded device (Beagle Bone Green Wireless).
I've been able to connect to networks and save those networks for future use but I'm having ...
1
vote
0
answers
42
views
lscpu list different max cpu freq
Is this a bug from lscpu?
How to fix it?
~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: ...
0
votes
1
answer
53
views
Confused about java -version [duplicate]
For every program/utility on Unix, I would type the name of the program followed by --version to check its version, like so
program --version
If I understand correctly, the double dash -- is used to ...
1
vote
0
answers
70
views
Is there a tool that will tell me WHY I got Permission Denied?
There are several reasons you might get a "Permission denied" error in unix. Some of them are not very obvious -- for example if a parent (or grandparent, great-grandparent, etc.) directory ...
0
votes
0
answers
63
views
Inconsistent results in CPU benchmarking with Hardinfo: Is the tool outdated and are there better alternatives for Linux users?
This program is the only CPU benchmarking application on Linux that works for ordinary users. After testing it, I wonder if it is relevant because I compared the results between two ways to execute ...
0
votes
0
answers
318
views
why setpci failed?
The setpci command failed, is that because of BIOS/device?
sudo setpci -s 02:00.0 ECAP_AER+8.l=00100000:00100000
pcilib: sysfs_write: write failed: Operation not permitted
02:00.0 Network controller: ...
0
votes
1
answer
89
views
How to identify PDF pages that contain highlighted text via command-line
Assume a pdf document that contains text highlights on pages 1, 3 and 14. Is there a Linux command-line tool (or a set of tools whose output can be piped to each other) that can report the page ...
0
votes
1
answer
122
views
Soft link will pass filename as 1st parameter to target?
https://github.com/adurbin/iotools
Original usage is:
./iotools rdmsr x xxxxx
when I doing:
ln -sf iotools rdmsr
then I can do:
rdmsr x xxxxx
Why??
because when doing soft linking, it will pass the ...
0
votes
2
answers
3k
views
How to visualise eml files?
I have many email archived in eml format. The problem is that I can't view them without installing an email client and importing eml files, which is tedious and not what i want.
Ideally, I would like ...
2
votes
0
answers
143
views
How to know CPUxx is which socket?
I have two sockets (CPU), How to know CPU41 as below belongs to which CPU/socket?
hostname kernel: CPU41: Package temperature above threshold, cpu clock throttled (total events = 438285593)
1
vote
1
answer
201
views
Determine the library or libraries used by the /sbin/init and /bin/sh in FreeBSD
How to determine the library or libraries being used by the /sbin/init and the /bin/sh in FreeBSD? Is it dynamically linked or static?
1
vote
1
answer
640
views
Check what media is now playing from the command line
My desktop environment seems to know what music I am playing. I want to be able to check that from the command line too. Is there a tool or dbus query that will tell me what music or media is ...
0
votes
1
answer
197
views
Script to determine which shared libraries are not used?
I don't want to reinvent the wheel, but I'm looking for a script that can run through and list out shared libraries that are not used.
The idea would be to ldd everything to create a list. From there,...
1
vote
1
answer
286
views
Configure an interface to respond to all IP addresses, even external ones?
Edit 2: Found a tool upon closer inspection of documentations.
Situation: Loving the FakeDNS tool to get a machine to reply with its own IP address to all DNS requests made by a malware sample.
But ...
0
votes
1
answer
80
views
Sum sizes of certain folders/files with inclusion and exclusion patterns
I'm looking for a tool that gives me the total size on disk of certain folders and files. It should be able to unambiguously include or exclude items and all of their children (folders and files in it)...
2
votes
3
answers
279
views
Are they commands or utilities?
I'm trying to figure out the correct term(s) for Unix/Linux "commands." Specifically, I have always understood that technically commands (e.g., cd) are built into the shell, and that other &...
1
vote
1
answer
62
views
Is there a commonly used environment variable or configuration setting for enabling widespread application verbosity?
Sometimes I write scripts where I want every called application to be verbose as can be for the sake of logging. This often includes typing --verbose quite a bit. Other than the -v and equivalent --...
0
votes
1
answer
332
views
What is the alternative for bccmd?
I am trying to learn about Bluetooth stack. In many blogs, they mention a tool called bccmd. But when I download the package bluez and compile it, I didn't found it. It seems it was in the tools ...
1
vote
0
answers
40
views
Are there any graphical / text-based user interface calendar programs which use the UNIX calendar utility format to store entries?
On some UNIX systems, there is a calendar utility which acts as a reminder service and which reads entries from files specified in tab-separated format, e.g.:
01/01\tNew Year's Day
01/02\tBank holiday ...
3
votes
0
answers
242
views
Xorg specific tool to probe displays for PCI bus info?
This question came close to what I was looking for, but missed the mark.
After some adventures trying to get device names as displayed from xrandr into xorg.conf I began to wish that there was an X11 ...
0
votes
3
answers
870
views
ls -d command only returns `.` eg, and no child directories
I have standard ls installed, I also have lsd installed, which is a nerd-font drop-in replacement for ls. I mention this because the error may have something to do with the alias.
For testing right ...
1
vote
0
answers
23
views
Is there a system / btrfs tool whick will provide me with the record location for a specific inode number in a btrfs volume?
I want to find the location of the record data for a specific inode. Is there a system tool or a btrfs tool which will provide me with at least it's bloc number ?
0
votes
0
answers
457
views
Automatically Kill high-resource utilization programs
In our company, we use a headless Linux machine as development machine. However, sometimes users use up all resources (CPU, RAM) on that machine, which influences the work of others. Hence, we want to ...
0
votes
3
answers
3k
views
How do I run an package after using apt-get to install it?
I am currently using Linux (super new to this) and used apt-get to install a (package? app?) and am wondering how I am supposed to run it. I can't seem to find anything online as to how I can run ...
0
votes
1
answer
334
views
Explanation of pipeline containing egrep, tr and expand
Can someone explain the following pipeline to me?
I am trying to filter a list of ports in services so that only the unique port names are listed out. What exactly do expand and tr do, and what does ...
1
vote
3
answers
62
views
Restarting poem line numbering any 4 lines after a blank space
This is related to very interesting answer given here: Any text utility or hack to numbering poems lines omitting certain numbers?
awk 'FNR % 4 == 0 { printf "%6i %s\n", FNR, $0 ; next }; {...
0
votes
1
answer
135
views
Extract 'salt' from mcrypt encrypted file
I have some mcrypt(1) encrypted files, doing file on them
ici$ file myfile.nc
myfile.nc: mcrypt 2.5 encrypted data, algorithm: rijndael-128, keysize: 32 bytes, mode: cbc
However, I'd like to extract ...
3
votes
2
answers
784
views
How to continuously display the newest version of an image file on Linux?
I need program that reads an image from the disk location /home/me/image.png, displays it on the screen in a window and then refreshes the window whenever there is a change to the image located at /...
2
votes
1
answer
440
views
hdparm secure erase with progress updates?
Does anyone know of a clever way to receive any sort of progress status updates using hdparm secure erase?
Ideally the end result would be something like dd's status=progress attribute.
0
votes
2
answers
295
views
Any text utility or hack to numbering poems lines omitting certain numbers?
My goal is try to see if there are common text utilities in linux that can be used to number lines of poems like this:
OF Mans First Disobedience, and the Fruit
Of that Forbidden Tree, whose mortal ...
-1
votes
2
answers
1k
views
how to install blackarch tools in debian based distro?
Black Arch have wide ranges of tools, we can install all those tools in arch based linux with strap.sh. Offsec repo does not have this much tools. Please share some solution to install those tools ...
0
votes
2
answers
186
views
Tool to detect and give info of compression method
What is utility tool to detect and give info of compression method (preferably more info) in any mean (CL or GUI) ?
IOW what windows 7z tool equivalent for Linux, giving info easily in GUI?
-6
votes
1
answer
282
views
What is umask command for? [closed]
What actually is umask command for in *nix OS?
How is its working mechanism and usefulness ?
e.g
$ umask 022
Thanks much before
5
votes
7
answers
2k
views
How can I see if a consecutive number name file is missing some file? [duplicate]
If I give ls -1 I get like this,
file_0001.jpeg
file_0002.jpeg
file_0003.jpeg
file_0004.jpeg
file_0005.jpeg
file_0006.jpeg
file_0007.jpeg
file_0008.jpeg
file_0009.jpeg
file_0010.jpeg
file_0011.jpeg
...
-1
votes
1
answer
101
views
Is not there a program / library to parse common unix utilities text based output, such as lshw, iwlist, dmidecode?
I have a .net core application that makes use of several unix utilities to query hardware data, such as lshw, iwlist, dmidecode.
lshw supports json output, so it's not a problem.
I currently write my ...
0
votes
0
answers
142
views
What does (or did) the name "feh" represent?
To me, the name of the feh image viewer is not memorable enough for me to recall it when I need it. I feel that if I had some context, I'd be able to remember it better.
What, if anything, does the ...
0
votes
0
answers
31
views
xargs-like command templating for argv
Is there a common utility that is sort of like xargs, but operating on arguments instead of stdin?
For example, something like:
$ fictional-xargv 'echo $2 $1' foo bar
bar foo
$ fictional-xargv 'echo ...
0
votes
2
answers
585
views
Play files as if they were raw audio samples
I once in the past used to play with files by playing them as if they were raw 8bit audio, but I forgot which program can be used to do this. How can I stream, say, /dev/random to my speakers with a ...
0
votes
1
answer
65
views
mergerfs no longer accepting "threads=2" option
I wrote my backup script to automatically combine two external drives into one with mergerfs so I could use the whole thing as a destination directory for rdiff-backup. However, when I tried to run it ...
33
votes
1
answer
6k
views
Create and populate FAT32 filesystem without mounting it
Is there a way to create a FAT32 filesystem containing a set of files, without needing to mount it or have root access?
I am developing a software application for an old operating system as a hobby, ...
0
votes
1
answer
152
views
How to auto-detect filetype in pastebinit?
I use pastebinit to share snippets. As you can see, it has a -f switch so the rendered webpage highlights the uploaded file depending on the format of the file (like -f python or -f bash).
Now, I want ...
7
votes
1
answer
741
views
Why do some Linux utilities output Unicode (when it is not expected)?
While building a tool that reads command output I realized that some Linux utilities output Unicode characters when I didn't really expect them to do so. For instance, find uses ‘ (as opposed to the ...
0
votes
0
answers
28
views
uname -m -p -i. What does every parameter stand for? [duplicate]
I have CentOS7 installed on my computer. uname -a prints the following:
Linux c7 3.10.0-1127.el7.centos.plus.i686 #1 SMP Sun Apr 5 18:08:31 UTC 2020 i686 i686 i386 GNU/Linux
As stated in man uname ...
9
votes
3
answers
7k
views
Command line tool to install GNOME Shell extensions
Is it possible to install an extension from https://extensions.gnome.org/ without using GNOME Shell integration browser add-on?
I'm looking for a tool that will be able to search and install ...
1
vote
1
answer
468
views
Simple and standard way to generate files based on templates?
For my projects I need a way to generate some files based on template ones. I envision it this way:
a template file contains data with something like {{var1}} in place of the variables to be replaced
...