Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

0
votes
0answers
29 views

Diagnostics for Linux terminal settings

I was recently confronted with a terminal emulator in an SSH client where Home key would not work by default in Bash. After hours of investigation and reading about the major hairball that is the ...
2
votes
1answer
29 views

Dell - no bootable device found - lubuntu

I have an old computer (not that old), (dell version: inspiron 1338) with 8gb ram, core i3 and single 1tb hdd. Since it ran a little slow i decided it was time for an "upgrade" to lubuntu which went ...
0
votes
1answer
29 views

Recover comand is not working

I am trying to use recover command to recover my deleted file, however when I use it, process got aborted with below error: recover: No valid standard devices found; are you a privileged user? Please ...
0
votes
1answer
38 views

Copy 8 Solaris DVDs to .iso

What exact command do I need to use to create a bootable iso from 8 DVDs of Solaris 8, using Centos workstation. If I use dd or cat command, then iso is not bootable.
2
votes
2answers
125 views

How to use bash to create a socket server and allow multiple clients in the same port?

I have 4 programs, will be increased in the future, these programs have to connect to the same ip:port to send and receive messages at the same time. Until now I have the socket opened, I also would ...
0
votes
0answers
13 views

shell script to check file availability on sftp through a remote server

I'm writing a script where it should connect the remote host and then, connects to sftp and list the current day file I got to a certain point with what i wrote: #!/bin/bash key="keys/prod_key" date=...
0
votes
1answer
16 views

How to add a file/edit/view… bar into polybar?

I am using i3-gaps for a desktop environment. I try to configure polybar to have file/edit/view... bar with a name of a focused app (like in a mac topbar). I am using Arch Linux.
0
votes
0answers
22 views

How to run 2000 processes with chroot

I have a program that needs to be run in about 1000 instances, each in a different independent directory (/mnt/x_1, /mnt/x_2... /mnt/x_1000). What I'm currently doing is mounting /bin /dev and /etc in ...
0
votes
0answers
73 views

What is the '/dev/stdin'? [duplicate]

I am a very beginner of unix, and working on putty shell environment. I know standard input, output, and error are streams and related to file descriptors, but I did not understand clearly what /dev/...
0
votes
1answer
26 views

Permission denied appending passwd and shadow files to log files

I created 5 new users in Fedora. However, all this has to be appended to a log file. One of the requirements for the assignment is to append /etc/passwd and /etc/shadow files into a log file. I am ...
1
vote
1answer
39 views

chcon: cannot access (file): No such file or directory

I'm taking a Linux course and I have no idea on how to get past this annoying error: chcon: cannot access path: No such file or directory But before that we had to define our virtual host Perhaps ...
1
vote
1answer
58 views

What to do when hard link is lost because of my text editor

So, I have a file, for this instance we shall call it $HOME/Documents/hello.txt. I will write some text inside it: Hello, welcome to my text file And I will hard-link this file here: $HOME/Documents/...
0
votes
0answers
14 views

Where to start after openSUSE minimal WSL install && zypper error

I've been using Ubuntu minimal as my main WSL distro for quite a bit. I like the idea of a rolling minimal distro and benefits it has. Also I like to try something new. To manage my distribution I ...
-2
votes
3answers
40 views

How to obtain certain lines from several texts simultaneously?

Suppose I have 100 texts under the same dir, i.e., text1.txt, text2.txt,...,text100.txt. I want to extract certain lines(e.g., first 100 lines)from each text, and save the lines to another new 100 ...
0
votes
0answers
22 views

Does Shim make changes to my firmware?

I want to use Kali Linux, but don't want to disable secure boot. That's why i try to use Shim boot loader. Now, will Shim make any (permanent) changes to my firmware? Or does anybody know of another ...
1
vote
0answers
55 views

Why does this rsync command running in a cron fail?

Why does this rsync command running in a cron fail and how to debug it and fix? unset SSH_AUTH_SOCK && unset KRB5CCNAME && rsync -hvru -e "ssh -p 34503 -i /root/.ssh/...
0
votes
0answers
19 views

Linux kernel module address randomization

I'm booting the same 16.04 Ubuntu server image (4.4.* kernel) and checking where modules are loaded with cat /sys/modules/[module_name]/sections/.text. After every boot I get different text segment ...
-1
votes
0answers
13 views

