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
1
vote
0answers
12 views

x server fails to start after system updates

I rebooted my system after a few months (since april 2020). Just before reboot, i had updated the whole system (kernel, nvidia drivers etc) and since then, the x server fails to start normally. I use ...
1
vote
1answer
14 views

Creating NTFS symbolic links on an offline windows drive in Linux

So I want to free up space on the system drive by moving all the program files and several other space consuming folders from an already allocated hard disk who's partititions cannot be changed at the ...
-1
votes
0answers
10 views

Resources to learn about Linux network interfaces [closed]

I was playing around with ip link show command and saw that docker had setup a bridge interface and a veth interface. I want to learn about how these various interfaces, including bond is used in ...
-1
votes
0answers
11 views

how to know how many inodes in FSCK for linux ubuntu

Good day, I have a server with linux 12.4, the server crashed due to power failure, when started it again it required fsck for /var, the fsck is taking forever so far 33 million inodes has been ...
1
vote
1answer
103 views

Linux (Pop_OS) Deleted File Without Proper Permissions?

The other day I was doing some clean up and decided to delete a log file that I had stuck in my development environment, and when I did, I started to think the permissions should not have let me, I ...
0
votes
0answers
12 views

How to show ink level of printer in linux

I have installed ink program but it cannot detect my canon printer. What should I do? My printer is connected via usb and yet it's not found. I was able to print with it but I have no idea how to see ...
0
votes
0answers
9 views

CentOS in docker container thinks it has 0 bytes left on '/'

MacOS: Mojave 10.14.6 Docker: 2.0.0.3 (Engine: 18.09.2) Hi! I have a CentOS container (running in docker on MacOS), which reports all of a sudden (after months of use) that there’s no space left on ...
0
votes
0answers
9 views

FFMPEG Input frame sizes do not match (1280x720 vs 568x320)

I'm currently trying to alphamerge two videos with the following command ffmpeg -i word.mp4 -i word.matte.mp4 -filter_complex "[0:v][1:v]alphamerge" -shortest -c:v qtrle -an output.mp4 But ...
-2
votes
1answer
13 views

Can't figure out why a cron job isn't working

I have an odd situation where I have a cron job set up to execute a shell file once a day, and based on the syslog the cron job IS being called as intended, and by the proper user that should be ...
0
votes
1answer
14 views

safe to shrink volume on linux - does data get deleted

My SSD has 250GB of space, and I allocated 75GB for files and 150GB for installation directory. I kind of flipped it. I've got some files on 150GB. I would like to shrink 50GB from installation folder ...
0
votes
0answers
13 views

Ansible debug permissions of ansible scripts

I have a user AAA, and set my remote path (successfully) to /home/AAA/.ansible_tmp/, and ansible successfully ssh'ed into the box with AAA, and I still get permission denied on the python scripts of ...
0
votes
0answers
7 views

How can I send a shell script to execute in a running Docker container?

I have about 24 Docker containers, each running a Java jar. One of my routine tasks is to connect to the host and run docker stats with a few formatting options to check on RAM usage, because every ...
0
votes
0answers
14 views

External microphone detected as keyboard in Ubuntu 18.04

I have an external USB microphone that I use for video calls on my work laptop. However, I suspect after a recent kernel or other update, it is not being detected as a microphone anymore on Ubuntu 18....
0
votes
0answers
25 views

Many problems after Windows 10 update 20H2

After last Windows 10 update to 20H2 version my laptop turned off every tine right after Windows booted. I uninstalled this update, but problem persisted. Started safe mode and checked event log and ...
0
votes
0answers
7 views

How to config concurrent access to remote virtual machine via vnc to use one TeamViewer

Hi I tried to be precise as possible with topic. My problem is we use VNC on Windows for in house remote access but TeamViewer running on Debian Buster for external remote tasks. But I can't configure ...
1
vote
2answers
11 views

How do I change directory to a path containing spaces in cmder on Windows 10?

I am working with both Docker Quickstart Terminal (Bash) and Cmder on Windows10. On Bash, to change directory to a path where some folder contains spaces, I usually do: cd "D:\my files\etc\etc&...
0
votes
1answer
18 views

Is it safe to interrupt when “fallocate --dig-holes” is running?

