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.

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

How to save the progress of the “find” command?

I have big directory tree of files. I often use the find command to locate something in that tree. The first time after a reboot it takes some time, but subsequent uses are almost instant. Obviously ...
0
votes
0answers
3 views

What's the difference between the `Red Hat Enterprise Linux Server(3.10.0-514.e17.x86_64) 7.3 (Maipo)` and `(0-rescue-bc0bxxxxx)`?

When I install a CentOS in my Physical Server: there list two options: What's the difference between the Red Hat Enterprise Linux Server(3.10.0-514.e17.x86_64) 7.3 (Maipo) and Red Hat Enterprise ...
0
votes
0answers
4 views

sar + get network info from sar

this syntax give the network info on sa1 file sar -n DEV -f /var/log/sa/sa1 how to get the info only from UDP protocol ? we try also sar -n UDP -f /var/log/sa/sa1 Requested activities not ...
0
votes
1answer
8 views

What does `swapaccount=1` in GRUB_CMDLINE_LINUX_DEFAULT do?

In the question Limit memory usage for a single Linux process it was mentioned to change the file /etc/default/grub so that GRUB_CMDLINE_LINUX_DEFAULT contains GRUB_CMDLINE_LINUX_DEFAULT="...
0
votes
2answers
14 views

Linux package to display a given text bigger

Is there a Linux package that can output any text passed to it in a bigger size, essentially without changing font size of the terminal. Basically looking for something like this; echobig "hi there!" ...
0
votes
0answers
7 views

How to unmount device from a path hidden by another mounted device?

I have olddevice mounted to /mnt with: $ mount olddevice /mnt I would like to change the device at /mnt mount point. For this purpose, I simply mount newdevice on top of it: $ mount newdevice /mnt ...
0
votes
0answers
3 views

How to mount samba share under Thunar as the local user

I have a samba share which I am accessing trough Thunar with smb//sambashare. When I open it, it mounts as root, so I cannot open any documents as the local user. I cannot find the mount point of this ...
0
votes
1answer
13 views

tar on remote machine and save the compress file under specific folder

we want to tar the folder - current on remote machine and save the compressed file under /tmp so we do that: ssh 18.23.2.12 "tar -zcvf current_bck.tar.gz /var/current -C /tmp" but on remote ...
0
votes
0answers
8 views

Spawn, grep/find, and kill a linux process

I have a basic question which I need help with. We have a use-case where we want to spawn a process in a different session/process-group i.e. if the parent spawning the process gets a SIGTERM, the ...
0
votes
1answer
23 views

rsync + using the flag ignore-missing-args

I am using the rsync version - 3.1.2.0 /usr/bin/rsync_bpc --version rsync_bpc version 3.1.2.0 protocol version 31 in order to copy files from /opt/dir to /tmp I am also using the flag- --ignore-...
1
vote
1answer
15 views

Run a 16-bit Application through DOSBox/DOSEmu with Telnet

Here is my problem. I have a Fedora 30 telnet-server and a Windows telnet client. I installed DosBox on Fedora30, and it works running my app (Foxpro 2.6). There is no GUI. I would like to run ...
0
votes
0answers
5 views

how I can restore my wifi adapter in Antergos?

does anyone know restore my wifi adapter, everything seems fine, but I do not see the networks, I appreciate your help, thanks you. [lyon@LyonPc ~]$ sudo lshw -C network [sudo] password for lyon: ...
0
votes
1answer
15 views

Is the nvidia gtx 690 and the ryzen 5 1600 cpu compatible with ubuntu 18.04 LTS?

it is my first post on this forum i hope that i did not create any confussions. I have already built this pc: NVIDIA GTX 690 X370 MSI MOTHERBOARD AMD RYZEN 5 1600 16GB DDR4 planning to install ...
0
votes
0answers
11 views

Is there any relationship between BIOS and Linux's Device Drivers layer?

We know Linux Kernel have: SCI, Kernel, and Device drivers. the Device drivers can communicate with the hardware. we also know BIOS is between the OS and the physical hardware. What's the ...
-1
votes
0answers
5 views

Using sdptool returns no results

I'm running the command sdptool browse --tree --l2cap against my Bluetooth device, but no results are returned. Does anyone know why this is happening and can you help me out?
0
votes
0answers
14 views

Real-time color change in terminal (before user sends the command)

