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.

Filter by
Sorted by
Tagged with
0
votes
1answer
7 views

Transferring files from Windows to Ubuntu on the same machine

I work with PCs. So I installed Ubuntu on a Windows machine as I was told that I need a Linux system to be able to analyze my data. I have a file in a folder on this machine that I need to use Linux ...
0
votes
1answer
20 views

Do Wayland "windows" really have no decorations or ways to position/resize them?

I have been experimenting with Wayland by writing some simple programs that render some basic OpenGL stuff to an EGL surface. This all works great, but I've noticed that when requesting a surface/...
0
votes
0answers
11 views

Set Linux terminal foreground color prior to login

I'm wanting to set the foreground color of a Linux terminal (outside of any GUI). I'm using Gallium with its multi-user target, which opens straight to the terminal rather than the GUI. I've tried a ...
0
votes
0answers
22 views

How to route VPN traffic through two gateways?

I would like to be able to establish a VPN tunnel from the internet to my OpenVPN server on address 192.168.1.45. My home network setup is a bit complex since I am using a Raspberry pi as a gateway to ...
496
votes
17answers
260k views

When reading a file with `less` or `more`, how can I get the content in colors?

When I read a file in Linux with the command less or more, how can I get the content in colors?
1
vote
1answer
42 views

Why am I seeing these traceback and Python related warnings after I installed Ubuntu

When I turn on my computer I always see this notification in a big window, but I don't know how to fix this. I've tried several times to fix this, but the problem remains and I don't know what else to ...
0
votes
1answer
3k views

iptables snat does not change source IP

I am on ubuntu (with IP 10.0.0.1) trying to snat packets going out from port 9090. I want to change the source IP to 10.0.0.2 I have added the following rule through iptables: # iptables -t nat -A ...
0
votes
0answers
10 views

How to enable server support form the source of openvpn?

I know downloaded installation from yum that can support server mode,but I'd like to set up a manual server mode.I install openvpn form the source openvpn-2.5.4.tar.gz with following commands:./...
0
votes
1answer
19 views

Get kubernetes pods to take on a specific identity / role / job once started

What I am presenting here is a simplified version of my setup and the syntax is wrong. I have a list of high level "agents" that I want to deploy as pods on a kubernetes cluster. Some nodes ...
0
votes
0answers
6 views

running applications with restricted view of root filesystem in linux

I am new to the domain of running Linux application in secure contexts, such as jails. I am seeking to run a desktop environment, on a Linux system, that has essentially the same capabilities as such ...
0
votes
1answer
28 views

Wrong hostname resolution in Local network

context I was trying in vain to map drives from my NAS to my PC via NFS when I figured out that my PC hostname was not resolved with the proper IP address from my NAS or any other devices connected ...
1
vote
1answer
13 views