I use fallocate --dig-holes on very large disk images to make it sparse in-place. I'm worried that this operation may not be atomic. My questions are, Is my data guaranteed to be safe (holes are ...
0
votes
0answers
8 views

CentOS server migration (physical type of migration only HDD)

I need your help regarding "phyisical" migration of the CentOS server. At the moment my CentOS is installed on the C220 Cisco server, but in next couple of weeks I will get another C220 that ...
0
votes
0answers
9 views

What tests can I run to test the integrity and consistency of a Python installation?

I'm preparing to pitch an upgrade of the Python interpreter on my client's IBM AIX machines, since the current installation is severely obsolete (v2.5). I'll have to use the AIX tool installp to ...
0
votes
0answers
12 views

is there a way to low-level debug whole memory map / usage of linux kernel system?

I ran into a peculiar problem recently, which I attribute to a bug in Xen guest drivers. Basically I had a VM with 6GB of RAM on which: Userspace processes were using about 500MB of RAM Disk caches ...
0
votes
2answers
16 views

Extracting data from text file by specific characters

I have a program that reads from a sensor and prints on stdout. The interesting data for me is just the X,Y and Z values: [2021-05-07 10:47:41.993] [info] Acceleromter (avrg 100): X=+6696.080 Y=-5577....
-1
votes
0answers
28 views

Possibly broken symlinks on failed SCP command: No such file or directory

I am trying to extract some .pem certificates files used to encrypt my server but for some reason cannot do it using SCP I am unable to copy them over to my own machine Here are the files in the EC2 ...
0
votes
0answers
17 views

Ping multiple hosts same time, receive all echo's to same terminal

Im trying to write a bash script where I would have hosts file like so: 1.2.3.4 5.6.7.8 and the bash script will ping each ip from this file simultaneously. after that I need to ping each ip from this ...
0
votes
0answers
9 views

How to close a directory from the terminal Ubuntu 20.04?

I can use the xdg-open command to open a directory, let's say xdg-open ~ to open the home directory. What can I do then to close that directory? If I look through the opened processes, I cannot find ...
0
votes
2answers
22 views

Monitor process' file access by file and access speed

I have multiple disks in my system sometimes I have a heavy read usage on my root partition. I know that there are some processes reading a lot of data, but from all disks. How can I find out which ...
0
votes
0answers
17 views

how to remove .png image from video file using ffmpeg?

trying to convert a .mkv file to .mp4, but in the container is a .png that is causing an error. how do i remove that stream and just convert video and audio? here is the error output Stream #0:0 -&...
0
votes
0answers
21 views

How can I remove RAID 1 on Ubuntu 18.04 server to reclaim storage space?

I have a server with RAID 1 set up, I want more storage by removing RAID 1, but I don't know enough to do this. Please provide commands that will allow me to delete the raid and get 2 disks separately....
0
votes
1answer
15 views

Look for a directory that contains two files of which the names are known

I wrote some code a while ago, and stored it in main.c. I then compiled it to test, and left it for a month or so while I waited for a use case to run my test. This is a shared server, so things get ...
0
votes
0answers
14 views

Unexpected latency reading from /dev/zero

I am currently investigating IO issues in some hosts and encountered a completely unexpected behavior for me: reading 1M from /dev/zero takes over 100ms While testing the drives I used the following ...
0
votes
0answers
29 views

Why folder appear as binary file on external hard drive?

I have an old external hard drive, some of the folders appear as "binary" files and can't be opened. The HD: Filesystem type: msdos Concerned folder appear as: Type: Binary (application/...
0
votes
0answers
23 views

My laptop freeze or has black screen when I open the lid after suspend

