Recent Questions - Unix & Linux Stack Exchange |
- Failed to import EVE-NG.vmdk into vmware workstation
- Take snapshot of top
- libvirt user access stopped working
- Safest way to run a non-interactive script requiring sudo
- Delete /tmp subvolume on btrfs partition scheme and make systemd-tmpfiles work with default tmpfs /tmp directory
- Does a file system snapshot includes deleted files
- pyarmor not working in kali
- Resize sidebar in document viewer (PDF file)
- Can I have multiple routes to the same remote LAN?
- Virtually justifying text in Vim/neovim?
- reading XML file and extract only node names and structure
- vim to start edit right below the cursor
- Multiply numbers between two different patterns and print the whole file
- Does Rsync use internet data to transfer files remotely?
- Solarized dark pdfs?
- Keep matching pattern in shell parameter expansion
- How to use git credentials in systemd service
- How to solve failure in plugging external DVD driver in Ubuntu 20.04?
- Add new user without password but not disabled
- Manjaro MySQL - mariadb.service fails when trying to start
- relocation error using sudo apt
- How do I check cgroup v2 is installed on my machine?
- Create backup image of running Ubuntu?
- Apache httpd does not load index.html when a web app is installed
- Why isn't my systemd service waiting for the network?
- Interactive commands with pipe and grep
- Running sh script: «Permission denied» despite the executable bit and root rights
- Is there a utility that interprets /proc/interrupts data over time?
| Failed to import EVE-NG.vmdk into vmware workstation Posted: 08 Jul 2021 09:22 AM PDT Aftter import this file ,appeared some waring signs
What is the failed policies and how should I fix it? |
| Posted: 08 Jul 2021 09:25 AM PDT I am trying to take a snapshot of top so that I can save it to a file. For example |
| libvirt user access stopped working Posted: 08 Jul 2021 09:00 AM PDT I'm using Our admins' user accounts are given the I have checked the SELinux is enabled, but no entries in audit log and |
| Safest way to run a non-interactive script requiring sudo Posted: 08 Jul 2021 09:02 AM PDT I want to run a command that requires In my case, I want to start a virtual machine with I'm also picturing that the unprivileged user only needs to be able to run a single script that I define, not an arbitrary command. In other words, the user simply needs to be able to trigger the script to run - they do not supply any arguments, and even if they found a way to do so the arguments would be ignored. Also in my case the server is only used by me, and is behind a firewall. It has internet connectivity (In that it can download things), but cannot be accessed from the internet. I either have to be on my LAN or connected via VPN to reach it, and I only expect to use this script while specifically at home. Still - I'm concerned about learning "good practice" here. The server itself is running Debian Testing. My concern is allowing passwordless sudo seems risky. Is there a better way to do this where a theoretically unprivileged account can trigger a privileged script or command to run? Should I just use a script running as |
| Posted: 08 Jul 2021 08:28 AM PDT I've made the mistake of mounting the Thanks in advance. |
| Does a file system snapshot includes deleted files Posted: 08 Jul 2021 08:27 AM PDT Let's say I create backups by file system snapshot once per day at midnight. Of course, after the snapshot is created, it will be archived to a separate drive. If you create a lot of temporary files and delete them afterwards do these files increase the size of the daily snapshot? Or is the snapshot only the delta between yesterday 00:00 and today 00:00? |
| Posted: 08 Jul 2021 08:22 AM PDT I am trying to compile a script with pyarmor but I keep getting the error I installed it using and trying to run the webui gives the same error tried this but was not useful Got this |
| Resize sidebar in document viewer (PDF file) Posted: 08 Jul 2021 08:03 AM PDT |
| Can I have multiple routes to the same remote LAN? Posted: 08 Jul 2021 07:35 AM PDT I am trying to connect two pfsense boxes with multiple For example, I am connecting What will happen if I add equivalent route via |
| Virtually justifying text in Vim/neovim? Posted: 08 Jul 2021 07:35 AM PDT Is there a plugin or script to "virtually" justify text in Vim / Neovim? I mean, show the text on the screen as it if were justified but it is not justified on the actual file. CONTEXTHere is some context of what I was looking for: I came accross this macro (see the "justify text" section) for justifying text https://neovim.io/doc/user/usr_25.html. (If you are using Suppose we have the following text: By pressing By pressing The alignment above is even better than vim's |
| reading XML file and extract only node names and structure Posted: 08 Jul 2021 08:55 AM PDT I need to audit XML file structures and need to generate a report that shows only the DOM tree structure and omit the values. Essentially, I just the node names only and no values. I tried using xmllint and xmlstarlet but can't figure out how to do this. Does anyone know of any tools or examples of above tools that do this?
|
| vim to start edit right below the cursor Posted: 08 Jul 2021 07:03 AM PDT In the current behaviour of vim, at least on Ubuntu, it will clean the screen and make new edit window. I would like to just start right below the cursor, for example:
Is it possible to achieve this with vim? If not then which terminal editor can do it? |
| Multiply numbers between two different patterns and print the whole file Posted: 08 Jul 2021 07:59 AM PDT I would like to replace number between patterns with multiplicated numbers and print the all the lines. The file is a tree file in newick format and consisted only a single line. My targets are all the numbers after file: The easiest way to me seemed to be splitting the file by replacing all the ":" symbols with a new line first. So all my target numbers are now in separate lines and appear after script: How can I multiply the numbers after Update: Expected output |
| Does Rsync use internet data to transfer files remotely? Posted: 08 Jul 2021 08:22 AM PDT I have learned to use I use this command to push: And I use this command to pull: And I noticed that the transfer rate of files are more than 16000Kbps, which is way faster than my internet connection (which is slower than 250Kbps). So, here's my question: doesn't
|
| Posted: 08 Jul 2021 07:04 AM PDT I'd like to know if there is a pdf reader with the option to select a colour scheme? Particularly solarized dark. |
| Keep matching pattern in shell parameter expansion Posted: 08 Jul 2021 10:09 AM PDT I can remove a pattern in a bash variable using But I can't find a bash-only way to keep the pattern and throw the rest. I know there are solutions using PS: This isn't just an idle question. The initial problem is that I want to process files where the name contains a pattern (technically, Edit: discussion of the brackets problem: |
| How to use git credentials in systemd service Posted: 08 Jul 2021 07:58 AM PDT I'm using Github as the remote repository of my project and to save my time, I've executed the command So I can execute Now I'm trying to create a service file However, when I execute Well, it doesn't seem that the file Is there any method to solve this problem? |
| How to solve failure in plugging external DVD driver in Ubuntu 20.04? Posted: 08 Jul 2021 10:06 AM PDT I have bought an external DVD driver but, after plugging (or booting with the unit already plugged) I see the unit listed in the resources of the computer but I cannot access it: If I try to access the driver via VLC, I get the error The content of fstab is: What is the right way to plug a DVD in Ubuntu 20.04? Is it a problem with the driver (I need to buy another brand more Linux-prone)? Or do I need to change the permission of the driver with some After I plug the DVD driver I get: Thank you |
| Add new user without password but not disabled Posted: 08 Jul 2021 09:11 AM PDT I need to add new users who are only supposed to be usable through SSH. When adding a user, they get added to the shadow file with an exclamation mark ( Is there a way to add a user without a password that is enabled by default? I have tried using busybox' adduser command and it adds them with a |
| Manjaro MySQL - mariadb.service fails when trying to start Posted: 08 Jul 2021 09:07 AM PDT When trying to start MariaDB with Through following so many various tutorials, I think I've also made it worse. I can't run I've tried removing, reinstalling mariadb and rebooting my computer in between; but I'm out of luck. Any ideas? EDIT: A lot of other people seem to be having this problem, and while it's been >1 year and I don't recall what I did next, I do know that following the Arch Wiki page LINE BY LINE will guarantee a proper install. The formatting of the page made me read over things (important things were small, optional things were bold), but make sure you do that right and your installation should work. |
| relocation error using sudo apt Posted: 08 Jul 2021 09:18 AM PDT my system arch is amd64, i installed i386 as foreign arch and ran even when i use aptitude: any solution? |
| How do I check cgroup v2 is installed on my machine? Posted: 08 Jul 2021 08:46 AM PDT I want to try cgroup v2 but am not sure if it is installed on my linux machine Since cgroup v2 is available in 4.12.0-rc5, I assume it should be available in the kernel version I am using. https://www.infradead.org/~mchehab/kernel_docs/unsorted/cgroup-v2.html However, it does not seem like my system has cgroup v2 as the memory interface files mentioned in its documentation are not available on my system. https://www.kernel.org/doc/Documentation/cgroup-v2.txt It seems like I still have cgroup v1. Follow-up questions Thanks Brian for the help. Please let me know if I should be creating a new question but I think it might be helpful to other if I just ask my questions here. 1) I am unable to add cgroup controllers, following the command in the doc However, I got "echo: write error: Invalid argument". Am I missing a prerequisite to this step? 2) I ran a docker container but the docker daemon log complained about not able to find "/sys/fs/cgroup/cpuset/docker/cpuset.cpus". It seems like docker is still expecting cgroupv1. What is the best way to enable cgroupv2 support on my docker daemon? |
| Create backup image of running Ubuntu? Posted: 08 Jul 2021 07:01 AM PDT On Windows there is software like Acronis True Image that can create full backup images of a currently running system. Is there any alternative on Ubuntu for doing that? Requirements:
Thanks for any hint on this! |
| Apache httpd does not load index.html when a web app is installed Posted: 08 Jul 2021 10:04 AM PDT In a CentOS 7 installation I installed OrangeScrum (which is a standard PHP application copied to Moving on to a server with Scientific Linux 7 I did the same, but when I install the app to the Apache and typing the server ip alone I get the app itself not the Apache status nor the What am I missing to do in order to get the root index or the Apache test pages to work? |
| Why isn't my systemd service waiting for the network? Posted: 08 Jul 2021 06:51 AM PDT Per this question and its answers, I've added the following to my service file: I've also run: And yet my Am I missing something obvious? Is there another service I need to wait for in order to use |
| Interactive commands with pipe and grep Posted: 08 Jul 2021 08:03 AM PDT As you know, there are commands such as In this example I'm looking for a MAC address, when this MAC turn up, it'll appear on screeen so that I can grep it. the problem is that it doesn't work. I've searched a lot but I've found the answer in vain. |
| Running sh script: «Permission denied» despite the executable bit and root rights Posted: 08 Jul 2021 07:59 AM PDT I installed Debian in VirtualBox (for various experiments which usually broke my system) and tried to launch the VirtualBox guest addon script. I logged in as root and tried to launch Sorry, that I can't copy the output -- VirtualBox absolutely have no use without the addon, as neither a shared directory, nor a shared clipboard works. But just for you to be sure, I copied the rights by hands: At first I thought that it may be that the script executes something that gave the error. I tried to replace I have not even an idea what could cause it. |
| Is there a utility that interprets /proc/interrupts data over time? Posted: 08 Jul 2021 07:29 AM PDT Is there something out there? Like top is for ps |
| 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