Can't add any repository in DEEPIN OS no valid OpenPGP data found

today I downloaded DEEPIN OS to test it out. So far so good but I'm having trouble adding any repository in this OS. For the sake of this example I'm trying to add FLATPAK repository as shown in image ...
0
votes
0answers
9 views

Linux RedHat write buffer config

I have Linux RedHat 6.2. How do I configure files to buffer 4096 (or higher 2^N values) bytes before writes? Of course, when an EOF is received, write the file.
2
votes
0answers
37 views

Infinite loop when attempting to list files

There is a particular directory that I am working with that has about 50,000 files in it. When I try to list the contents using ls -f -1 is generates a list that repeats forever. Here are a couple of ...
2
votes
1answer
50 views

Realtek RTL8821 Ethernet card not detected by Kali Linux

When installing Kali Linux, an error message appears during the "Detect network hardware" step. The message says: "No Ethernet card was detected. if you know the name of the driver needed by your ...
0
votes
0answers
15 views

USB SCSI drive recognized, but can't mount

This is a MyBook AV drive that was recording video from my fios box before I cut the cord. I'm trying to use it as a backup drive with a SCSI to USB cable. Ubuntu 18.04. Detected by lsusb and lsscsi, ...
2
votes
0answers
29 views

What virtualization platform does provide dynamic memory allocation?

I need a virtualization platform for Linux host that supports Dynamic Memory Allocation. By Dynamic Memory Allocation I don't mean Memory Ballooning where we can request memory from a running VM (...
1
vote
1answer
21 views

Unable To Load Regulatory Database

I am trying to bring up a 4.19 (4.19.16) kernel on my board using the Atmel AT91SAM9G45 SOC. I included the CRDA support in the kernel configuration, but the kernel reports that it is unable to load ...
0
votes
0answers
4 views

Can't find the source of startup httpdmas at bootup

I have checked cron jobs but no startups referring to httpdmas. I have checked /etc/rc[0-6].d and /etc/init.d/rc.d/ (none) I have checked chkconfig for httpdmas and it is all off. chkconfig --list … ...
-1
votes
0answers
20 views

¿Como instalo de manera correcta el Driver de la targeta de red para kali linux? [on hold]

tengo un pequeño problema y necesito ayuda por favor. acabo de instalar Kali lINUX LIGH ya que quiero aprender sobre seguridad informática. Bueno estaba instalando los driver de la targeta de red y ...
2
votes
1answer
49 views

Manjaro KDE multimonitor issues - GPU outputs not detected after restart

I am using Manjaro for the support for kdenlive alongside playing games. The way my two monitors were set up on windows 10 originally was having a DVI cable for my old monitor plugged into my ...
1
vote
1answer
21 views

How to manually mount the virtual file systems, to copy MTD partitions

Linux version 2.6.26.5, ARM Linux Kernel on embedded device, NAND-based device. I'm at Busybox rescue shell (ash), with restricted command set. How to manually mount the virtual file systems, to copy ...
0
votes
0answers
16 views

How do I force Ubuntu to use a device as an USB serial device?

So I have a device here that doesn't get recognized as an USB serial device. (so no COM-port is dedicated to the device) Can I force Linux to use my device as an USB serial one and give it a COM port?...
0
votes
1answer
15 views

Have logwatch send reports only once a week

I would like to lessen the noise from logwatch reports sent to my email on three systems. Is it possible by to configure logwatch to send only some days in the week, or once a week? More relevant ...
0
votes
0answers
12 views

TSSI Upper saturation Error in Arch Linux

I live booted Arch Linux. I'm using TL-WN727N TP-LINK wifi dongle. I connected to wifi using wpa_supplicant. It connects to internet so i can ping to any web site how ever mt7601u 1-1:1.0: Error: ...
0
votes
0answers
14 views

Installation stuck at reboot

I just tried installing Pop_OS! 19.04 ( dual boot with Windows 10 ), but after the installation finished and I was given the option to reboot, I pressed it and then it kind of hanged. About 15 minutes ...
0
votes
0answers
38 views

Why system energy is equal to 1/f? [migrated]

I am studying Intel speed shift. I see a slide: Reference I don't understand, why the green line 1/f means system energy, I think more performance should need more energy as the red line (compute ...
0
votes
0answers
26 views

