Recent Questions - Unix & Linux Stack Exchange |
- What is entomb service?
- Is it possible to have terminal make a sound when a compilation fails?
- cryptsetup mistake and fixing a start job is running for no time limit
- wlan0 not showing on ifconfig/iwconfig, even with TP-link wireless adapter connected
- What is a command?
- canonical/non-canonical vs raw/cooked?
- How to burn a distro iso on Windows?
- error while getting text from font tag using selenium
- Check info in each line on a specific set of columns in one variable against all lines in three specific columns in another variable using awk
- Using UIM to insert Unicode input from keyboard
- boot from usb stick without the grub prompt
- Extract field and number of occurrences per line
- Substitution in html file using awk
- How to map data based on substring?
- Having trouble with syntax in declaring variables
- docker: Error response from daemon: failed to create shim: OCI runtime create failed
- Memory Management with Segmentation
- Why it is allowed to enter very special characters to `passwd` in Ubuntu?
- How to download all repositories of a GitHub account to my personal computer without using github cli? [duplicate]
- Automatically mounting LUKS encrypted volume during boot
- Why does OpenSSH debug2 handshake logging only on some logins, not on every login?
- AWK one liner to merge three fields in a single file
- Linux user Creation in a group
- Find files containing multiple words where the order of the words does not matter
- how to transfer files from Kali?
- edit grub to have multi boot option to have more than 2 OS boot option
- How to add a default route to a DHCP-enabled interface?
- Unzip to a folder with the same name as the file (without the .zip extension)
- Unable to install VirtualBox. `complaining that the kernel module is not loaded`
- Not able to run Cisco Packet Tracer 7.0 even if installation is successful
Posted: 11 May 2022 12:45 PM PDT On many GNU/Linux systems I see the following entry in What is entomb? I searched the internet for information about it but there's very little information. |
Is it possible to have terminal make a sound when a compilation fails? Posted: 11 May 2022 12:19 PM PDT I compile programs in my terminal and for a lengthy compilation, I usually let it sit in the background. I would like to be notified, somehow (maybe by sound), when the compilation fails. Is there a way to enable this feature? |
cryptsetup mistake and fixing a start job is running for no time limit Posted: 11 May 2022 12:08 PM PDT I was messing with
It is trying to mount a second disk in the system that is LUKS encrypted, that I mount as Is there a way to fix this or am I looking at reinstalling linux from dvd? Or is there a way to mount this disk in another system, which I know I could do, and then what on it can I edit to undo what's causing the hangup? I am running RHEL 7.9 x86-64. |
wlan0 not showing on ifconfig/iwconfig, even with TP-link wireless adapter connected Posted: 11 May 2022 12:07 PM PDT I just got a TP-Link wifi adapter, and followed a YouTube tutorial on how to set it up. It worked fine at first, and showed Mode: Montitor when I finished. However after messing around for a bit, I restarted my Kali Linux (on VM) and now I can not get it to work again. wlan0 does not show on ifconfig nor iwconfig. Does anyone know how to fix this? |
Posted: 11 May 2022 11:58 AM PDT Clear thinking and clear communication are facilitated when different terms are used to represent different concepts. This is particularly useful when the 2 concepts are very similar but different. We tend to use the term "command" to represent 2 very similar but different concepts. concept 1: A single program entered on a command-line interface. Options might be passed to the program, but there is still only 1 program being used. example(s): This concept is referred to as a "command". concept 2: Anything entered on a command-line interface before hitting the Enter key to instruct the shell to process it. example(s): This concept is also referred to as a "command". For people who desire to use different terms to represent different concepts in order to think and communicate ideas more precisely, what are the best terms to use to represent these 2 different concepts? |
canonical/non-canonical vs raw/cooked? Posted: 11 May 2022 11:22 AM PDT In the context of terminals, what is the difference between the two opposites canonical/non-canonical and cooked/raw? This thread says that they are synonym. But that's weird because one of the "local settings" in |
How to burn a distro iso on Windows? Posted: 11 May 2022 11:16 AM PDT I use Windows 10 home and I consider to migrate to Ubuntu. I took an empty disk-on-key (DoK) and putted inside it a Ubuntu 22.04 iso file. My Dell Latitude 5580 laptop is "modern" in the sense that I can't choose how to boot in bios, i.e. booting should be done automatically if a DoK contains an iso which is burnt. How to burn a distro iso on Windows? Perhaps this question is a better fit for a website about software recommendations or SuperUser because I might need some third party software to do that or some Windows non-WSL software. |
error while getting text from font tag using selenium Posted: 11 May 2022 11:11 AM PDT I am using Java to automate a process on a wepage with selenium. I have the following line of code to get a text inside a font tage: The text is there, but it is not returned for some reason and I am getting: (Session info: chrome=101.0.4951.64) For documentation on this error, please visit: https://selenium.dev/exceptions/#no_such_element The text is there and that is the correct xpath, but I do not know why I am getting this error. Can someone please take a look. |
Posted: 11 May 2022 01:28 PM PDT I've asked a very similar question today before, however I have since realised that I need to increase parameters for the command. I edited the command for a another parameter okay, but the next parameter I had less success with and I don't know why. Here is what I'm trying (and failing) to solve. I need to check info in each line on a specific set of columns in one variable against all lines in two specific columns in another variable using Attempts I have made so far to do this in one powerful Here is an example:
I am using Ubuntu. |
Using UIM to insert Unicode input from keyboard Posted: 11 May 2022 12:04 PM PDT According to "Transparent" Unicode input from keyboard UIM supports entering Unicode characters with Ctrl+Shift+u like IBus, but without showing an interactive prompt. I haven't been able to get this to work after spending hours on it. Could somebody with better luck please walk me through the process? I'm running Manjaro. I installed UIM with to my |
boot from usb stick without the grub prompt Posted: 11 May 2022 10:41 AM PDT For some reason today when I went to boot from the usb stick the grub prompt opened up. The process is the following: I turn on the pc, open the boot menu, select to boot from the usb stick and then the grub menu always opens up at this point. I tried with a usb flashed with pop os 21.10, then 22.04 and then with linux mint, the grub prompt always opened up. The normal boot with my internal hard drive seems to be ok, this only happens when I select to boot from the usb stick. I managed to still boot from the usb stick thanks to this guide https://linuxhint.com/boot-usb-using-grub/ Question: is there a way to directly boot from the usb stick when I select it from the boot menu instead of passing through the grub prompt which is bothersome? In the past it has always booted directly from it, without the grub prompt, I don't know what has changed now. |
Extract field and number of occurrences per line Posted: 11 May 2022 10:22 AM PDT I have this file: I can use awk to extract the 4th field this command also gives me the number of line so I can get the results separately My desired output is: I tried with this script: and it gives me this output: |
Substitution in html file using awk Posted: 11 May 2022 12:13 PM PDT My awk script reads records from file1, finds the same records in file2 and substitutes alternate positions (of the record) with a defined symbol in that. But few of the values are not getting substituted as desired. Please help me fix it. $ cat test.html desired op - Current output - |
How to map data based on substring? Posted: 11 May 2022 01:19 PM PDT I have data in the following manner: How do I create a map based on the following rules?
The result should be something like this. Not every table should have staging and backup in that case those fields should be empty. |
Having trouble with syntax in declaring variables Posted: 11 May 2022 09:16 AM PDT I need help in fixing this script, getting too many syntax errors? |
docker: Error response from daemon: failed to create shim: OCI runtime create failed Posted: 11 May 2022 09:20 AM PDT I'm running into this error while running even an official docker image such as OpenJDK or even hello-world: My OS is: and my Docker version: The error appears for no change or update. How can I investigate the reason of this problem? |
Memory Management with Segmentation Posted: 11 May 2022 09:18 AM PDT I've read the part of "Modern Operating Systems" by Tanenbaum about segmentation and got left with some questions:
Thanks for some clarification! |
Why it is allowed to enter very special characters to `passwd` in Ubuntu? Posted: 11 May 2022 08:58 AM PDT
Do the very special characters work properly in all the popular Linux systems? And are they harder to crack than the password formed by english letters? |
Posted: 11 May 2022 10:03 AM PDT I use WSL Ubuntu 18.04 unchanged. I have one GitHub user with 6 GitHub repositories of that user. Basically I just need to download all my GitHub repositories as I wish to make a local backup of all my GitHub repositories in my personal computer. I can download a zip of each one of all 6 repositories from GitHub GUI but I seek some automatic way to download all of them from CLI, not necessarily in zip form (it can also be just 6 directories with all files in them). How will I achieve this? |
Automatically mounting LUKS encrypted volume during boot Posted: 11 May 2022 11:11 AM PDT Running RHEL 7.9, my root partition is LUKS encrypted so during system boot I am prompted at the console for the passphrase to continue booting; that part is fine. Once system is booted, in I can use the GNOME DISKS utility to unlock it and mount it but that becomes a second process, and a manual one I have to remember every time the system reboots... I also have to log in at the console and run the How, under RHEL 7.9, can the automatic unlocking and mounting of a LUKS encrypted disk be made to happen during boot time? So it then mounts like any other [unencrypted] disk specified in |
Why does OpenSSH debug2 handshake logging only on some logins, not on every login? Posted: 11 May 2022 10:20 AM PDT Running Ubuntu 18.04.1 LTS with package openssh-server 7.6p1-4ubuntu0.5 In I get the debug2 log message of the client MACs offering part of handshake:
and afterwards in the same second the login log entry for user "abc" login from IP 1.2.3.4 with the same sshd PID, so I guess this login message belongs to the first debug2 log entry:
But I get the according (same PID, roughly same second) debug2 handshake log entry not for every E.g. I observe a user logging in 2525 times on a day, but I can see the according This happens accross all user logins, so it is not user specific. Is this a bug or a feature? Is there some handshake info cache, so full handshake is not done (or logged) on every login? How can I achieve that for every login the debug2 handshake log entry is made? |
AWK one liner to merge three fields in a single file Posted: 11 May 2022 10:17 AM PDT I have a file with records (lines) having two types of field delimiters How to merge Note, for brevity I have shown a small list of useful fields, where as my real files have many such related fields. This field where I want to remove two or three I requested |
Linux user Creation in a group Posted: 11 May 2022 09:19 AM PDT What is the best way to create a user account (in my case Dev User) in a Group using bash scrip, with the followings : we have 10 developer accounts to create for. If any of the '$1' directories exist it would throw a notice to the executor. I tried some solutions but none of them seemed to work. can anyone guide me on it ! Is this will work : Output I Received: what is the best advise here ? |
Find files containing multiple words where the order of the words does not matter Posted: 11 May 2022 09:14 AM PDT I have a huge folder with a lot of subfolders where I would like to search for a folder that contains three words. Note that the folder name needs to have all three words, but the order of the words does not matter. Example: I want to find folders containing the words However, this command will consider the order of the words, while this is not of interest and I want to find any folder with those words in any order. |
how to transfer files from Kali? Posted: 11 May 2022 09:01 AM PDT I am using Kali Linux on virtual machine and i want to transfer a file from it to my phone. maybe blue-tooth or USB anything but i don't know how to do that or maybe i have to move it to my host operation system (windows) first. |
edit grub to have multi boot option to have more than 2 OS boot option Posted: 11 May 2022 12:00 PM PDT How do we edit grub in a UEFI HDD to have multi boot option having more than just one linux one Windows OS, readily being selected and run at PC startup |
How to add a default route to a DHCP-enabled interface? Posted: 11 May 2022 01:04 PM PDT All my servers' networking is configured via DHCP which sends, among others, a static route (needed for a VPN) and a gateway. This works fine. I have one exception: a server which should not get the static route (but get everything else, ideally the gateway as well). In order to deny the provided route(s), I added to its network config This got rid of the static route (good) and also the default gateway (not good). Ideally, I would like to receive the gateway from the DHCP server but I am OK to hardcode it in the configuration. To this I tried several solutions, all of them failed (= the default route was not added)
How can I add a default route to a DHCP configuration which denies the provided routes? In other words, how to make |
Unzip to a folder with the same name as the file (without the .zip extension) Posted: 11 May 2022 11:59 AM PDT How to unzip a file (ex: Basically, I want to create an alias of unzip that unzips files into a folder with the same name (instead of the current folder). That's how Mac's unzip utility works and I want to do the same in CLI. |
Unable to install VirtualBox. `complaining that the kernel module is not loaded` Posted: 11 May 2022 10:04 AM PDT VirtualBox was working on my computer until a few of days ago when I modified GRUB while attempting to customize it's Theme. Something I did started causing GRUB to load to a blank dark purple screen. Unless I choose Advanced Options from the GRUB menu and selected Optionally I have 4.10.0-16-generic as an option as well. But selecting that boots to a blank screen. I thought everything was fine, but discovered that I could no longer execute Upon executing Upon executing So then I execute So I searched Google for that package and basically nothing comes back. So re-reading the error above I thought that I should update. So I executed `` and I get this error, which believe to be the root of the previous error: Then I executed https://gist.github.com/s3w47m88/0e02e95cdfc2adab89951682d9c6a897 I have two issues
|
Not able to run Cisco Packet Tracer 7.0 even if installation is successful Posted: 11 May 2022 11:05 AM PDT I use Kali Linux and I am having a problem in running the I have downloaded the PacketTracer70_64bit_linux.tar.gz file from www.netacad.com/group/offerings/packet-tracer/. And then I extracted the tar.gz file by writing the command Then I got into the folder PacketTracer70 which got created automatically after extraction. The folder contents were as follows: Then I ran the Then I accepted the terms and conditions as usual... Then I was asked to install the package in then I got to the folder But nothing happened after that. It just gave me the message "Starting Packet Tracer 7.0" and nothing happened. I am trying this second time and getting the same problem. How can I fix this problem? |
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