Recent Questions - Unix & Linux Stack Exchange |
- Why does apt say "selecting previously unselected package"?
- NFS4_Setfacl VS. Setfacl?
- Storage Test not working
- Maintenance script for "reverse login/typing"?
- Apache PAM Credential Caching
- How to activate a PHP extension (php-memcached from AWS)?
- Partitions /dev/loopXX
- Sync shared folder in RCLONE
- Creating Kernel Module
- dnsmasq doesn't handle default DNS for unqualified names as expected
- creating a nested json file from variables using jq
- Map drawing tablet to one monitor or program in KDE Plasma Wayland
- How can i only include the whole number and two decimal points in my output
- skypeforlinux won't work anymore on Debian
- switch_root: failed to execute /sbin/init: Too many levels of symbolic links
- Bash negation of -a (file exists) does not change result, whereas for -e ! changes result
- Why bash aliases commands are not working?
- pkill in server ubuntu [closed]
- tar list full filename without directory
- Running python script many times in a bash file
- How can I use sem to run a shell command in parallel in a for loop?
- How to rename multiple files by changing one component of the file name?
- Changing keyboard language layout in linux mint doesn't work for second time
- Unlock Gnome Keyring Daemon from command line
- How to reinstall the packages that has been removed in the last remove command in arch linux?
- ping to IP address works but ping to domain name not working
- Find all .php files inside directories with writable permissions
- Resume failed download using Linux command line tool
- Tails OS - Modifying boot options
- Disabling MMC in uboot
Why does apt say "selecting previously unselected package"? Posted: 08 Nov 2021 11:35 AM PST One of the most recognizable phrases of GNU/Linux is: It appears in the output of Why? What is the benefit of mentioning that this package was previously unselected? Wouldn't "Selecting pkg." be sufficient? What does "previously unselected" even mean? |
Posted: 08 Nov 2021 11:21 AM PST So I have a hopefully easy question for all of the smart individuals out there regarding the commands mentioned in the title of this post. It's my understanding that when you use "setfacl" it's only directly on your NFS server and NFS_SETFACL you run on the clients only? Is that a correct statement? If that is a correct statement, what about when your NFS server is an actual NAS filer like NetApp or Dell? Since at that point on Linux machines are clients, do you only run NFS4_setfacl? What is the difference between the 2 commands and more importantly how or when do you decide to use which of the 2? Hope that made sense. Thanks in advance! |
Posted: 08 Nov 2021 11:20 AM PST My Crosh tab is saying that the storage_test_1 command is no longer supported, and I was just asking if this is a problem others had as well. |
Maintenance script for "reverse login/typing"? Posted: 08 Nov 2021 10:34 AM PST Moin, in order to be able to help friends with problems on the RaspPi, I wrote a script that the friends start on their Rasp Pi using ssh to establish a reverse tunnel to my server. I can then log in with the default data pi:raspberry and search for errors. I am now looking for a "reverse login" option for Linux computers without default users. Could I somehow redirect my keyboard entries to the xterm in which such a "universal" script was started? Or are there any other ideas? Thanks |
Posted: 08 Nov 2021 10:19 AM PST I use FreeIPA Authentication on Apache via PAM. I am trying to enable credential caching for PAM, however socache does not cache PAM Credentials. I have tested socache using local accounts in htpasswd and those creds do get cached. Every time there is a request on the served webpage, apache connects to FreeIPA to seek authentication. Config: Log File when using FreeIPA Account: Can anyone assist in configuring a credential cache for Apache PAM Authentication so that a new request is not sent to FreeIPA every time? Thank you |
How to activate a PHP extension (php-memcached from AWS)? Posted: 08 Nov 2021 10:09 AM PST I want to install in Ubuntu 20.04 with PHP 7.4 the AWS ElastiCache Memcached Cluster Client to cache a WordPress website using the W3 Total Cache plugin. For this, I followed the AWS docs, but for ubuntu I only have "To install PHP 5 on a Ubuntu server 14.04 LTS AMI (64-bit and 32-bit)". I have PHP 7.4 and Ubuntu 20.04. I use this docs as a reference, and did: I've downloaded the correct After this config, the W3 Total Cache plugin doesn't recognize Memcached. I gave up on this specific AWS config and went with The W3 Total Cache plugin recognizes Memcached but says Amazon Node Auto Discovery is unavailable because it doesn't find the ElastiCache PHP module. I went to However, running What are my next steps? |
Posted: 08 Nov 2021 10:32 AM PST |
Posted: 08 Nov 2021 10:04 AM PST I am trying to share a folder in The command I used to sync: |
Posted: 08 Nov 2021 10:16 AM PST I am currently reading a book on Linux Kernel Module Programming - [https://tldp.org/LDP/lkmpg/2.4/lkmpg.pdf][1] and I am running into a compilation error when running make. The errors that i receive are command options defined in the Makefile. What am I not understanding? |
dnsmasq doesn't handle default DNS for unqualified names as expected Posted: 08 Nov 2021 10:01 AM PST I'm trying to setup DoH for all hostnames except some local domains that should be resolved by DNS provided by DHCP. It works with fully-qualified names as expected, that is, local names are sent to DHCP assigned server and everything else is sent to my DoH client Here is my configuration Note that Here is a part of After So, DoH works as expected. After So, forwarding to local DNS also works. After Since it sends it to How can I fix this? ps. Debian 11, Dnsmasq version 2.85 |
creating a nested json file from variables using jq Posted: 08 Nov 2021 10:54 AM PST I have a script where I am storing variables and using that I am trying to create a json output to a file. here is my json build format desired json o/p (output.json) - here I am not getting the desired output. any help would be great |
Map drawing tablet to one monitor or program in KDE Plasma Wayland Posted: 08 Nov 2021 08:50 AM PST I have a hardware setup with two monitors and a USB drawing tablet that I find useful for taking notes during meetings. My ideal is to have videoconferencing software maximized on one monitor and Xournal++ open on the other. By default, the left half of the tablet corresponds to the notes monitor and the right half corresponds to the meeting monitor. To make writing easier, I remap it so that tablet's entire area is bound to the notes monitor. With Xorg, this is done with
I want to accomplish the same thing in an Wayland-based KDE Plasma install without using xinput. I found this solution for input mapping in Wayland, but it looks like it's specific to the Sway compositor. How can I achieve the same thing with one of KDE's supported compositors, preferably the default? |
How can i only include the whole number and two decimal points in my output Posted: 08 Nov 2021 09:31 AM PST Code is functioning correctly although I need it to be reduced to only two decimal points for example 38374.96 not 38374.967777777 |
skypeforlinux won't work anymore on Debian Posted: 08 Nov 2021 08:47 AM PST It happens again :( After a reboot, skypeforlinux does not work any more on my bookworm (testing) Debian installation. It starts, goes through authentication, then stops there with a blank window. Calling it on the command line shows no messages or errors. I tried with the latest 8.79.76.22 version and with the oldest 8.74.0.152 version on the repo, no change. Any ideas? |
switch_root: failed to execute /sbin/init: Too many levels of symbolic links Posted: 08 Nov 2021 10:42 AM PST So, recently I was doing the Linux from scratch project and I had multiple terminals open, so I was continuing to make it, and by accident I typed the line in another terminal tab (root), and it messes up symlinks completely!, I can't run any commands on bash. I'm on arch linux, when I restarted the computer, also the kernel panic happened and it says: "switch_root: failed to execute /sbin/init: Too many levels of symbolic links." Any solutions? I hope if someone helps. |
Bash negation of -a (file exists) does not change result, whereas for -e ! changes result Posted: 08 Nov 2021 10:24 AM PST I'm perplexed but still guess I misunderstood bash somehow. Why negation
|
Why bash aliases commands are not working? Posted: 08 Nov 2021 11:31 AM PST I am facing a problem with bash alias in Kali linux. Let me tell from the beginning. I want to set some command to save time from writing it again and again. So, I used and set a command line then I press Ctrl+V and hit y then hit enter. I closed the terminal and open it. When I put Then I searched for solution and find one telling to do this. In the .bashrc file this is written without any '#' Then I get into And write this and save... and close the terminal. In new terminal that same error happens. No command found. I have also do these in order to solve this problem:
But I found the problem again and again. Here is a screen shot if I forgot to add any details. Thanks in advance. |
pkill in server ubuntu [closed] Posted: 08 Nov 2021 11:37 AM PST I used the command What is the solution? |
tar list full filename without directory Posted: 08 Nov 2021 08:49 AM PST I have a When i run How can i exclude directory names so that the outputted list is: |
Running python script many times in a bash file Posted: 08 Nov 2021 09:37 AM PST I want to run a python script many times with various arguments. To do that, I've written the following bash script: I added I know normally we use a How do I make each iteration of the loop run sequentially? |
How can I use sem to run a shell command in parallel in a for loop? Posted: 08 Nov 2021 09:24 AM PST This isn't speeding anything up for me: I'm trying to run the for loop body in parallel with |
How to rename multiple files by changing one component of the file name? Posted: 08 Nov 2021 10:56 AM PST I found lots of questions about how to rename multiple files using the command line. However I am not able to solve my specific issue which is renaming this file name: into this: What I need is to split the What I did is the following but it does not work as I am expecting I think it is a problem with the regexp, but I can't figure out a better one: Also, I don't know how exactly the thing I wrote is working, since I found something similar in a comment to one of the similar-to-this-questions but I can't find it anymore. |
Changing keyboard language layout in linux mint doesn't work for second time Posted: 08 Nov 2021 09:29 AM PST I have added second keyboard language layout (Persian) in Linux Mint 20.2 Cinnamon and in keyboard setting I've set it to use shortcut win+space to change the layout. It works fine when the selected layout is the primary (US English) and the shortcut changes the layout to secondary layout (Persian) but when I want to change from (Persian) to (English) it doesn't work and I have to use mouse and change it from the panel icon. I've changed the shortcut to alt+shift but the problem still remains. |
Unlock Gnome Keyring Daemon from command line Posted: 08 Nov 2021 11:37 AM PST I am trying to unlock the Gnome Keyring Daemon from the command line, by directly passing it a password. I tried a few variations of --daemonize, --login, --start, but I can't get it to work.
Basically I want something along the lines of:
Not sure if it makes any difference, but I'm on Manjaro i3wm version, so not using a desktop environment. Background: I'm using KeePassXC to manage my keyring. The one downside to this is, that I can't automatically unlock the keyring on login. Since I don't want to enter two long passwords I came up with the following script as a workaround:
Now I want to do the opposite to lock KeePassXC again:
|
How to reinstall the packages that has been removed in the last remove command in arch linux? Posted: 08 Nov 2021 11:04 AM PST So recently I have installed Manjato linux with i3wm. It came with urxvt and urxvt-perls pre installed so I've switched to st terminal emulator and decided to remove urxvt-perls, and urxvt-perls. So I ran pacman -Rcns urxvt-perls And even before seeing what is being removed I confirmed the removal. At it removed crucial packages such as dunst, nitrogen and lot of other packages required by i3. So i3 crashed. So im looking for a way to get things working again. What would be a clean way to fix this situation? |
ping to IP address works but ping to domain name not working Posted: 08 Nov 2021 10:02 AM PST EDIT: I have 2 machine setup, Machine A only has internet connection, Machine B ens192 interface connects directly with Machine A interface ens192. So configured iptables in MachineA to make sure Machine B also has the connectivity. ping to ip address works but domain name fails. Below provided each machine network config details. Machine A: Network config: I have configured iptables NAT to allow packet comes from private network interface(ens192) to reach other interface(ens224) for intenet connectivity. Below is the config used. Machine B: After configuring NAT rules in Machine A, Now able to ping 8.8.8.8 or any IP address from machine B, but unable to resolve any hostname. Network config: ip route: resolv.conf How to resolve this issue? |
Find all .php files inside directories with writable permissions Posted: 08 Nov 2021 09:04 AM PST I'm looking for a linux command to scan through all writable directories on the server and show ones with .php and .html files inside them. Something like: 10x! |
Resume failed download using Linux command line tool Posted: 08 Nov 2021 09:37 AM PST How do I resume a partially downloaded file using a Linux commandline tool? I downloaded a large file partially, i.e. 400 MB out of 900 MB due to power interruption, but when I start downloading again it resumes from scratch. How do I start from 400 MB itself? |
Tails OS - Modifying boot options Posted: 08 Nov 2021 11:37 AM PST When Tails OS boots, you can press tab to modify the startup options. Is there any way I can save an iso with these options already set? It's a real pain to have to press tab and set them up every time. Surely there must be a better way? |
Posted: 08 Nov 2021 09:05 AM PST Following is the log message related to u-boot on Xilinx zynq platform: My aim is to reduce boot time. The OS and the u-boot is supposed to boot from flash. But as you can on the top MMC is being detected: It takes 0.17 seconds. Is there anyway I can save this time may be by disabling MMC from u-boot?If so how do we disable MMC in u-boot. What is the general procedure? |
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