I could not find a better way to write the title, so sorry if it is not as specific as it should. For my case, I would like to make the first word (that we know it will be separated of the rest of ...
0
votes
0answers
17 views

What is correct syntax to for loop variable in PATH? - Linux

I have to execute following loop: root1=path/to/root1 root2=path/to/root2 for i in {1..2}; do ${root${i}}; done It, of course, doesn't work and i can't seem to figure solution for such scenario. ...
0
votes
0answers
7 views

unable to change MTU for ssh_exchange_identification: Connection closed by remote host

When I try to login to remote server by ssh, it stucks at expecting SSH2_MSG_KEX_ECDH_REPLY and then exists ssh_exchange_identification: Connection closed by remote host But I can login using ...
0
votes
0answers
8 views

.htaccess blocks GET *.js file with net::ERR_ABORTED 403 (Forbidden) via google pagespeed

An .htaccess file in a directory allows access to the js and css files contained within if accessed directly. ALLOWED: https://mydomain.com/catalog/view/extension/related_options/js/liveopencart....
2
votes
0answers
37 views

What was the exact issue about booting Linux on Ryzen 3000 CPUs?

As far as I understood, AMD Ryzen 3000 CPUs platform has (had, depending on your motherboard BIOS version) issues when booting Linux, especially regarding systemd, apparently. I know AMD released a ...
1
vote
0answers
27 views

Transfer folder from server a to b

I have a local virtual machine with Debian and want to move a folder from there to my external hosted server. The problem is that the folder size is never the same after transfer. I already tried to ...
0
votes
1answer
49 views

Copy files from remote machine to folder on remote machine

Why do we get the following error about "No such file or directory" when we copy files from remote folder to another remote folder? ssh -n -o ConnectTimeout=50 -o StrictHostKeyChecking=no -xaq $IP ...
0
votes
0answers
21 views

No sound in every linux distribution,in aslamixer only one bar(master)

Now i am using Void Linux,sound don't work,but when i type $beep Sound work,so i don't know where the problem. Help please. aplay -L [bixbow@localhost ~]$ aplay -l **** List of PLAYBACK Hardware ...
0
votes
2answers
22 views

Using command line in Fedora to print/echo certain lines in a file [duplicate]

For Fedora OS I'm still learning here, but I need help to insert a command for example "XXX" to say that I have a file that contains 1000 lines of single product names. I need to write a command to ...
0
votes
1answer
32 views

Efficient way to output text file lines into a directory tree

Example: test.txt coolname lineinfile Output: coolname would be placed at c/o/o/l/n/a.txt lineinfile would be placed at l/i/n/e/i/n.txt Any help would be appreciated
1
vote
0answers
13 views

Access 3G/4G interface in terminal

I have been monitoring the Wi-Fi and Ethernet interfaces of my computer using terminal tools (I'm a Ubuntu user). I am now required to do that same monitoring and bandwidth measurements in a Linux ...
1
vote
1answer
21 views

Linux swapping/hangs on heavy compilations

I have the following setup: Gentoo Linux, kernel 4.19.52, AMD Ryzen 5 1600, 16G of RAM (of which up to 8G is used as ramdisk - mounted as tmpfs). I have also set up 32G of swap partition. The ...
2
votes
2answers
32 views

Is there a way I can copy logs from one directory to other in continuous fashion

I have a log file in some directory /A. Is it possible to maintain the same in /B directory considering the fact if the file in /A updates will update file in /B also, without re-writing the entire ...
1
vote
1answer
18 views

Close ghostscript without “-c quit” or -dBATCH

i use ghostscript to save pdf files as tif. I've written a little function in the shell script i use to delete the uncomplete output folder when i abort the process. function lock-remove { rm -r ...
1
vote
1answer
16 views

How to check mdadm RAID5 integrity after power failure/random reboot

So I'm currently building an mdadm RAID5 array attached to my home server. The hardware is an Odroid N2 SBC with a Mediasonic Probox 4 bay enclosure attached. The array is currently rebuilding and ...
0
votes
0answers
4 views

Add exception to UFW Firewall for python http server directory listing in Route IP 10.42.0.1 Ubuntu?

i'm trying to list a directory using this python command: sudo python3 -m http.server --bind 10.42.0.1 80 But, ufw firewall blocks the traffic of the route ip 10.42.0.1, and the devices connected to ...
1
vote
0answers
6 views

Touch pad not working on Linux Chromebook

After a lot of trial and error I got Linux to work kn my acer chromebook 11. It’s been working fine for a few months but now when I launch Don’t starve together (one of the only games it can run) the ...
0
votes
1answer
18 views

Run command based on IP address received

I'm looking at if I can have a bash/python script that triggers a command based on the IP address Linux has received via DHCP. e.g. DHCP received: 10.50.10.51 /24 runs command XYZ DHCP received: ...
0
votes
0answers
8 views

Wrong display output due to kernel 5.0.0 issue (?)

I have got 2 monitors, and everything worked fine with Lubuntu where i had 4.4.0-31 low latency as kernel, just installed ubuntu 19 with its new 5.0.0-generic kernel and now the second monitor gets ...
0
votes
2answers
32 views

Ownership of file(s) in directory with SGID bit set

I have a directory that has the SGID bit set, so ls displays it as drwxr-sr-x, and is owned by a normal user.  I have a file that is owned by root in that directory, with permission 644.   The ...
0
votes
0answers
7 views

When change video mode, I get black screen (in text mode)

When I boot from minimal-gentoo-install flash I choose the closest mode(800x600x32) to my screen(1024x600x32), and everything's fine. But when I boot my kernel from grub and set gfxpayload=...
0
votes
0answers
7 views

Lubuntu on TD cache disk, 8gb

Big hello 2 everybody up in here! I have a Transcend cache disk, size of 8gb and right now is on Lubuntu, which are password locked and i xannot install anything on it. Disk is quite fast to boot and ...
3
votes
2answers
43 views

Is it possible to install a full-blown desktop Linux distro on an Android smartphone?

This may be a stupid question, but is there any way to overwrite Android with a full-blown desktop Linux distro on an Android smartphone? I looked at a few tutorials, though they only seem to emulate ...
1
vote
0answers
26 views

How to set up such that Linux ask for sudo whenever sudo is required?

I am tired everytime I want to run some commands and after I do Enter I find out that this operation require sudo. So I need to : use arrow up to retrieve my last command use Home to go to start of ...
1
vote
0answers
32 views

Why do kernel updates on Manjaro change my network MAC address?

I've configured NAS access based on client IP address. It's now the third time that I've updated the kernel on my Manjaro installation, and each time I get booted off the NAS. Why? Because my ...
0
votes
0answers
14 views

filter values condition on multiple columns

I have a multi column large files starting with IDs. each ID has been repeated in several rows in order to include all related values. one of the column has erroneous data mixed and there are spikes ...
-2
votes
0answers
11 views

What happen next when page fault happen inside Linux KVM?

I'm curious about KVM memory management architecture. I was looking for some detail explanation regarding this but could not find anything satisfying ( I failed to understand as I'm novice). ...
1
vote
2answers
30 views

Automatic file transfer between two linux machines

Hi I have two linux machines. Server A (LUbuntu) and Server B (Raspbian). What I want to do is have Server A check in specific a directory(NFS mounted on A) from Server B and IF there are any files ...
0
votes
0answers
12 views

Grub2 installed to USB stick stuck on non-existent UUID

I used the command: grub2-install --boot-directory=/mnt/usb/boot /dev/sdc to install grub2 to a USB stick that's ms-dos formatted (ie., with an MBR, not EFI). This works, sort of: When I boot the ...
0
votes
0answers
20 views

Reconnect Time for SSH

Need to provide a particular timeout for ssh reconnection after lockedout with n attempts?How can it be acheived?
0
votes
0answers
8 views

kernel module compile with reptoline

I maintain code of kernel module. If i have not compiled my kernel module with reptoline parameter. What does it open for vulnerability ? The memory space of my kernel module ? The memory space of ...
2
votes
0answers
23 views

iwd with EAP-TLS fails with 'Failed to load <pem>'

I want to connect to an EAP-TLS access point using iwd, however this fails because it apparently cannot open my client key: # iwctl [iwd]# station wlan0 connect foo Not configured iwd says: src/...
0
votes
1answer
35 views

Is cached/buffered memory always instantly freed when an application requests it?

I have an ongoing discussion with the support of one of the cloud services. The problem is that we get "Cannot allocate memory" errors (for allocating shared memory segments by PostgreSQL) despite ...
-1
votes
0answers
18 views

Delete all partitions and recreate

I have a laptop which has pre installed windows 10. bios is locked in a way that I cannot change boot type, virtualization settings whenever I do it resets. I have 500gb hdd and I use 3 OS. windows, ...
0
votes
0answers
15 views

Root FS goes into ReadOnly Mode in 2 days after clean Reboot

I have a Suse OS machine. The root FS goes into RO mode by itself. After a clean reboot it is back in RW mode but does not stay there. After 2 days it goes back to RO mode. I performed FSCK on ...