Recent Questions - Unix & Linux Stack Exchange |
- `ucview killed by SIGSEGV`; Fedora 35 [5.17.5-200.fc35.x86_64], using a CZUR Shine book scanner
- tar czvf Ignore or skip error in order for the command to keep running
- How do I make this parallel bash script more efficient?
- Why lsblk command not showing /boot partition?
- Configure systemd timer to run every hour after first run
- Typo3 - Folder "/" does not exist - Error
- ifconfig/ip link show- how to get only Hardware interface
- How is it possible that getcwd() takes sometimes half a second, according to strace?
- Swap F1 and Ctrl+F1 keys in X Window
- Wifi connected but no internet access
- Alsa sequencer issue - no file /dev/snd/seq
- Deleting /etc/machine-id in ubuntu-minimal-cloudimg for proxmox template
- When are host keys for the server generated
- AWK write to a renamed file
- Fedora Offline-Upgrade shutdown instead of reboot from CLI
- Get the last word on each line
- After installing Eclipse and I get a "Please ensure that WebKit with its GTK 3.x bindings is installed" error when running it
- Where do I find the path of the current desktop background in Cinnamon?
- Can Linux corrupt the data on an NTFS partition?
- Is there a way to determine if a remote script has been run from a local shell or remote shell?
- How to clear DNS cache on Fedora on any other Linux distro
- Find all empty directories AND directories with a single (specific) file
- Simultaneous wlan0 & wlan1 access points (via hostapd)
- How to set PATH when running a ssh command?
- printing multiple separate pictures on one physical paper page with terminal
- How to "grep" for line length in a given range?
- Where does Cinnamon store its Desktop Art settings?
- Grub 2 os prober for windows 8
- Why is my ssh connection unauthorized although I have updated my key on the remote machine?
`ucview killed by SIGSEGV`; Fedora 35 [5.17.5-200.fc35.x86_64], using a CZUR Shine book scanner Posted: 27 May 2022 12:02 PM PDT
|
tar czvf Ignore or skip error in order for the command to keep running Posted: 27 May 2022 11:41 AM PDT I'm trying to create a zip file from the %username% folder running the command: ">tar -czvf name-of-archive.tar.gz C:\Users%username%" At some time the command stops working because some files inside %username% have special permissions so I don't have access to compress them. And I was wondering if is there any way to ignore those errors so the command can keep running. I read I could use "--exclude" but I don't think it will be appropiate in this case since there will be more than 10,000 files to ignore in the AppData folder I'd appreciate any help, thanks! |
How do I make this parallel bash script more efficient? Posted: 27 May 2022 11:12 AM PDT I have a simple script involving afni command line tools that I am running in parallel from bash, but it is very disk I/O intensive and slows things down on our server (using only 2-3 out of the total 96 cores) despite only running a few jobs at a time. The most jobs I am able to run at a time without slowing things down and increasing iowait is 2. I feel like it may have something to do with the fact that it is writing so many files, but I haven't found a solution. |
Why lsblk command not showing /boot partition? Posted: 27 May 2022 10:48 AM PDT I tried to find boot partition on my system and executed lsblk command But when I did df -h /boot, this is showing What does this means and how to confirm and the system has boot partition? |
Configure systemd timer to run every hour after first run Posted: 27 May 2022 12:07 PM PDT I have a service that runs every hour (using OnCalendar=hourly). This works great if the system is on 24/7, but gets messed up after coming out of suspend/hibernation. The service will run immediately - which is what I want - but then it runs again at the top of each hour, regardless of how much time has elapsed since the last run. Is there a way to configure timers to run in 1-hour intervals? |
Typo3 - Folder "/" does not exist - Error Posted: 27 May 2022 10:01 AM PDT When I am in the backend in the filelist Module or want to link something, I get the error message: "#1314516810: Folder "/" does not exist." (see screenshot). The folder exists of course, and everything worked until recently, the error suddenly appeared from one day to the next. I checked the fileadmin settings too and everything seems fine (see screenshot). I have already googled the error and searched several forums, but I cannot find a solution to my problem. Does anyone have an idea what the problem is and how I can fix it? Thank you very much in advance. Typo3-Version 8.7.32 Regards |
ifconfig/ip link show- how to get only Hardware interface Posted: 27 May 2022 10:51 AM PDT How do you get only hardware interfaces Tried: How do you get only local hardware interfaces using ifconfig/ip link show? Like from my ifconfig I get(removed a lot): Update: I guess it is interfaces from previous Software Interface connections.Then I investigated on the interface utun with lsof: Ok something called Turns out it is my Sonos speakers on the local Wifi network. Why is ipconfig/if link show showing other Interfaces? Thanks |
How is it possible that getcwd() takes sometimes half a second, according to strace? Posted: 27 May 2022 09:49 AM PDT As far as I understand it does not even touches the filesystem. So what can be a cause for this, using I am using Linux 4.9.30. The system has some strange lags, i want to identify it. Cpu, iowait, load, memory, all seems to be normal It is a kvm virtual machine, maybe that changes something. |
Swap F1 and Ctrl+F1 keys in X Window Posted: 27 May 2022 08:53 AM PDT I'm used to using F1 for quake-like terminal. But sometimes I would like to use this key in some different applications for its usual purpose. I think the easiest way can be to swap F1 and Ctrl+F1 keys in X Window, then bind Ctrl+F1 for terminal (it would be the real F1) and use Ctrl+F1 when I need F1 in some applications. Is it possible? I tried (Kubuntu 22.04 KDE) to play with xmodmap, something like |
Wifi connected but no internet access Posted: 27 May 2022 09:12 AM PDT I freshly installed kali linux just out of curiosity but I don't have internet access. My wifi is connected. What should I do, please help. Stuck on it for days. Can't access internet through ethernet, so solution should be offline, if there is need of installing some package, please provide link to its installer. I know, it's boring question for you. But for me, it's not. So please someone help me |
Alsa sequencer issue - no file /dev/snd/seq Posted: 27 May 2022 09:33 AM PDT I seem to be having issues with my Alsa sequencer. I am using Parabola (Arch variant) and I don't use Pulseaudio, I use Alsa directly. I am trying to play a game via Wine that has MIDI audio. I have fluidsynth installed and it works - I can play a midi file and it sounds fine. However, if I start the fluidsynth server and run I have no Edit: To answer the question in the comments, here is the output of So it appears the Alsa sequencer was compiled as a module and I probably just need to load that module. |
Deleting /etc/machine-id in ubuntu-minimal-cloudimg for proxmox template Posted: 27 May 2022 09:08 AM PDT I am trying to make a template for my Ubuntu VMs mostly by following Techno Tim's instructions here. I differ from Tim by wanting to also install qemu-guest-agent so I can get the IP of the vm without having to do it manually. I do this before importing the .img by using the command I can get around this by instead of deleting with virt-customize, I can put in a firstboot script through virt-customize that deletes and regenerates a machine-id with a reboot to make it take effect, but this seems like a less than ideal way to do this. Is there a better way? |
When are host keys for the server generated Posted: 27 May 2022 09:25 AM PDT I am writing a hardening script to be run by kickstart during the post-installation phase. One of the requirements is to change the permissions on /etc/ssh/ssh_host*key files. My problem is that those keys are not generated when the script is run. I have two questions:
|
Posted: 27 May 2022 08:54 AM PDT A file To organize data into fruit catagories, I've done which creates 3 files, I want the spaces in the names of these files to be replaced with underscores So, the files names should be Need help in this Looking for an |
Fedora Offline-Upgrade shutdown instead of reboot from CLI Posted: 27 May 2022 09:53 AM PDT Before turning off my Laptop (which runs Fedora 36) I like to run Is there a way (maybe using systemd) to shutdown into the upgrade process via Command Line? |
Get the last word on each line Posted: 27 May 2022 11:06 AM PDT I have a large text file generated from strace which contains in brief Excluding the first header line, I would like to get from each line the last field, the on showing the syscall. Those would include:
This is what I tried How do I implement this? |
Posted: 27 May 2022 09:40 AM PDT On RHEL 8 I just installed Eclipse 2021-09 from the standalone install archive When running it, the application opens up with the default window, but then shows an error dialog with the following message:
I guess some libraries are missing. For another X11 application I had already run What do I have install to get Eclipse running? |
Where do I find the path of the current desktop background in Cinnamon? Posted: 27 May 2022 10:35 AM PDT I'm using Cinnamon on Devuan Chimaera. I'm trying to migrate an earlier user home directory (from Devuan Beowulf). Specifically, I'm trying to use the same background image. But I can't figure out where the chosen background image, or the link/path to it, is stored! I couldn't find anything relevant under Note: Related question which doesn't seem to answer my question: Where does Cinnamon store its Desktop Art settings? |
Can Linux corrupt the data on an NTFS partition? Posted: 27 May 2022 09:43 AM PDT I have read contradictory statements about NTFS support in Linux, for example here they say that NTFS is stable in Linux, while here they say that your NTFS data may get corrupted in Linux. So can Linux corrupt the data on an NTFS partition (I am using Ubuntu, but my question is about Linux in general)? |
Is there a way to determine if a remote script has been run from a local shell or remote shell? Posted: 27 May 2022 11:25 AM PDT I have a remote script that I execute locally with I don't want this script to run if it's executed directly from a remote shell, but only when executed locally via SSH. I considered passing the script a value like Many thanks, Steve. |
How to clear DNS cache on Fedora on any other Linux distro Posted: 27 May 2022 10:03 AM PDT I've just changed the hosting for my Domain the name got propagated (24 hours passed) I have new page (without SSL because I didn't added it yet on new hosting) on my android phone. But when I open the page in Chromium or Fedora I see old redirect to https. How can I flush/clear my local DNS so I'll see new page and can do something with new site. For both my phone and my laptop I use same WiFi so it's not cache in router. In this question How to flush the DNS cache in Debian? first answer don't work and second is for server that have Bind, I don't have bind, it's not a server. My |
Find all empty directories AND directories with a single (specific) file Posted: 27 May 2022 11:54 AM PDT I'm trying to write a shell script that deletes all empty directories as well as any directory that contains only the but I can't figure how to find directories that contain only Is there an easy way of doing this without writing my own recursive search function? |
Simultaneous wlan0 & wlan1 access points (via hostapd) Posted: 27 May 2022 11:00 AM PDT I am trying to set up 2 wireless access points from linux device (Debian Jessy). Both AP's should work simultaneously & share Internet connection (as shown below). My initial config (hostapd & dnsmasq) for single wlan0 (AccessPoint 2.5G) /etc/hostapd.conf /etc/dnsmasq.conf In order to initialize AP1 I use following bash-script start.sh This config works fine for single AP ( But I need to run wlan0 AP & wlan1 AP simultaneously. I think I need to modify Anyone please help with simultaneous configuration (wlan0 AP & wlan1 AP). |
How to set PATH when running a ssh command? Posted: 27 May 2022 11:10 AM PDT Assuming user has Edit. This question is trivial for Bash, because (as people pointed out)
|
printing multiple separate pictures on one physical paper page with terminal Posted: 27 May 2022 11:08 AM PDT I have multiple .png files (for example: I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread. I've tried to do this like this: but it was printing only 1 picture per 1 page. The same result with the for-loop: but also this creates separate jobs per pair of pictures. |
How to "grep" for line length in a given range? Posted: 27 May 2022 09:33 AM PDT NOTE: This question is the complement of this Q&A: How to "grep" for line length *not* in a given range? I need to get only the lines from a textfile (a wordlist, separated with newline) that has a length range of minimum or equal than 3 characters, but not longer or equal than 10. Example: INPUT: OUTPUT: Question: How can I do this in |
Where does Cinnamon store its Desktop Art settings? Posted: 27 May 2022 09:39 AM PDT Running Linux Mint 16 right now, Cinnamon 64-bit. I'm trying to find out where Cinnamon stores my desktop settings. Precisely looking for where the desktop image settings are stored and want to figure out how to manipulate it via the command line for a bash script I've written. tl;dr: can I change cinnamon's desktop image from the command line? Any clues or tips? |
Grub 2 os prober for windows 8 Posted: 27 May 2022 09:01 AM PDT I'm trying to dual boot with fedora 20 and windows 8. I install first windows and then fedora. And grub detects windows automatically. So the default This creates this What I've tried I created in my So I try to adapt this for the but this creates: Which doesn't work. My question How should I change 30_os-prober so that it creates a working grub menuentry? |
Why is my ssh connection unauthorized although I have updated my key on the remote machine? Posted: 27 May 2022 12:03 PM PDT On my local machine I have a public key stored in To be able to log in to a remote machine I copy this key using On the remote host, I see two lines added to the file However, when I now log in to the remote machine with I am still asked for a password. Why is that and how can this be fixed?
|
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