Since when I bought this laptop (Huawei Matebook D14, it has a AMD Ryzen 5 3500U CPU with a Radeon Vega 8 GPU) and installed Linux on it (it's dualbooting with Windows), I have this problem that ...
0
votes
1answer
25 views

How to delete swap file in ubuntu?

I am trying to delete the swap file by the following link: https://www.digitalocean.com/community/questions/delete-swap-file However, when I type: sudo rm /swapfile I am getting the following error: ...
0
votes
1answer
18 views

NFS mount shows with df -h but directory is not there

I am trying to sort out autofs issues by manually mounting from an Odroid HC1 server running OpenMediaVault 5 to an Odroid XU4, both running Ubuntu. When I do: sudo mount -t nfs HC1:/export/work /...
0
votes
0answers
11 views

Is it possible to upgrade from centos 6 kernel 2.6.32-754.25.1.el6.x86_64 to 5.12.1 version?

You are currently using centos6 kernel 2.6.32-754.25.1.el6.x86_64. I'd like to upgrade to 5.12.1 to take action against the vulnerability in this version, and I'm asking if it's possible. If it is ...
0
votes
1answer
36 views

How can i give permission to a user, so can write, read and delete on all the folders?

I am configuring a server with dirrent aplications on it, but for accessing by ftp, i can't use root user, so i made another one to acces from filezilla, but i noticed that i have no permission to ...
0
votes
0answers
34 views

why physical memory NOT contiguous?

Background: I was running a kernel module that give me some info about kernel virtual address space which told me that Linux lowmem region is approximately 7.24 GB. lowmem region is supposed to be a 1:...
0
votes
1answer
41 views

ssh into WSL2 works on only some IP addresses

On Win10, in WSL 2 running Ubuntu 20, I've installed sshd running on a port different from 22, namely 2222. To the firewall I've added an incoming rule for TCP port 2222. From the windows command ...
0
votes
2answers
20 views

Ubuntu can not boot due to disk space full

I am using Ubuntu 20.04 on a Virtualbox in a portable SSD, but I was not paying attention that the disk space is running out. Now from the Virtual box, it can not enter the Ubuntu GUI. The grub is OK, ...
0
votes
0answers
13 views

How to fail-proof moving /home to a new partition

I'm in the process of moving /home to a new partition. I have copied the old /home to the new partition (with cp -rp). Next step is to modify /ect/fstab and reboot. However, if something goes wrong I ...
0
votes
0answers
9 views

RHEL 7 LUKS Encryption with LUKS on LVM

A RHEL 7 system I work on has the following partitioning: NAME TYPE MOUNTPOINT sda disk |--sda1 part | |--rhel-root ...
0
votes
1answer
33 views

sudo: sorry, you are not allowed to set the following environment variables

I set an alias for sudo as: alias sudo='sudo PATH=$MY_PATH' I checked that this works well by running sudo printenv PATH. However, I encounter an error when running sudo su - USER2. sudo: sorry, you ...
0
votes
1answer
11 views

rsync + failed on error with Bad file descriptor

usually we not have this issue so its very rare! but today we got the following error when we are using rsync to copy files . when files - pkg_gh are with 1-3G size the error is like this Warning: ...
0
votes
1answer
23 views

Cycling through splits and maintaining fullscren in tmux with neovim navigation

I use tmux with Neovim as a software developer (on Debian 10). I'm having the following two issues and after much investigating still can't find a solution that suits me: I would like to cycle ...
0
votes
1answer
14 views

Split and add new string between string to rename the path in sftp

I have a file which contains paths. I want to loop over the file and change the path. I want to change path from /dir/file1.txt to /dir/temp/file1.txt while read p; do # update the string from /dir/...
0
votes
0answers
18 views

Move multiple files from one directory to another in SFTP server

I want to download and delete the files that I downloaded from SFTP server. I am able to download files using GET command, but I want to move/rename those specific files from one directory to another ...
0
votes
1answer
40 views

Hard Drive keeps getting Corrupt Debian

I have a Weird Problem with my Hard Drive. First I had to use fsck in the "initramfs". I thought it was just a force shutdown. Then after a few days it happened again. So I used Fsck and ...
0
votes
0answers
5 views

mdadm raid gone after reboot due to super blocks disappearing on all but one drive

I have a raid 6 on /dev/md0 using /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf. I moved this raid to a different motherboard but kept the same non-raid card, and all drives including the OS ...
-2
votes
1answer
32 views

I need to copy all jpg files from a directory in linux [duplicate]

I want to copy all the jpg files from a directory to another directory. How do i make to copy all files finishing in jpg?
0
votes
0answers
26 views

Fedora 34 can't install the boot loader configuration

The Error is: "The following error occurred while installing the boot loader. The system will not be bootable." I have a problem installing Fedora 34, every time it tries to install the ...
0
votes
2answers
41 views

Tar extract a stream of tar files

I've got a binary (lets call it displayFiles) which will get several tar files at once and print the tars to stdout. I then pipe the stdout to tar. This works fine when the binary only downloads a ...

1
2 3 4 5
1066