How can I edit sudoers file if I have lost permissions despite providing root password?

While working on ubuntu, I have edited sudoers file and allowed myself to run only mkdir, cd command. Now I am unable to execute, install any command. Even visudo is not working despite providing root ...
1
vote
0answers
64 views

grep count mismatch in UNIX [on hold]

while counting the number of records between source and modified using grep command difference showed. In the source file the trxn word is repeated 6339 times. After processing sed operation on it ...
0
votes
0answers
14 views

On Ubuntu Server latest LTS on Digital Ocean how can I automatically detect github commits? [on hold]

I have a git repo on windows, say I am coding an html page, index.html or whatever. I save this in my git repo locally on windows, then I commit to at github.com/myusername/myrepo to say the master ...
0
votes
1answer
33 views

How to input a digit into files created from a loop?

This is the original problem: Create a script fivedirs that does these tasks: make a directory five make five subdirectories five/dir1 through five/dir5 in each subdirectory, make four files, ...
-1
votes
0answers
30 views

How to do operation math with number words shell script?

I want to read a file and inside the file have number words. I have to do operation math. but I dont know why my script doesn't work. Exemple : seven one minus six one the answer in the terminal : ...
0
votes
1answer
19 views

Find file while other file exist in same directory

I'm trying to do "one line script" or really small bash script. It have to find file (for example ./xxx/one.php) and if that file exist edit (with printf or echo) other file IN SAME directory (for ...
0
votes
0answers
13 views

Find longest matching portion (not in the same offset) within two files

I am wondering if I can compare two files and find longest matching portion not in the same offset Example: File1: 0022222100022222 File2: 0333310003333333 I need to find the matching value (1000) ...
1
vote
2answers
24 views

Using grep to omit values given in a text file [duplicate]

Omit.txt 001 006 008 0016 Filetogrepfrom.txt 001 006 007 008 0016 00546 008 0031 00 0021 0016 I want to do cat filetogrepfrom.txt | grep -a 00 | grep -v {lines from omit.txt}
0
votes
2answers
22 views

What does this line mean :/opt/glibc-2.14/etc$ sudo sh -c “echo '/usr/local/lib' >> ld.so.conf”

I had a problem while trying to install glibc 2.14, I got this error /home/myname/glibc_install/glibc-2.14/build/elf/ldconfig: Can't open configuration file /opt/glibc-2.14/etc/ld.so.conf: No such ...
0
votes
0answers
20 views

Parted, cannot mount newly created partitions

I am making my own script for partitioning disks and I am unable to mount the partitions which were just created using parted CLI tool. I am doing this on a virtual machine with virtual disks, but ...
0
votes
2answers
30 views

firewall not working as expected in kickstart

I have following line in kickstart for firewall firewall --enabled --service=ssh,glusterfs,tftp,ntp I am expecting tftp server should be accessible from other system, but it was only accessible from ...
1
vote
2answers
36 views

How can you move hardlinks to another disk

If we have a file on a disk and create a hard link pointing to it then we have two references to the same data. If one link gets deleted it does not affect the other link as it is directly pointing ...
3
votes
1answer
32 views

Why is the hardware database of usbutils not updated?

I was wondering why some of my USB devices where not recognized by lsusb and stumbled upon /usr/share/hwdata/usb.ids. When I read the contents of the file I could see that the hardware database was ...
-1
votes
0answers
32 views

What can I use to edit a .hff file? [on hold]

What can I use to edit a .hff file, and no this one is not a a heightfield file. It is a firmware file for my freeze dryer that I am playing with and I suspect it is just a script file.. ?
0
votes
0answers
12 views

Merge multiple files with different extensions using a loop in bash script [duplicate]

I have 100's of files of the form filename.0 filename.1 filename.2 filename.3 And they all have identical layouts which I want to merge together into one file using a loop in my bash script, I have ...
0
votes
1answer
21 views

Does the kernel address region in user page tables need to be updated in an 64 bit system?

In 32 bit systems with more than 896 MB of RAM it is obvious, that the mapping of kernel addresses need to be changed because of kernel virtual addresses and the non-continuous mapping. But how is ...
0
votes
0answers
20 views

Modifying text file using (g)awk [duplicate]

Is it possible to make a modification to a text file for example and save those modification to the same file using (g)awk script/command? All I see is only a modification to the printed output and ...