Questions tagged [linux]
A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.
58,749
questions
0
votes
0
answers
34
views
Why can I get a ftp file by navigation, but not through full path?
I an trying to download a file from an ftp server that is in a sub-subfolder. I could find in the expected place with FileZilla but my program (trying to download using the full path) gave an error ...
0
votes
1
answer
33
views
I have a undeleteable Linux icon which leads to wsl.localhost on my windows 10 desktop
So one day when I boot up my Windows 10 PC, there was a Linux icon on my desktop which leads to wsl.localhost in the file manager.
And like I’ve said in the title, the icon/shortcut thing can’t be ...
0
votes
0
answers
55
views
Does Virtual Box Support Guest Suspend/Hibernate?
I set up a Debian VM using Virtual Box to experiment with suspend/hibernation when LUKS is enabled. But I don't seem to be able to sleep the guest. My question is not about setting up hibernation.
I ...
0
votes
2
answers
64
views
How to output a bright Green check mark?
OS: Kubuntu 22.04.4 LTS x86_64
to display above:
neofetch --stdout |grep 'OS:'
Terminal or bash script:
printf '\u274c\n' # works fine. Bright red X.
❌
printf '\u2714\n' # outputs a check mark, ...
0
votes
1
answer
14
views
How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2
I only have one disk, an SSD on my laptop.
My disk status is as shown above. The /dev/nvme0n1p2 disk part (mounted at /) is too small. I plan to move 42GB from /dev/nvme0n1p3 to /dev/nvme0n1p2, but /...
-2
votes
0
answers
21
views
FTP SCRIPT bagaimana untuk menggunakannya? [closed]
bantu saya mengatasi ini??
from ftplib import FTP
Fungsi untuk mengunggah file ke server FTP
def upload_file_ftp(host, username, password, file_path, remote_dir):
try:
# Membuat koneksi FTP
ftp = FTP(...
-1
votes
1
answer
32
views
How to actually install newer video drivers on manjaro / arch?
As you see below, the closed source driver is 1 year old. Why is this so old? This laptop is not that old, so a newer driver might make a difference.
Also, why is the open source driver, video-linux , ...
0
votes
1
answer
28
views
The last command output in linux for reboot is not giving the uptime instead it says still running twice
[root@localhost test]# last -x reboot -s -30days
reboot system boot 5.14.0-325.el9.x Sun Mar 10 10:51 still running
reboot system boot 5.14.0-325.el9.x Tue Mar 5 03:05 still running
In the ...
-1
votes
2
answers
21
views
How to boot an HP XW8000 from a USB flash drive?
I have an old XW8000 machine that I’ve been trying and failing boot from USB flash drive for the last week.
I’ve tried burning Ubuntu 6.0, 8.0, 14.0, 22.04 on USB media using PowerIso and BalenaEtcher ...
-1
votes
0
answers
17
views
cant open linux and is stil showing me this eror
VM Name: kali-linux-2024.1-virtualbox-i386
Could not open the medium 'C:\kali-linux-2024.1-virtualbox-i386.vdi'.
VD: error VERR_FILE_NOT_FOUND opening image file 'C:\kali-linux-2024.1-virtualbox-i386....
0
votes
0
answers
23
views
'ifconfig' Not Showing Wireless Card
I am running MX Linux (Debian based), and my wireless card had no issues after OS install. Everything working, up until today, no software updates or changes, and all of a sudden my Wifi connection is ...
0
votes
0
answers
18
views
How to make a script to launch different scripts in different workspaces in linux?
I have limited access to a linux machine, meaning I cannot install any external tools. I want to make a script to open terminals with ssh at different workspaces. However, I found that one way to move ...
0
votes
1
answer
24
views
Capturing traffic in the cloud
I am trying to work out a solution for capturing traffic in the cloud and currently running out of ideas. We need to capture traffic from servers in the cloud and send it to the sensor of the NTA (the ...
0
votes
0
answers
11
views
Permission denied for AD group for NFS directory
I have permission denied problem with NFS share.
On server1 I have /etc/exports file with content:
/data/test server2.example.com(rw,no_root_squash).
/data/test directory has 770 permissions with ...
1
vote
0
answers
32
views
Is it possible to modfiy prefetchable memory for a PCI bridge?
The previous FPGA allowed for 0xFFFFF amount of memory.
The newer FPGA has double the memory.
The Linux pci driver is able to assign the correct memory space for each pci bus.
[ 1.882289] pci 0000:...
0
votes
1
answer
11
views
vscode will not launch, no diagnostics
Visual Studio Code will not start.
I tried killall code; code --verbose --user-data-dir=/tmp/remote --disable-gpu --no-extensions (/tmp/remote is a new empty directory) to get some diagnostics; ...
0
votes
1
answer
97
views
How to force HTTP URLs to be rewritten to HTTPS when using curl command line
I'm using some public build scripts that call dependencies from URLs beginning with http://. These build scripts fail as the company firewall blocks the download of files over http and require ...
1
vote
1
answer
78
views
"-vf crop" doesn't work on FFMpeg hevc_nvenc
This command line downscales fine my 4k video:
$ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=1920:1080:interp_algo=bicubic -c:v hevc_nvenc -preset slow -...
0
votes
0
answers
11
views
Adding Borders or Shadows to Borderless Applications in KDE
I use Kubuntu 23.10 and have multiple apps, that don't use the standard KDE border and titlebar (like Trilium or MS Teams).It's hard to tell, where the app ends, when there is no border and the app ...
0
votes
0
answers
37
views
Wi-Fi connection getting lost after some time (Linux)
I have a laptop (HP ProBook 455 G9) that I connect to a Wi-Fi. I use Fedora 39 with GNOME, NetworkManager and kernel 6.7.7-200.fc39.x86_64. The Wi-Fi chip is RealRek RTL8852BE. I don't think I have ...
2
votes
1
answer
48
views
How can I use the last changed file as an argument in linux?
I'm thinking of using the last changed file as an argument to commands like ls, echo, or cat, is there a simple and efficient way? this question arose when I was faced with analyzing the latest log ...
0
votes
1
answer
31
views
Tunneling all TCP/UDP traffic through one port
My PC doesn't have a public IP, so I want to use a VPN with support for port forwarding for the following applications:
Remote access software
Home Assistant
SSH
LM Studio
A1111 (gradio)
... and ...
0
votes
0
answers
25
views
Why is USB stick not booting to update BIOS? Is this possible?
I want to update the BIOS for a system. I downloaded the latest ISO of the BIOS directly from the system's manufacturer.
I used Linux Mint's USB Image Writer to make a bootable USB stick of the ISO. ...
3
votes
1
answer
178
views
TACACS+ server authorization issues: Authentication is functioning correctly, but I’m encountering challenges in enabling shell command authorization
I have established a TACACS+ server and a PAM TACACS client using the resources available here. I am using TACACS+ to authenticate Linux users using pam_tacplus.so.
Upon user SSH access to the TACACS ...
0
votes
0
answers
28
views
"-pix_fmt p010le" and "-pix_fmt yuv420p10le" doesn't work on FFMpeg hevc_nvenc
This command line works fine:
$ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=720:404 -c:v hevc_nvenc -preset p7 -rc vbr -rc-lookahead 20 -b:v 2000k -...
0
votes
2
answers
21
views
What determines if a packet should be routed locally or forwarded?
As seen in the diagram, when the Linux kernel receives a packet, it goes through the prerouting chain, and then a routing decision is made on whether to forward it to somewhere else or deliver it to a ...
0
votes
1
answer
77
views
How to tell if SIGWINCH has been activated in bash
I am trying to get it to were if the window size changes in the terminal it redraws a box. I am unsure of how to catch this signal, the documentation I was able to find online was not particularly ...
0
votes
0
answers
14
views
Unable to access data on Intel "fake RAID" after failed Ubuntu update
Recently I did an update of my Ubuntu, it seems to work at first but after restart it shows:
kernell ofset relocation range kernel panic not syncing: VFS
I try to use different older kernel from Grub ...
0
votes
0
answers
8
views
Xorg turns laptop screen off on startup on Gentoo
I am having a problem with my Gentoo installation (binary kernel) where Xorg only turns off my laptop's screen when using Startx, and I can only change TTY to use Gentoo but only on CLI.
This happened ...
1
vote
1
answer
31
views
Disable auto-complete Linux
How do I prevent multiple inputs from occurring when holding down a key?
If I hold down a key like an arrow key it will repeat the key event rapidly. To prevent this I have tried
xset -r 103 r off
...
1
vote
0
answers
16
views
External keyboard connected to laptop running Fedora Linux 39 (Workstation Edition) wont type any text after using Switch User in gnome
When I click on Switch User in gnome the external keyboard no longer works. It doesn't work in the password field, and it doesn't work anywhere else such as on firefox.
The external keyboard is an ...
0
votes
0
answers
24
views
Error on my proxmox console when i want to do a get-update
i wanted to do a get-update command but i get this error
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 51.91.38.34 443]
E: The ...
0
votes
0
answers
11
views
Network Namespaces security issues
So I created a network namespace for running a vpn only for selected applications, let's call it "myvpn".
I understand I need root to set a different namespace, which by default will start ...
1
vote
2
answers
53
views
How can I sort my file by date if there are different number of spaces between the name and date?
How can I sort my file by date if there are different number of spaces between the name and date?
My example file:
Ivanov 03/01/1980
Petrov 10/05/1992
Sidorov 21/07/1985
Kovtun 15/...
0
votes
0
answers
22
views
Route all TCP traffic from port to another host:port
I have a wireguard config, creating a VPN between a remote server (10.0.1.1) and my local machine (10.0.1.2), so that the server can reach the local machine and vice versa.
I'd like the server to ...
0
votes
0
answers
33
views
Laptop keyboard not working when trying to install various flavours of Ubuntu from live USB
Today I have acquired a new laptop, Maibenben X565, with pre-installed Kubuntu 22.10. Kubuntu 22.10 is no longer supported, so I wasn't able to update and install packages I need, and was forced to ...
0
votes
0
answers
8
views
How to run EdgeOS configuration commands in python fabric [migrated]
I'm trying to programmatically update configuration in EdgeOS using a python script. I'm using fabric as an ssh client. https://docs.fabfile.org/en/latest/index.html
Below "---original question---...
0
votes
1
answer
23
views
pppd, docker, socat and permissions
We have an [Ubuntu 20.04] Docker image, used as part of a test system, in which I need to run pppd (to test a dial-up connection), where pppd is connected to the physical modem via a socat loop. My ...
0
votes
1
answer
26
views
How to bring a job to foreground and then disable job control in bash?
I have a program running in a terminal window. I wish to disable the Ctrl+Z shortcut from suspending the process.
After pressing Ctrl+Z, the command fg && set +m unfortunately disables job ...
0
votes
0
answers
42
views
Why is MediaWiki giving me an internal error?
When I try to access my MediaWiki install, I get this:
[126acc5486e3f05c51e0c77b] /taerelwiki/index.php/Taerel_Worldbuilding_Wiki Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did ...
0
votes
1
answer
29
views
Does NFS have an intelligent algorithm for managing concurrent reads of NFS files by multiple processes?
I have a use case where multiple processes start simultaneously on one machine and all open the same set of NFS files (actually stored in another machine in the LAN) to process their content in ...
0
votes
0
answers
18
views
ubuntu filesystem display names in df -hT
I have an older linux system that has a certain file structure that we need for a program we use. im building a new ubuntu server to take over for the older one and im trying to make the filesystem ...
9
votes
7
answers
4k
views
Where exactly does the root directory exist in the linux filesystem?
In Windows each drive has a letter and file paths start with a drive letter. so my home directory is inside C:\Users.
In linux the OS is installed into the main partition which is say /dev/sda1 which ...
0
votes
1
answer
39
views
Why is MariaDB refusing to start?
MariaDB refused to start with this error:
Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 13 "Permission denied")
I think it may be a permissions error somewhere,. How ...
1
vote
0
answers
95
views
How to make one key stroke emit 3 unicode character in a custom keyboard layout in Linux mint?
I have created a custom keyboard layout for my regional language by editing different files. It works fine except for one problem. One of the characters needs 3 unicode characters in combination I.e. ...
0
votes
0
answers
33
views
Can't find installed linux in bootmenu
I just tried to install Linux server to my ThinkCentre m92p. First I tried to install Ubuntu server. Installation was completed successfully, but I couldn't find anything to boot in my boot menu. Then ...
0
votes
3
answers
16
views
Why "file ./-" works but "file .-" does not
I was solvingtext for linux,and I found i can find files that starts its name with '-'.
So I solved this problem with 'cat ./-',which gets - as filename.
But what I'm wondering is the reason why using ...
-2
votes
0
answers
35
views
I accidently changed my main terminal path
I am new in linux and iam learning php programing for 9 month, now this time i am installing laravel thorough composer
After installing , terminal says laravel command not found thats why i use ...
0
votes
1
answer
20
views
shortcut key for show applications in linux
I'm using Linux for the first time and I want to know if there is any shortcut key for the "show applications" button. I've searched, but I can't find any information about it.
0
votes
0
answers
29
views
depmod stuck after I install synaptics and run 'sudo apt update',
output:
jane@Shiguang:~$ sudo apt upgrade
[sudo] password for jane:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
jane@Shiguang:~$ sudo dpkg --...