All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Raspberry Pi OS dmesg reports ext3,ext2,ext4 Unknown parameter 'uid'

After upgrading the OS to version 6.1.19 on a Raspberry Pi 3 Model B Plus Rev 1.3 the Unknown parameter 'uid' appeared in the dmesg log. It does not to appear to be a problem but I want to now how or ...
  • 101
0 votes
1 answer
16 views

How do I get last login unix timestamp for a user using kernel API (not `last` cmd)

I want to write a program that can get information about a user, specifically last login time in unix timestamp format using kernel API (not using any shell cmd).
0 votes
1 answer
15 views

How to set a label and UUID for the entire drive?

I notice that some drives have label and UUID assiged on a drive level $ lsblk -dno PATH,LABEL,UUID /dev/sda SYSTEM 2019-02-12-05-40-19-00 /dev/sdb # No label & UUID ...
  • 556
0 votes
1 answer
5 views

How does firewalld handle packet state internally when you add rules?

Coming from an iptables background, I can specify packet connection states (NEW,ESTABLISHED,RELATED) when defining new firewall rules. For example, this pair of rules will ensure that http connections ...
1 vote
1 answer
5 views

skype window does not show because it opens off screen

After a recent update of Skype it developed these symptoms: I could see its entry in the task bar, but could not show its window by trying to maximize it task bar window preview did show the window's ...
  • 416
0 votes
1 answer
31 views

Does running exec command preserves environment variables of the calling shell? If so, why?

From my understanding exec command replaces the calling shell program with the command without forking a child process. Also if I understand correctly exported variables are the ones that are passed ...
1 vote
0 answers
10 views

Where are the hub and serial device drivers in Linux and have you ever seen a serial TTL adapter cut off data after some period of time

This question will be difficult to fully explain, I apologize in advance, but please read the entire description? Thank you. NOTE: I'm primarily posted this to document it, and only asking for advice ...
0 votes
0 answers
7 views

What is causing the error when trying to start mssql-server on Linux Mint using sudo /opt/mssql/bin/mssql-conf setup, and how can it be resolved?

This is the error that is popping up! I am trying to install sql server 2019. I read in one github question that this isn't an mssql-server error but something that has to do with the linux itself, or ...
  • 1
0 votes
2 answers
18 views

How to disable root permission on terminal (manjaro)

I'm new on linux and I just installed Manjaro on my laptop. Looking for informations and installing the softwares and extensions that I need (such as Kdenlive, libreoffice and others). Somehow, I don'...
  • 1
1 vote
0 answers
9 views

How to set keyboard layout and keep configuration?

I changed from gnome to i3wm and now everytime I log in to my computer the keyboard layout is set to english (my keyboard is spanish). I was able to change it with this command but just for the ...
0 votes
1 answer
12 views

tilde_expand: No such user .ssh

I have this weirdest error where a single IP address with ssh would immediately return an error arthur@arthur-laptop:~$ ssh 192.168.1.85 tilde_expand: No such user .ssh I feel like it's an issue with ...
-1 votes
1 answer
33 views

How do I use yq to change dns severs in a yaml?

Here is my yaml file: network: ethernets: ens160: addresses: - 10.200.2.148/22 gateway4: 10.200.0.1 nameservers: addresses: - 1.1.1.1 - 2.2.2.2 ...
  • 452
-1 votes
2 answers
26 views

when sport or dport is used on INPUT of Iptables?

I want to block port 22 to users on my local network. My linux server controls the traffic with iptables. Which rules are the most appropriate? iptables -A INPUT -i $LAN -p tcp --sport 22 -j DROP or ...
  • 851
-1 votes
0 answers
27 views

edit netplan yaml with only awk and sed to change DNS servers

How can I edit the netplan yaml file to edit only dns servers with awk and sed? I cannot use python, PyYAML, or yq. The yaml must be edited with only with applications that come with linux. Is this ...
  • 452
0 votes
0 answers
12 views

Getting information for a graphics card in a Wayland session?

In the context of generally troubleshooting Wayland, for this given graphics card: nicholas@mordor:~$ nicholas@mordor:~$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 2nd ...
0 votes
0 answers
25 views

Find: Is it possible to use the -prune command with -exec for copying files?

In the man page, it says you are supposed to use the prune command like this: find . -path ./src/emacs -prune -o -print However, I have found that using the prune option in general isn't as simple as ...
0 votes
0 answers
11 views

How to use trap with child tmux process

