Recent Questions - Unix & Linux Stack Exchange |
- Building android kernel module without exact kernel source and configs
- How to zgrep and then gzip multiple files individually?
- cant run react nginx on port 443 and 80 both are in used
- How do I type a vinculum?
- Search with less
- Problems with Grub seeing USB drive ParrotOS
- no ethernet connection when installing debian
- GLOBIGNORE='**/dont_doc/**' does not work!
- How to modify XFCE panel using only bash?
- How do I determine what task is launching another task
- Delay between username and password during tty login
- i3 font size changed after Space got stuck
- grep -v does not return complement of grep
- xrandr - Doesn't Properly Move Monitors
- How do I use SSH to launch a nohup ffmpeg command and leave it running after disconnect?
- create an alias on ZSH but need to type it twice
- How can I purge and remove all network capabilities from Linux Mint?
- How can the program get multiple numbers as arguments and calculate them? Exemple: 19 10,13 4, 12 3
- Reboot and relaunch a script if error
- DRBD service vs drbdadm
- ArcoLinux won't boot after system update
- Repository is deprecated
- Crackling sound on 3.5 jack whenever I had a few seconds without playing sounds
- How to delete all lines in a text file which have less than 'x' characters?
- Virt-install error: can't load ignition file
- DS-Lite: Extended NAT binding table
- Can't SFTP with sftp command but can connect with sftp:// and other sftp clients
- WiFi not working properly in Ubuntu 14.04 LTS on Macbook Pro
- What are the advantages of a nomultilib system?
- set tab color in a tabbed terminal emulator
Building android kernel module without exact kernel source and configs Posted: 12 Nov 2021 11:31 AM PST I'm building a very simple android kernel module (returns with no operation in ProblemUnfortunatly, I've no kernel source code for virtual device, and also no configuration file( What I only know is as follows:
But when I do I append code of my kernel module, and also makefile. QuestionI thought that the part linked with kernel is only external functions with crc_symbols in What am I missing here? Any suggestion or reply would be appreciated. Thanks. |
How to zgrep and then gzip multiple files individually? Posted: 12 Nov 2021 11:05 AM PST I have the following code which searches for a term in multiple files ( This works well, but is it possible to change this so that the files in Thanks! |
cant run react nginx on port 443 and 80 both are in used Posted: 12 Nov 2021 10:53 AM PST I have react, nodejs app and dockerize them. frontend running with Nginx on port 80 and 443 on my local docker-machine. when I run the docker-compose command on my VPS centos it throws an error that ports 80 and 443 are in use. what should I do? |
Posted: 12 Nov 2021 10:48 AM PST I am attempting to draw a vinculum over a 3. What I tried: Ctrl + Shift + u to enter unicode, then entering 0305, then enter. I get this: The issue is I cannot center a digit centered under that character. E.g. if I put the three before, I get I don't know, maybe my font rendering is the issue? |
Posted: 12 Nov 2021 12:01 PM PST In the output of I try searching with Following this recommendation I try: but it causes an error: What is wrong? |
Problems with Grub seeing USB drive ParrotOS Posted: 12 Nov 2021 09:54 AM PST I have an older MacbookPro i believe an 08 model. I have installed ParrotOS Security on metal. I have now wanted to swap back to Kali but when I put the USB in it to install Kali, the grub bootloader does not show Kali drive or my USB thumb drive. I have tried to use BalenaEtcher and also Rufus and neither will show in the grub loader. Can someone help me find a way for Grub to load the thumb drive so i can select at boot? Thanks! |
no ethernet connection when installing debian Posted: 12 Nov 2021 09:55 AM PST no ethernet connection when installing debian. I am using debian net install. I just need to connect to internet & i plugedin ethernet cable but its unable to connect. I am inside installer so there is no proper terminal or sudo or ifconfig etc... |
GLOBIGNORE='**/dont_doc/**' does not work! Posted: 12 Nov 2021 11:19 AM PST I wanted to create a glob expression to ignore any file inside a this is what I want to happen: how do I fix this? Edit: I also want to ignore the |
How to modify XFCE panel using only bash? Posted: 12 Nov 2021 09:38 AM PST How to modify XFCE panel using only bash? I'm creating Ansible playbook that is to create preconfigured XFCE panel. Modifying files in ~/.config/xfce4/panel is not working. Is it possible to modify panel without GUI? |
How do I determine what task is launching another task Posted: 12 Nov 2021 09:55 AM PST I am dealing with some essentially virus-like behavior that I'd like to end. A task 'foo' is running on my computer, generating a lot of calls that are bringing my system performance to its knees. I can kill that task: Unfortunately, an unknown task 'bar' is immediately re-launching foo. I have root access. I'm very tired of having my machine being disabled. How do i make this stop? |
Delay between username and password during tty login Posted: 12 Nov 2021 09:33 AM PST Recently, I noticed that when using tty to login to my computer, there was a delay (around 20 seconds) between the time I enter my username and the time I'm getting asked for my password. Where can it come from ? I don't have such delay when using I'm using Arch Linux with kernel 5.14.16. |
i3 font size changed after Space got stuck Posted: 12 Nov 2021 09:04 AM PST I'm using I managed to click on another workspace with another window (Telegram), and it didn't go away. I wanted to restart i3, but I effectively didn't have a keyboard anymore, so I had no choice but to forcibly shut down the computer. Once I restarted, the issue was thankfully resolved. However, it seems I did something in that whole ordeal: everything in i3 got very large: my So I have 2 questions:
|
grep -v does not return complement of grep Posted: 12 Nov 2021 10:41 AM PST I want to filter a file for lines starting with a space. I use the following command: To double check my results, I run the following: and then count the number of lines in For some reason, this check fails. Meaning, the sum of the number of lines is less than the number of lines in This is using GNU grep 3.4 on Ubuntu 20.04.3. |
xrandr - Doesn't Properly Move Monitors Posted: 12 Nov 2021 08:49 AM PST I have a fresh install of Arch Linux running on my desktop machine which has 3 monitors. I have installed Following the instructions on the Arch wiki, I have installed This indeed reorders the monitors so that I can move my mouse from one to the next as you would expect based on the physical layout of the monitors on my desk, but all of the mouse events are still triggered on the wrong monitor. That is, in order to interact with the mouse in a window that is displayed on DP-1, I have to have my mouse on DVI-D-1. To click on a button on HDMI-1, I have to put my mouse on DP-1. And in order to select a window displayed on DVI-D-1, my mouse must be on HDMI-1. I've looked through the Arch wiki's Multihead page, which specifies how to move monitors and position them relative to one another. Looking in the man for How do I get |
How do I use SSH to launch a nohup ffmpeg command and leave it running after disconnect? Posted: 12 Nov 2021 08:47 AM PST I'm trying to launch a series of FFMPEG commands over SSH. My SSH client is the native openssh (7.7.2.1) client in Windows Server 2019 (ver 1809 build 17763.2114). The command I am trying to run is this: Other stackexchange answers indicate that using the "nohup" and the "&" command will launch the command and release the console. The problem I'm facing is that the command runs, but the console does not release the session and keep the command running. If I append " \" to the end of the line, the session releases, but the command stops. If I force disconnect, then the ffmpeg command continues running, but I need a smooth way to release the process so my powershell script can continue running. I want to keep all these commands on one line. How can I connect, launch this command, disconnect and leave it running? |
create an alias on ZSH but need to type it twice Posted: 12 Nov 2021 08:39 AM PST I'm trying to create an alias on ZSH. The aim of the alias is to activate a python virtualenv. I've put a line in my Often I need to change virtual environment with activating a virtual environment in one of the folder, then switching to another folder and activate another virtual environment. Example: Let's say I'm working with the folder Instead of doing it several times with the command line Hope it makes the context clearer. PS: I'm using Ubuntu with a Windows Subsystem Linux. |
How can I purge and remove all network capabilities from Linux Mint? Posted: 12 Nov 2021 10:32 AM PST I have a fresh install of Linux Mint and the necessary software which I like to use. I was now wondering how can I purge and remove all internet capabilities from my system, WiFi, Ethernet, Bluetooth - the whole lot? |
How can the program get multiple numbers as arguments and calculate them? Exemple: 19 10,13 4, 12 3 Posted: 12 Nov 2021 09:50 AM PST The program must receive one or more numbers as arguments and calculate the sum of digits for each specified number. I don't get anything. How can the program also receive and calculate several numbers as arguments? If loops and while I have used. The explanation must be up to 80 characters. |
Reboot and relaunch a script if error Posted: 12 Nov 2021 08:47 AM PST I have a script (not written by me, I cannot modify it) that has to run for days, that sometimes fails (exits with an error). In this case all I have to do is just reboot the server (there is no better solution for now), and restart the script. Currently I do this:
How to do this without manual intervention? How to automate this and have the server reboot automatically if the script exists with an error, and then restart the script? |
Posted: 12 Nov 2021 08:55 AM PST DRBD v9.17 (kernel v9.1.4) I'm trying to understand the typical roles of When should the service be used vs the I have created a resource manually using |
ArcoLinux won't boot after system update Posted: 12 Nov 2021 11:19 AM PST Yesterday I updated my computer running ArcoLinux with and after rebooting it I found that it wouldn't boot. Instead, I got this: Keep in mind that I usually see this when booting the computer, just without the obnoxious gaps where the text is supposed to start! Also, when the OS boots properly the kernel boots after this text (obviously). I have tried all options for ArcoLinux in the GRUB menu but they all get the same result. When booting from Linux Linux instead of Linux linux_zen I get a terminal cursor in a strange position but other than that there is no difference in behaviour. I really need some help with getting ArcoLinux up and running again because I use Arco for gaming and if I were to lose it I would lose all save data for some particular games that don't support Steam's online save service for some reason. |
Posted: 12 Nov 2021 10:56 AM PST Hi i run this code in my kali linux terminal
I just want to remove this repository I'm Using Kali Linux 2021.2 |
Crackling sound on 3.5 jack whenever I had a few seconds without playing sounds Posted: 12 Nov 2021 09:59 AM PST Symptoms Whenever I plug an audio jack into my PC a loud crackling can be heard in the headphones (tried 2 different pairs), it also happens whenever I play a sound if I didn't already have another audio playing in the last few seconds. It is as if an audio service or card were putting itself to sleep after a few dozen seconds of inactivity and resuming it would cause a single crackling noise then the audio is clean again. A similar but much less agressive sound is heard a few seconds after an audio is done playing. The crackling sound is much louder at its first instance (after boot) than any other time, it also happens whenever I plug in headphones or when the pc turns off. System I use a clean install of Parrot OS 5.0 (LTS) (debian based) on a stock HP ENVY PHOENIX 860-080nz 1.04(except for the storage), the issue was there from day one. Here is the output of cat /proc/asound/cards Devices 0 and 1 use the snd_hda_intel driver which is native to the kernel, I didn't touch this. Here is cropped output of lspci -v Other tests I did USB speakers work perfectly fine. This happens whether I am in headless mode or not (I suspected it might be KDE as the first crackling at boot comes during the KDE splash logo) I dual boot with windows and have no such issues on the Windows side so I'm certain it's no hardware issue. |
How to delete all lines in a text file which have less than 'x' characters? Posted: 12 Nov 2021 08:55 AM PST How can I delete all lines in a text file which have fewer than 'x' letters OR numbers OR symbols? I can't use |
Virt-install error: can't load ignition file Posted: 12 Nov 2021 11:05 AM PST I'm trying to install Fedora CoreOS using virt-install, as described here: https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/ The exact command I'm running: is returning this error: I'm running this command as root. The ignition file is working as I've successfully used it to deploy this VM from an iso file. |
DS-Lite: Extended NAT binding table Posted: 12 Nov 2021 08:45 AM PST I'm trying to set up a DS-Lite AFTR. Because of the overlapping addresses of the tunnel connections to the B4s, a normal NAT table does not work (already tried How to do that extension on Linux? I'm using a Debian based system (Ubuntu 18.04). I'm establishing tunnels using Note: I notice a lack of resources on that topix which is a shame. This is exactly why I'm asking here. Any help is appreciated! |
Can't SFTP with sftp command but can connect with sftp:// and other sftp clients Posted: 12 Nov 2021 09:02 AM PST I have been stuck with this issue all afternoon and I don't know what is going on. The reason why I need to use the sftp command is because I am using it in a shell script. If there is another program I could use that comes with CentOS 7 that allows me to download a file using SFTP then please enlighten me. EDIT 1 SFTP clients used: WinSCP and PSFTP. Tested this from different computers both running on the same network and from the internet (used only IP addresses here). This works as expected from the same computer (used localhost and loopback address). Firewalld service is stopped, and no proxy is being used or has been configured at any time. The error I am getting is (using sftp -vvv sftp@hostname): My sshd_config file (server-side): Code used to create the user: I have not touched the sshd_config file from the clients, so I guess it is just the defaults from installation (in my implementation I cannot change those configuration files). |
WiFi not working properly in Ubuntu 14.04 LTS on Macbook Pro Posted: 12 Nov 2021 11:02 AM PST I just installed Ubuntu 14.04 LTS on my Macbook Pro. Everything seems to work fine except the WiFi. The wireless connection is very slow and intermittent. Wired connection works like a charm however. I tried the solution here but it didn't work: https://askubuntu.com/questions/272010/extremely-slow-and-or-unreliable-wifi-on-a-2009-macbook-pro-with-bcm4322 Could someone help me? Thanks in advance, Max |
What are the advantages of a nomultilib system? Posted: 12 Nov 2021 10:05 AM PST I see that my Linux operating system has support for a nomultilib system. As far as I can tell, that means that no 32-bit packages will be installed on the system, meaning the entire system will be 64-bit. I can find a lot of information about what a nomultilib system is and how to change to one, but there's one question I can't find an answer to: Is there any benefiet to running a nomultilib system? |
set tab color in a tabbed terminal emulator Posted: 12 Nov 2021 12:00 PM PST I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora? EDIT: below a picture to better explain the desired result. |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
E-Techbytes: Recent Questions - Unix And Linux Stack Exchange >>>>> Download Now
ReplyDelete>>>>> Download Full
E-Techbytes: Recent Questions - Unix And Linux Stack Exchange >>>>> Download LINK
>>>>> Download Now
E-Techbytes: Recent Questions - Unix And Linux Stack Exchange >>>>> Download Full
>>>>> Download LINK yk