New answers tagged linux
0
votes
How to use ffmpeg speedup video specific time range in one line ffmpeg cli
You have to use concat filter to merge them.
ffmpeg -i "$input_file" -filter_complex "[0:v]trim=start=0:end=10,setpts=PTS/10[v1];[0:a]atrim=start=0:end=10,asetpts=PTS/10[a1];[0:v]trim=...
0
votes
Command to copy client public key to Windows OpenSSH SFTP/SSH server authorized keys file
Kindly warning (copy of new ssh-key over an existing one):
If you are in the same situation like me and re-generate your ssh-key and for some reason ssh-copy-id-command does not work even with force, ...
0
votes
Accepted
Why does the kernel reject my self signed module on a secure boot system?
This is a partial answer because I'm still very unclear as to which EFI variables the Linux kernel loads into which keyrings.
However, enrolling a key as the MOK is not the same as enrolling it into ...
0
votes
Can't disable key in linux
You need to use xmodmap without sudo in order to set it for your current user's X session.
0
votes
Why is Postfix using a lookup table?
Postfix uses hash-tables to organize much of its data.
The Postfix documentation describes it in the article
The Postfix lookup table model:
Postfix uses lookup tables to store and look up ...
0
votes
Why is Postfix using a lookup table?
is why a lookup table is being used.
To implement its "alias" functionality.
Disabling BDB is not the same as disabling all functionality that relies on lookup tables. All that you've ...
-1
votes
Old Sata / Sas Controller on Ubuntu 22.04.2
Finding the expected PCI vendor and device ID for the SATA controller
The question says the SATA controller card is an Iocrest si-pex40097.
The product page 16 Port SATA PCI-e 2.0 x4 Card - SI-...
1
vote
Accepted
du command with -h option modifies the displayed result
normally 384767 should be rounded to 385M
If you divide by 1000, yes, but that's not what du is showing you. It's using the IEC (binary) units where 1 kB = 1024 bytes; 1 MB = 1024 kB; and so on. Some ...
0
votes
How to call ifcconvert from the terminal
Download the zip from here. Then extract the binary file from the zip and place it is a directory, say .local/bin .
Assure the directory is in PATH. In order to do that open .bashrc file from the home ...
0
votes
Compressed disk image on Linux
For file systems that support block compression, one option is to use store the disk image directly as a file. I know that BTRFS supports this, but likely others too. In the case of BTRFS, you will ...
0
votes
focus changes when changing workspaces in gnome 3
Necro-post; sorry ... but a decade later and this problem persists; it plagues me 'til I can't sleep. I finally (accidentally) found a solutions that works for me: the GNOME extension https://...
0
votes
Compressed disk image on Linux
As Matthias Krull suggests in the comment above, qcow2 can be a good format which supports compression to store a disk image in. It will be supported for quite a while as its the format for QEMU ...
0
votes
"Firefox is already running, but is not responding."
Worked for me, in Fedora (39):
dnf install dbus-x11
... I didn't have installed that package (dbus-x11, wich provides dbus-launch).
And without any configuration or extra settings, I could launch &...
0
votes
Linux powersave governor not controlling CPU frequency as expected (many cores still at 3GHz)
This is a controversial bug-feature. The correct command to check the CPU frequency in this situation is
cat /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq
This will show 800 MHz as ...
0
votes
VirtualBox Won't Start (Failed to acquire the VirtualBox COM object)
In my case, I had foolishly compiled and installed a version of curl that was different from the package-managed installation. Running VirtualBox from the command line resulted in first seeing /usr/...
2
votes
Accepted
An incorrect path is displayed in my custom command line prompt in bash
To achieve the dynamic update of your shell prompt to display the current and parent directory names in every new shell session without the need to change directories, you can use a small script in ...
2
votes
An incorrect path is displayed in my custom command line prompt in bash
Unlike other situations, you have to use single quotes for the outer expansion and put it in the variable literally, as Bash will later do a second expansion every time the prompt is shown.
With ...
0
votes
No wireless networks shown in nmtui
Try rfkill command! sudo rfkill unblock all
See: https://linuxconfig.org/how-to-manage-wifi-interfaces-with-rfkill-command-on-linux
5
votes
Accepted
What is the purpose of these overlapping partitions?
What the hell is going on here? Is this how burned iso-images always look, or is Parabola doing something weird and special here?
"Burned ISO images" do not change their appearance; the ...
0
votes
Reposition objects in multiple SVG files
I don't know if this is a feature of SVG in general or of the format generated by Inkscape, but there are parameters "viewport", "height" and "width" that can be modified ...
0
votes
What is the purpose of these overlapping partitions?
This is not completely an answer to the whole quenstion since I dont have the deep understanding, but at least some links for future readers who google this.
It's not unique to Parabola, I saw the ...
0
votes
Accepted
Command works only when user ran it, not with eval
The issue comes from export IFS=";". As it's a fix for Windows users, I made a check about if it's from linux or windows env.
Here is the code (truncated) I made:
case "$OSTYPE" in
...
0
votes
Reset "at" command counter
You can check the current counter with:
echo "ibase=16; $(cat /var/spool/cron/atjobs/.SEQ | tr '[:lower:]' '[:upper:]')" | bc
To reset it, just change the hex value to zero and restart the ...
0
votes
NetworkManager defined HotSpot, can't connect from Android phone
Did you try disable Protected Management Frames? After that, connecting to the AP on Android 11 started working for me:
nmcli c modify $CON_NAME wifi-sec.pmf 1
0
votes
Linux: Simulate two servers via virtual network
As already explained in other posts (https://superuser.com/a/1745471, https://superuser.com/a/1781135), network interfaces do not act as mirrors, they act like pipes – and your problem is that packets ...
1
vote
How to make windows .exe executables in Linux [No Duplicate- Extended Version]
You can use crossplatform systems like Java(whhich is already crossplatform), Qt (for C/C++) or Xamarin (or other C# crossplatform frameworks). Those can be compiled on both Linux/Windows for any of ...
4
votes
Accepted
How to make windows .exe executables in Linux [No Duplicate- Extended Version]
If you're writing in C or C++, you can use MingW64 to compile programs for Windows. (It's pretty much gcc, but supports MSVC syntax extensions and outputs an .exe file.) Several projects that people ...
1
vote
Make WSL register GPU as the correct GPU and not a microsoft driver
What you wish to do will not work (>98%).
WSL is a limited form of Virtual Machine and as such does not pass host hardware to the guest machine.
That is quite normal.
I did some reading on Hyper-V (...
0
votes
How do I leave free space for grub when copying a whole system to a new media?
After doing some research, I understand that grub stores its early stages in free space before the first partition, but stage 2 should be a normal file.
That's only true for BIOS-mode boot and only ...
1
vote
Accepted
How do you set the default sound device at the shell prompt in pipewire?
you have to use pactl.
pactl --help says:
...
pactl [options] set-default-(sink|source) NAME
...
and you can get the name examining the output of:
pactl list sinks
according to the arch-wiki it seems ...
0
votes
Less CPU utilization on APP Server with increase in user load on Linux
When you add tasks but the utilization of a resource doesn't increase,
this means that this resource (or the computer) is saturated.
In fact, adding more tasks to fight over the available resources ...
-1
votes
How to get D-Link DWA-182 Rev. D1 running under Linux
Only solution that worked for me:
https://ubuntuforums.org/showthread.php?t=2472362
I used aircrack-ng
0
votes
The last command output in linux for reboot is not giving the uptime instead it says still running twice
Ideally, this one should be a comment and not an answer. Since I do not have required reputation to comment, I've leaving an answer.
You can refer to the following links to get an idea how last gets ...
0
votes
Equivalent of export command in Windows
If you would like to include this in programs, below is what is done in python:
import os
os.environ["OPENAI_LOG_FORMAT"] = 'stdout,log,csv,tensorboard'
os.environ["OPENAI_LOGDIR"]...
0
votes
Accepted
On Linux I cannot bind to wireguard network interface via IP, but can with interface name
On Linux, binding via IP address does not actually change where packets are sent. They're still sent following your routing table, and it most likely still has a default route through somewhere else – ...
0
votes
What is the difference between “/var/lib” and “/var/run?”
/var/run (or, more recently, /run) is for "system information data describing the system since it was booted". Such system information include PID files and named sockets. Examples:
sshd ...
0
votes
SSH / RDP Reverse Tunnel through intermediary
You're inventing a VPN. Set up a VPN server on one of your systems, then have both the managed host and the employees connect to it. If you're looking for free options, there's OpenVPN, WireGuard, ...
1
vote
How to actually install newer video drivers on manjaro / arch?
The nvidia configuration just refers to package names. There is no need to update it as new versions of the driver are released. What then prompted the latest change to the nvidia configuration? The ...
0
votes
How to output a bright Green check mark?
If you want it to have the "emoji style" appearance, output the variation selector 16 \uFE0F immediately after the checkmark. It will have whatever color is defined in the current font (...
0
votes
How to output a bright Green check mark?
$ . /etc/os-release; echo $PRETTY_NAME
Ubuntu 20.04.6 LTS
$ tput setaf 10; echo -e "\u2714"
✔
$ tput setaf 10; printf "\u2714\n"
✔
... are both bright green in my bash. (Not here at superuser ...
0
votes
I have a undeleteable Linux icon which leads to wsl.localhost on my windows 10 desktop
This post seems to address the same problem:
Linux Icon on my Desktop that I can't remove (Not in File Explorer) :
I have a Linux Icon on my Desktop that I can't remove, there is no delete option ...
0
votes
What is the terminal command other than ctrl + c to exit a running Node.js program in a macOS?
For MAC keyboards, the accurate shortcut on the terminal is Command + . (dot/period), equivalent to Ctrl + C or break. This shortcut interrupts processes. Refer to Terminal Help > Keyboard ...
-1
votes
What is the terminal command other than ctrl + c to exit a running Node.js program in a macOS?
If you are using VSCode: Ctrl+Z works just fine.
0
votes
sudo very slow after winbind to AD on RHEL6
Old issue but this looks very similar.
I had such an issue and it turned out I had added a VPN interface (wireguard) to the interfaces list of my /etc/samba/smb.conf SAMBA configuration.
Removing this ...
0
votes
How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2
but /dev/nvme0n1p3 is mounted at /home. So I can't unmount it and resize it
Boot into another system where nvme0n1p3 does not have to be mounted – for example, an Ubuntu live CD/USB or a "...
0
votes
How to get rid of "I have no name"?
Check if the user is able to read the "/etc/passwd" file.
I have faced a similar issue before where my passwd file didn't had read access in the group & other's field.
Try hitting the ...
0
votes
How to force GPG to use console-mode pinentry to prompt for passwords?
I use GPG on a remote machine via ssh as follows:
When logging into the remote host from my laptop, I used ssh -Y to log in, which forwards all graphical program screens to be displayed on the server ...
0
votes
execute command after switch to different user with sudo
As has been written elsewhere, the sudo command allows a suitably authorised user to execute a command as someone else. By default, this someone else is root but (subject to authorisation) it can be ...
0
votes
How to boot an HP XW8000 from a USB flash drive?
You can use PLOP Boot Manager to create a bootable CD and use it to chainload to your USB live/installation media.
Important note #1: The HP XW8000 should run with acceptable performance any currently ...
1
vote
How to boot an HP XW8000 from a USB flash drive?
Given its age, this computer in unlikely to support USB Storage as a bootable device.
The Technical Manual also makes no mention of USB being a bootable source.
In the BIOS, find the BOOT MENU list, ...
Top 50 recent answers are included
Related Tags
linux × 58749ubuntu × 7462
bash × 4910
networking × 4703
ssh × 3534
debian × 3091
windows × 2917
command-line × 2704
boot × 2185
partitioning × 1903
hard-drive × 1883
shell × 1659
centos × 1609
unix × 1497
terminal × 1373
permissions × 1339
virtualbox × 1326
fedora × 1284
usb × 1241
mount × 1201
wireless-networking × 1131
filesystems × 1091
linux-mint × 1046
grub × 1011
windows-7 × 1000