I am looking to execute a function when a child tmux process is terminated. Consider the following script: #!/bin/bash function foo { echo "foo exit" } trap foo SIGHUP tmux this script ...
  • 135
0 votes
1 answer
15 views

Parrot OS Wifi Problems

I am using a Lenovo Thinkpad E15 Gen4, with the Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01) PCI wifi card. I have a fresh dual-boot install of Parrot OS and I'm having a very hard time ...
0 votes
0 answers
20 views

set colored-stats ignores $LS_COLORS

Problem Bash autocompletion ignores $LS_COLORS variable and gets color values from someplace else. Setting I have a dircolors file and just the following declarations in .bashrc: eval `dircolors $...
0 votes
0 answers
28 views

Are GDMs faster than CDMs in starting Xorg?

I suppose since graphical display managers already launch Xorg, they would just have to re-initiate it rather than launching it from the start like startx does. So in that case does Xorg completely ...
0 votes
1 answer
13 views

Linux: Several Devices became UNCLAIMED after reboot

I've been running Ubuntu 22.04 since it came out. The last reboot prior to the problem was 42 days with no issue. During that period I took all the updates that apt offered including kernel and ...
  • 51
0 votes
0 answers
27 views

Bash error after Installing Conda on WSL Ubuntu

I install Conda following the official manual on WSL Ubuntu in my desktop. However, after initiating Conda, every time launching the terminal, it shows -bash: eval: line 141: syntax error near ...
-2 votes
0 answers
23 views

Slow processes at DEBIAN

I dont know where I should begin.... I running DEBIAN 11 bullseye at a i9-10800 cpu. I had before running Windows 10 - all was ok. But now with DEBIAN: it needs some times (approx 20 sec.) that my ...
1 vote
0 answers
23 views

How Best to Identify Kernel Module Functionality?

Some Background While I realize that my question is related to my original post over on Ask Ubuntu, it was never answered there, and I'm really hoping to refocus my question here (as it's really no ...
  • 111
0 votes
0 answers
12 views

How openbox knows .bash_aliases used in its autostart file

I'm using two commands in a file executed by my .config/openbox/autostart.sh which are also aliased in my .bash_alises and one of them changes from time to time. The thing is that I also use these ...
  • 519
0 votes
0 answers
7 views

copying file in FreeBSD onto NTFS-3G mounted drive results in zero byte file after file copy

Having an issue copying a VM disk.img file onto my ntfs external hard drive. Using ntfs-3g to mount the drive like this: ntfs-3d /dev/da4p2 /mnt -o rw. Afterwards the drive is mounted and I type CP or ...
-8 votes
0 answers
28 views

WHY SOME FILES GET STORED WITH .ram extension UNEXPECTEDLY [closed]

have come across a situation where a file is stored with .ram extension instead of its default extension,so is there any shortcut on windows operating system to store file as .ram file,felt like some ...
-3 votes
1 answer
24 views

How to select specific rows and their specific columns in bash?

For example I have this data, I want to get output as serNo: ASDFAFDAFD3223 profileType": "Asset Tag: profileValue": "12341233 corrected ouput as serNo: ...
1 vote
0 answers
20 views

When connecting to SSH externally, it shows as connected from the external source IP sometimes and other times it's from the internal gateway's IP

I have setup port forwarding rules on the firewall which maps external ports to internal SSH ports. The SSH port forwarding rules are for systems running on different OSes including CentOS 6, CentOS 7 ...
2 votes
0 answers
12 views

Bios update for Lenovo IdeaPad 5 Pro 16ACH6

I am on Fedora 37 and do not have dual boot and trying to update the bios. Lenovo does not support LVFS nor provide a tool to create a bootable usb for its bios flash. So I have tried windows pe and ...
  • 183
1 vote
0 answers
18 views

Unable to install TeX Live using Bash script

I am trying to install TeX Live inside a Jetbrains Datalore virtual machine. On first boot the vm automatically executes a script file init.sh that can be edited/uploaded through Datalore GUI. This is ...
2 votes
0 answers
17 views

Why does vkd3d not work in wine?

I am fairly new to this world, but finally decided to switch from windows and learn the command line in Linux. I also want to play games on it, because my PC isn't the strongest. I installed Lutris ...
  • 21
0 votes
0 answers
19 views

2TB NVMe slow in Linux only after booting Windows

My SSD is a 2TB PCIe 3.0 x4 M.2 NVMe (Mega Fastro MS200, some Korean brand, on sale under $100 in Germany). According to Windows smi_nvme_flash_id.exe utility it is a SM2262EN controller with Intel ...
-1 votes
1 answer
40 views

Is it possible to run a Linux server distro on an old phone?

I have an old Xiaomi mi 9 Lite (pyxis) with a custom android rom installed. The CPU is the Qualcomm Snapdragon 710 (all specs) I've already discovered Ubuntu Touch, but it comes with a desktop ...
2 votes
4 answers
154 views

How to extract columns in which their name containing the word "chronic" from CSV file

I have a big csv file ( around 1000 columns ) and I want to extract to a new file only columns that contain the word "chronic" in their header name. How can I do that ? For example if I have:...
0 votes
0 answers
25 views

Route a Virtual IP without NAT to a non-virtual IP

How can I route data with a Linux server (Ubuntu) from a VIP to another IP address. I'm currently using keepalived, but it uses a NAT and I don't want that. However, it should be checked via icmp ...
1 vote
0 answers
12 views

Can I change the disk size and RAM size of a VM via GUI in KVM (virt-manager)?

I want to change the disk size and RAM size of a KVM virtual machine. In the virt-manager, I cannot find any Settings menue to achieve this. Is it possible via GUI?
  • 11
0 votes
2 answers
29 views

Methodology to copy data from one machine to many others in a fast way

I found some bottleneck on my workflow which is as follows. I do have one master computer which needs to send data to other node machines. This is done in a for loop such as: for all nodes: rsync <...
  • 153
0 votes
0 answers
11 views

startxfce4 in another TTY and in parallel to wayland session

I have archlinux with Wayland (sway) and an NVidia GPU. Due to the latter, a few things are still glitchy and I need to have another desktop environment for certain apps. I installed xfce. When I ...
5 votes
2 answers
280 views

How do I keep a dash shell script running despite any error?

I have a dash shell script that is intended to run to the end of file: #!/usr/bin/dash # File b_shell . a_nonexistent_file echo "I want to print this line despite any previous error." ...
  • 151
0 votes
3 answers
33 views

Automatically mount QNAP drive on Linux Mint

I have searched all over the Internet, and perhaps I missed the answer to this question, but I still cannot solve it yet. So far, I have successfully mounted my QNAP drive: Make a folder for the ...
0 votes
1 answer
29 views

microSD card not recognised by lsblk, errors in dmesg

I got a new Kingston 1Tb microSD card and made the mistake of putting it into my Steam deck right off rather than formatting it on my laptop first. The Steam deck format got stuck on "testing&...
-2 votes
0 answers
48 views

Avoiding a match being printed again [closed]

I want to print some text that occurs between a start beg_ere and end end_ere pattern match. The problem is as follows. When beg_ere gets matched, the line gets printed two times. First when ...
  • 29
0 votes
0 answers
16 views

How to access devices in the MacOS hotspot LAN from an external computer?

I have an Ubuntu20.04 desktop and a Mac, both of which are on the same zerotier virtual LAN. The Mac is connected to the internet via Ethernet and has enabled internet sharing (acting as a hotspot), ...
0 votes
2 answers
39 views

ssh-agent: how it works?

I want to try the ssh-agent to login without password (I already know gssapi and pubkey methods, but I want to learn this). On client and server I had enabled AgentForward on ssh_config (client) and ...
  • 11.7k
-4 votes
0 answers
36 views

Resetting colour rendition in awk

I am colouring a multiline string by calling the function dye(mstr). Although I want to have the ability to reset to the terminal colour default, "cpt=rst" is still getting coloured. ...
  • 29
0 votes
0 answers
18 views

External Monitor Not Working Fedora 37

I am using Fedora 37 and for some reason my external monitor is not working. I have a USB-C display port directly connected to my NVIDIA graphics card (as far as I can tell). The graphics card appears ...
0 votes
0 answers
23 views

Xdotool --window function doesn't work

I am currently having a very simply problem, that I cannot for the life of me figure out. The --window function of xdotool does not work. I should be able to open two terminal windows, get the ...
0 votes
0 answers
11 views

Create an offline repo of an unbuntu release, Linux Mint 19.2 (not 19.3)

I've been for weeks now tried to rsync all files from local servers close to me so I can create my own local/offline repo for this but as it's larger than 120G(the SSD maxed out) it must be lots of '...
2 votes
1 answer
35 views

Why is atime updating when equal to mtime and ctime?

I'm trying to understand how inode access time is handled with the default "relatime" mount option in Linux, but the behavior documented in mount(8) doesn't quite match what I see. It says: ...
  • 23

15 30 50 per page
1
2 3 4 5
4588