Recent Questions - Unix & Linux Stack Exchange |
- TAB completion not working on mounted partition
- /run/udev/tags/ on a Kubuntu VM: Cannot remove 'snap_firefox_firefox' after uninstalling Firefox. What are these files?
- Connecting To a WiFi with dynamic IP and Ethernet Cable with Static IP in Arch Linux and Maintaining Internet
- While installing Debian KDE on i386 computer, Locks me out unexpectedly
- How to remove line with specific string from file
- How to suppress PAM audit logs for RHEL8?
- How do I connect to a Wi-Fi network from a Kali Linux live USB?
- Cannot login after enabling pam_faillock module
- How to attach new terminal with existing process and subprocesses?
- Does this dmesg log show files being transferred?
- When copy address for wget other files download
- How to install software with outdated set of libraries into a new system without conflicts?
- Perform backup (and restore) from my current LFS (Linux From Scratch) progress with dd command
- Bash script segmentation fault
- awk/sed split a cluster file in to multiple files
- Text messed up with freetype
- Is cp faster than rsync during the first run?
- iptables: Failure when trying to block port access for most IP addresses, except for a few
- How to parse an escaped json string with ansible/jmespath/jq?
- Send specific signals to systemd for service shutdown
- How to fix FTP permission issue?
- The service is actually an init script but the system is managed by systemd warning
- How to zoom/magnify on linux without compiz (bspwm)
- How to find gnome-terminal currently used profile with cmd line?
- How to sync bookmarks (favourites) between Google Chrome and Chromium
- "Error uncleared PCH FIFO underrun on transcoder A" during boot centos 7 on toshiba
- Precedence of the shell logical operators &&, ||
- Can I select only one result from a bash glob?
- Determine what program is in my MBR code
TAB completion not working on mounted partition Posted: 16 May 2022 06:14 PM PDT I'm used to mount a Windows partion (G) into my Windows Subsystem for Linux (running Ubuntu 20.04) by giving the following commands: The partition seems to be mounted correctly, since I can access to its content from Ubuntu. However, writing in a shell, TAB completion of directories or files does not work at all. How could I solve this issue? Thanks in advance! |
Posted: 16 May 2022 05:56 PM PDT I am trying to completely uninstall Firefox in a VM, which I did via: But an FSearch query turned up the following: There is next to nothing on the web when I search for this. How do I remove these residual snap references? What are these files / references? Any help would be greatly appreciated! |
Posted: 16 May 2022 05:31 PM PDT So let me preface this question by stating that I am not so well versed in the linux ways hence simple explanations are appreciated. On to the question at hand. QuestionI am currently running an Arch Linux server (selected the server option in the archinstall script) its mostly to run docker containers, its connected to the internet using WiFi. I recently decided to connect some of the devices to the server via a network switch (it's an unmanaged/plug-and-play switch). Since the network switch is unmanaged I know that I need to manually assign ip address to the devices connected to it. The problem is that I can, at any given point, only get one of the 2 networks working fine on the system. If I configure the Ethernet then the WiFi network no longer has access to the internet (still connected to the WiFi network, just no internet access). If I disable the Ethernet then then I have internet access but no access to the devices connected in the wired LAN. How do I solve this so that both networks are connected and still have access to the internet? What I tried:I followed the guide found here. I tried both the netctl method and the systemd method. I would like to say that I had more luck with the netctl method for a static IP for the Ethernet network, but that's just because it's easier to do. Since netctl can also be used to connect to a WiFi network I tried to use that to connect to the WiFi instead of iwctl, I figured maybe its not working cause its 2 different scripts/programs managing them. But that didn't work as netctl just didn't connect to the WiFi network. I used the examples provided by them, "wireless-wpa", and tweaked the contents to match what I had. At first it didn't work cause the passkey was getting rejected, so I got the encrypted passkey using "wpa_passphrase" and used that, but that didn't work either. It just said 'wpa authentication failed' (might not be exactly that, I did revert everything before typing the question, so the details are a bit off in error messages) I did think maybe I was changing too much of what the netctl ethernet example had so here's an example of what it looked like after my changes Yes, all I did was change the interface name but I figured I should show what the config I used was. How Did I Check the Connections:I used ping. Check for internet access was Check for ethernet connection was Misc.the netctl example for static IP ethernet has a different IP for DNS. I did try that as well. But no dice there, I'm pretty sure it looked like this: As I started typing in the Title for the question I did run across this Stack Exchange question, but I have no idea whats going on there. |
While installing Debian KDE on i386 computer, Locks me out unexpectedly Posted: 16 May 2022 05:00 PM PDT I have a Toshiba Satellite M105 currently installing Debian KDE 11 and after around 5 mins, locks me out unexpectedly and the password to get back in is unknown. Help? I have not touched any settings whatsoever since the software is currently installing. |
How to remove line with specific string from file Posted: 16 May 2022 06:44 PM PDT Note the text file like this: Goal is to remove line that has just "/home/user1/", nothing besides that, so end result should be: Tried with code below, but it removed all lines that contains /home/user1/ in it. Any idea how this should be done? |
How to suppress PAM audit logs for RHEL8? Posted: 16 May 2022 03:32 PM PDT I have a system that is getting a ton of audit traffic for a particular account we will call 'redacted'. The logs are showing this account executing the su command. My first instinct was to check the rules in I was still seeing these logs so my question is are these coming from the PAM modules and is there a way to suppress them? |
How do I connect to a Wi-Fi network from a Kali Linux live USB? Posted: 16 May 2022 05:06 PM PDT I am on a MacBook Pro and my primary operating system is macOS. When I am on macOS, I am fully able to browse the internet and connect to Wi-Fi networks, but when running a Kali Linux live USB, I am unable to connect to Wi-Fi. The network name appears, and when I click on it, I am prompted to enter a password, but then it continues to prompt me to enter a password and never actually connects me to the network. My friend suggested I purchase a USB Wi-Fi adapter, but I believe you need to use |
Cannot login after enabling pam_faillock module Posted: 16 May 2022 05:44 PM PDT I am running Ubuntu 20.04 LTS. I enable the pam_faillock module by adding the following two lines in /etc/pam.d/common-auth. I add these lines below And above: After I add these lines I uncomment the following lines from After these changes I reboot, when I try to login after reboot it tells me the password is incorrect. (Yes I have verified it's not a bad password) I am not the strongest in this area and I am unsure what is causing this to happen. |
How to attach new terminal with existing process and subprocesses? Posted: 16 May 2022 02:46 PM PDT I'm trying to us reptyr to reattach new cloud shell to an existing program running on an ubuntu virtual machine. when running When running Is there any other way to attach new shell to existing program so that I can see the logs in real-time without restarting? |
Does this dmesg log show files being transferred? Posted: 16 May 2022 02:43 PM PDT An issue was recently opened on the GitHub page for the privacy-focused VirtualBox wrapper HiddenVM. The opener posts what he claims to be indication of files from his local cache being sent to an external IP:
The opener doesn't say exactly what commands they used or give any further details. Do these two messages indicate files being sent from the local machine to an external IP? |
When copy address for wget other files download Posted: 16 May 2022 02:24 PM PDT I was given a shared directory with files on owncloud. To download only some of them to my directory on a remote server, I right-click on a file name, copy the link address and use instead of downloading just that one file, it tries to download all the files from the directory and crashes because of memory shortage. How do I download files separately in this case? P.S.: if I just click on the filename on a web browser, it downloads the exact file I need. So wget should download just that file, right? Why does it load all the files? |
How to install software with outdated set of libraries into a new system without conflicts? Posted: 16 May 2022 02:46 PM PDT I have an issue with some proprietary software: it was created a long time ago, requires RHEL5 and a set of libs like motif22, pcre v1, fortran and stuff like that. It widely limits the choice of operating systems I need to follow as Centos/RHEL7 is the last one I was able to find the required set of libraries on the wild. Their number is large (more than 200 with some dependencies). Now, as I have an idea to upgrade, I have a choice: whether install RHEL/Centos 7 or think of a way to isolate the proprientary software together with its libraries inside its sort of container. Software performs mathematical computations, works with special hardware and performs frequent but low network usage. The idea of virtual machine is not a good choice, because the software is the only purpose of workstations it is being installed so I need to provide full computational power of it to software. What is a best choice here? Basically I need to install old proprietary software with old set of libraries (even with i686 architecture) into x64 Linux box, but it should be separate from system libraries. I do not need anything else as constraints to network, CPU, GPU, RAM or other limits. Just installation issues. I was thinking about Thank you. |
Perform backup (and restore) from my current LFS (Linux From Scratch) progress with dd command Posted: 16 May 2022 01:38 PM PDT I have my LFS proyek, currently I'm in chapter 10 so far according this book I want to perform backup of my LFS progress so if there's mistake I can restore its checkpoint, currently my LFS progress and its content are saved in |
Bash script segmentation fault Posted: 16 May 2022 02:13 PM PDT My assignment is to write a bash script that reads a directory and returns the file type of each file within, including all subdirectories. Using the find command is not allowed. I've tried to implement this using essentially two for loops, but I'm getting a segmentation fault. I found that the script does work however when I pass a directory without subdirectories. Would someone be willing to look over a noob's code and tell me what's wrong? Thank you very much. |
awk/sed split a cluster file in to multiple files Posted: 16 May 2022 06:50 PM PDT I have a cluster fasta file (called file) which looks like: the about file has 4 groups: I want to separate the file into 4 files at the second file_1 file_2 file_3 file_4 |
Posted: 16 May 2022 04:57 PM PDT Some programs have messed up text rendering, most noticeably in discord, regardless of what distro or computer I am using. Other people were having the same issue in this reddit post. I have tried various distros, computers, and window mangers, but no matter what, fonts are always broken. The issue is likely with freetype, one of the few constants. The solutions shown in the reddit thread did not help, although I didn't try downgrading freetype, which isn't the kind of solution I want anyway. Although the issue has occurred everywhere, I am presently testing on Arch with DWM. How it should look. How it does look. Edit: This comparison should make the difference more clear. Top is how it normally looks, bottom is how linux looks. How it normally looks is like bold text in comparison. |
Is cp faster than rsync during the first run? Posted: 16 May 2022 04:53 PM PDT I am currently using The following applies:
The problem is that the move is still not done after 9 hours. According to 1, using |
iptables: Failure when trying to block port access for most IP addresses, except for a few Posted: 16 May 2022 05:43 PM PDT I am using I'm trying to block input access to a few ports for most IP addresses, except for a small, select list of IP addresses. I am doing the following, but it does not seem to work: Whenever there is an access attempt to any of those ports from an IP address that is not in These are the first few lines of And this is the current iptables configuration: What am I doing incorrectly? Thank you very much in advance. |
How to parse an escaped json string with ansible/jmespath/jq? Posted: 16 May 2022 04:38 PM PDT I'm using the Ansible module for Bluecat to make an authorized API call to get some information about a subnet. The response looks something like this: As you can see, all the useful data is in that in Ansible, it gives me back the Do I have any options beyond using some |
Send specific signals to systemd for service shutdown Posted: 16 May 2022 03:39 PM PDT I have a remote server and connect via a browser to Jupyter notebooks hosted there. The jupyter service is run via My current service file is: |
How to fix FTP permission issue? Posted: 16 May 2022 03:04 PM PDT Have set up an FTP server and user. but it seems I'm unable to upload or edit any file. Even though the user has filled 777 permission. I can't even upload files to the user's root folder. Server OS: Ubuntu Client OS windows FTP server/ Client: fileZila Log: File permission: Groups and users: vsftpd.conf: vsftpd.allowed_users: Any idea what's going on here? Update: I have changed the permission of the folder that holds the file to 777, and it still doesn't work. log: |
The service is actually an init script but the system is managed by systemd warning Posted: 16 May 2022 06:00 PM PDT After execute manually Ansible script: Ansible log: service files: .Service file: systemctl status: |
How to zoom/magnify on linux without compiz (bspwm) Posted: 16 May 2022 02:02 PM PDT I'd like to have the functionality described in this video. Basically, use super+scrollup/down or pinch in/out on my touchpad to zoom in a certain area of the screen like on a phone or tablet. Sadly I need compiz to get the described effect. How can I zoom in without using compiz? I'm using Arch Linux with bspwm + compton. What I've tried:
There's are open issues in compton's repositories:
|
How to find gnome-terminal currently used profile with cmd line? Posted: 16 May 2022 07:03 PM PDT I'm using Ubuntu 16.04 and I want to be able to tell which profile is used by a given terminal emulator. Just the name would be enough. It's trivial to find with GUI : just right click in the terminal window, and the profile in use will be indicated under "Profiles". You can also go Edit -> Profile Preferences -> Profile Name. I would like to access that information with command line, but can't find how. |
How to sync bookmarks (favourites) between Google Chrome and Chromium Posted: 16 May 2022 05:03 PM PDT I'm new to the world of Raspberry 2 and Linux and I have install Chromium on the Raspberry. I did this because I thought it would be a good way to access my Google Chrome Bookmarks (Favourites). However, I'm having problems. When I log into Chromium in order to sync, I get the message:
I've tried a few hours later, next day, etc. I suspect the sync server being busy is not the problem. Can anyone tell me how to fix this problem and help me sync my bookmarks? The version of Chromium is:22.0.1229.94. I vaguely understand it's possible to get a later version. I'm new to Linux and would have to be told the explicit steps to do so. The Linux I'm running came with the Raspberry 2 and is some flavor of Debian (I'd report the version number if I knew where to look!). Finally, I'm not wedded to Chromium. I just want a browser where I can see my Chrome bookmarks and (ideally) have them synced every time I add a bookmark to Chrome or the browser on Raspberry. |
"Error uncleared PCH FIFO underrun on transcoder A" during boot centos 7 on toshiba Posted: 16 May 2022 04:01 PM PDT I have toshiba Satelite model (C50 1001C model number) laptop. When I start it is giving In this laptop, I have an important installation and source code, I just searched but I did not get any correct solution. |
Precedence of the shell logical operators &&, || Posted: 16 May 2022 04:20 PM PDT I am trying to understand how the logical operator precedence works in bash. For example, I would have expected, that the following command does not echo anything. However, contrary to my expectation, Can somebody please explain, how can I make sense of compounded |
Can I select only one result from a bash glob? Posted: 16 May 2022 02:13 PM PDT I'm trying to write a script for work to automate some reporting on an output. The Log files are (currently, it's being 'standardise' in the future) stored in this sort of path structure:
Every part of the path is known except the time date stamps, which are always the latest in the folder. If I try to use a wild card in place of the time date stamp, I get multiple results, e.g.: I only want it to return the latest one, is this possible with Bash? NB (I don't have zsh, and as lovely as it sounds I doubt we'll ever get it at work) |
Determine what program is in my MBR code Posted: 16 May 2022 01:54 PM PDT I've done a lot of partitioning / dual booting on my Macbook Pro. Right now I have Mac OS X installed along with Ubuntu 12.04, with Grub installed on the Ubuntu partition. I am wondering - what is the code in my MBR (the first 446 bytes)? Because Macs use EFI and GUID partitioning, the MBR is only a protective/hybrid MBR (in my case, it is a hybrid MBR). Q: How can I identify what program is in my MBR (based on its hexdump)? Is there some sort of a signature? I'm guessing it's grub but I did a hexdump of it and it didn't match the code I found in this article detailing the Grub MBR ("Stage 1") code. EDIT: I am runnning rEFInd, an EFI bootmanager program. It is an EFI application, and thus resides on my EFI system partition. This program is what runs immediately following bootup, but I do not think it places any code in the 446 bytes of the MBR. EDIT2: I should add that I have had Windows installed for dual-boot as well. |
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 |
No comments:
Post a Comment