Provide internet access (e.g. www.google.com) on old device with static IP and only ethernet (by connecting to Linux laptop's ethernet port)

My situation is as stated in the picture below. I have a static IP device that has an Ethernet connection to my Linux laptop (which has wireless connection to my router with internet). I have tried ...
0
votes
1answer
29 views

Compute checksums for a random selection of files whose names are listed in a file

Let's say I have a file named list_of_files.txt where each line corresponds to a file on the disk. For example: dir1/fileA.ext1 dir1/subdir1/fileB.ext2 fileC.ext3 dir2/fileD.ext4 fileE.ext5 I want to ...
0
votes
0answers
15 views

Install gnome-shell extension on command line?

I'm looking for a way to reliably install gnome-shell extensions on the command line. At the end of the day, I'd like to have an Ansible playbook. As an example, I'd like to install custom-hot-corners-...
0
votes
3answers
3k views

ip namespace non-root shell

I am trying to run ssh command to another ip namespace. I can do it right now, but it runs as root. I want to run it as a normal user. I want to know if there is a way to enter a non-root shell in ...
0
votes
2answers
16 views

linux copy symlinks and their hierarchy

Say I have the following structure: root | \ dir1 | | \ | libfoo.so.4.2 | libfoo.so.4 -> libfoo.so.4.2 | libfoo.so -> libfoo.so.4 JunkThatShouldntBeCopied dir2 I would ...
0
votes
0answers
18 views

Is fate.ffmpeg.org [195.154.232.35] port 22 closed?

SZV1000266228:/usr1/wujian/ffmpeg_master # ssh -v -i ffmpeg_sshkey/ffmpegkey fate@fate.ffmpeg.org OpenSSH_6.2p2, OpenSSL 0.9.8j-fips 07 Jan 2009 debug1: Reading configuration data /etc/ssh/ssh_config ...
0
votes
0answers
6 views

Is there a way in OpenVPN to change the VPN server ip or location and this can be done on my system using OPENVPN

So I am in need to some info about openVPN that allows to change VPN server Ip or location. The idea basically is if there is a way to change VPN server location and restart openVPN in my system so ...
0
votes
0answers
35 views

How can directories have only 1 hard link?

When doing ls -al, the second column (just after the permissions) is the number of hard links. For files, I find this clear. My problem is with directories. I read that it is not possible to create ...
1
vote
0answers
24 views

SD card not detected with Raspberry Pi imager on Chromebook

I decided I would install the Ubuntu server on the Raspberry Pi. I have the Raspberry Pi imager installed on my Chromebook, but when I insert my micro SD card in the Chromebook’s SD card slot, the ...
2
votes
3answers
2k views

Git repo issue: failed to unpack tree object HEAD

I am facing one issue with one of my Android project while initializing repo sync with error like fatal: failed to unpack tree object HEAD" for one particular project along with error.GitError: ...
0
votes
0answers
7 views

Troubleshooting iSCSI targets that should be identical

Somewhere along the way in my development I must have made a typo and cannot determine where it might be. I have been setting up iSCSI targets on a server laptop, with an external SSD containing ext4 ...
0
votes
0answers
14 views

Cannot get IP on cloned VM LINUX7,8

I have cloned a virtual machine running RHEL 7 and 8. I am not getting an ip address After cloning the virtual machine, networking no longer functions. The ifconfig command does not show the network ...
0
votes
0answers
6 views

When to turn on flex_bg and packed_meta_blocks=1 options on AU6477 Card Reader Controller and others?

While creating ext4 file systems on USB thumb drives, I always wonder whether I should turn the flex_bg and packed_meta_blocks=1 options on or leave them off. In particular, I have the following ...
1
vote
2answers
3k views

Can't set Xfce4 as default in SLiM (Simple Login Manager)

I'm running SLiM 1.3.4-2 on a Raspberry Pi with Raspbian. I have Xfce4 and LXDE installed. When SLiM shows up it says Session: default and when I run that LXDE starts. I want Xfce4 as default. I've ...
0
votes
0answers
14 views

is there any opensource VPN with library that can be use to do say changing public IP address of system from my program running on [closed]

I like to create an application that runs on my system that using open source vpn . and I need from the vpn a C library that I can use in my application to change public ip address and restart the vpn....
0
votes
1answer
3k views

How to Make Linux Partition Bootable?

I need help. I've ended up on my Linux machine without a bootable drive. I need to make one of my drives bootable. Any ideas?
0
votes
1answer
10 views

Poweredge T320 corrupt GRUB

I've installed Debian on a Dell Poweredge T320 to use as a home server. It's been up for over a year now. Last reboot it would not boot as apparently a kernel update apparently breaks grub, and ...
0
votes
2answers
3k views

Zabbix: agent not reachable but still working?

I have a zabbix server which monitors two machines: the server itself and another one which collects some logs from other machines and send data to the zabbix server for monitoring. Everything worked ...
1
vote
2answers
3k views

dropbear dbclient + scp, equivalent to openssh "-oStrictHostKeyChecking"

Using dropbear's dbclient and scp implementation, is there a way to get the same behavior produced by openssh when using the scp option "-oStrictHostKeyChecking=no". In other words, can I make ...
0
votes
1answer
22 views

How to migrate a Debian DOS partitioned VM to GUID for partitions > 2 TB

we have a outdated Debian 10 VM with DOS partition and 2 * 2 TB Partitions. How is the elegantest way to migrate to Partition schema GUID so that we have one 4 TB Partition and optionally make it ...
15
votes
2answers
21k views

Extract folder content from 7z archive to specific folder

I have a 7z archive file which, at the "root" level, contains a couple of files and then a directory, which in turn contains both files and folders, like this: - file1.txt - file2.txt - my_dir - ...
60
votes
8answers
41k views

How can I log all process launches in Linux?

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
0
votes
0answers
10 views

vgscan only shows incomplete list of volume groups on RHEL 7

df reports that there are 2 volume groups, vg_root and vg_data: [frodo@gandalf ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_rootvg-lv_root ...
0
votes
2answers
1k views

how can I get the yes command to force overwrite and to do so with new lines?

I would like cp to prompt before overwriting so I am using -i. (I might sometimes use an alias for cp, or similar, so cp always occurs with -i). I may want to say overwrite all. I know that's the ...
0
votes
0answers
33 views

VPN connection to Debian 11 Bullseye libreswan server established but not working

I have a problem with my VPN connection using libreswan and xl2tpd. On Debian 10 Buster it works perfectly, and when I connect to https://whatismyipaddress.com/ , I see that the packets are routed ...
1
vote
2answers
5k views

Arch Linux booting with read only filesystems

I installed Arch today and when I logged in I noticed that my filesystem is read only. How can I fix this?
0
votes
2answers
600 views

Docker exec with dollar variable

I'm trying to run a command inside a Docker container with an environment variable, but I can't figure out the right syntax. I can see the variable is set correctly: $ docker exec -e FOO=bar ...
0
votes
0answers
15 views

Arch linux freezes when unplugged

I have a dual-boot of Windows 11 and EndeavourOS, The problem occurs when I unplug the charger it freezes after some time not immediately, but this does not happen when the pc is plugged in. I have ...
1
vote
1answer
2k views

How to download images with wget

I'm doing this wget script called wget-images, which should download images from a website. It looks like this now: wget -e robots=off -r -l1 --no-parent -A.jpg The thing is, in the terminal when i ...
0
votes
1answer
8k views

SD card reader not working on Debian

I'm using Debian for about 6 months and my card reader never worked. I tried several solutions I found online with no luck. How can I make it work? Here's the output generated by lspci 00:00.0 Host ...
0
votes
0answers
10 views

K8S Linux Server not responding after a day

I'm running arch Linux on an i3-2100 @3.1GHz with 8GB of RAM as a server with microk8s. The server runs a couple of pods like bind DNS server, certmanager, hashicorp vault, ldap, radius, keycloak, ...
2
votes
1answer
2k views

Can I specify PBKDF2 rounds to use with LUKS/dm-crypt?

I have encrypted my root partition with dm-crypt/LUKS/cryptsetup on Ubuntu 12.04. Since it uses PBKDF2: Is it possible, during creation of the encrypted disk, to specify a custom amount of PBKDF2 ...
4
votes
3answers
6k views

What was the SquashFS compression method?

I've got some SquashFS files, and I'd like to know how they were compressed so that I can have a rough idea of how they would perform when mounted. The only binaries provided by the squashfs-tools ...
0
votes
2answers
18 views

Where does the process accounting feature pull data from?

I recently discovered the process accounting feature in Unix systems. Basically it appears to be a legacy resource usage recording system that was just never removed. Since the dawn of time (actually ...
0
votes
0answers
23 views

Looking for a command line IMAP client [closed]

I am searching for a command line IMAP tool on Linux, which I can use for scripting. I remember, I once had a tool with some .rc file where I put my IMAP server's credentials in. Then I was able to ...
1
vote
1answer
4k views

How can I SCP file from Linux host to Windows host with Git Bash?

I installed git for windows on a Windows 7 host. The Git for Windows comes with a program called git bash. I can use scp to transfer files to a Linux host in a git bash Window, as follows: MINGW64 ~ ...
0
votes
1answer
14 views

auditctl - file being created on server

I have a situation which I need help with. I appreciate any feedback and help. a file wp-signups.php is being created automatically in public_html. If I deleted the file, it is instantly recreated. I ...
2
votes
1answer
462 views

Pulseaudio: remap source when usb audio interface is connected

I have Roland UA-22 (Duo Capture Ex) USB audio interface, and by default it presents its two input channels as a single stereo source. However, I want to use them separately as independent sources. ...
1
vote
3answers
6k views

Starting script in screen with cron

I apologise if this has been asked before but I am not sure how to question a search query for this. I am extremely new to linux and I have been learning as I go to solve issues. I am trying to set ...

1
2 3 4 5
1088