I accidentally closed the terminal after running this command And I can’t find the resource on how to stop the server What is the command? Answer The solution I opened terminal and killed the process via the pid I opened the terminal and ran the following code to get the pid of the process This is a sam…
Tag: linux
Letsencrypt ImportError: No module named interface on amazon linux while renewing
Today when i tried to renew my certificates using this command I’m facing error also tried this command Error : I did lot of research no solution found. Answer After doing lots of research I found it. You have to unset Python install layout then update letsencrypt for more refer this blog https://o-mkar…
Cross-platform file name handling in .NET Core
How to handle file name in System.IO classes in a cross-platform manner to make it work on Windows and Linux? For example, I write this code that works perfectly on Windows, however it doesn’t create a file on Ubuntu Linux: Answer Windows using Backslash. Linux using Slash. Path.Combine set the right sy…
Uniscan: loadable library and perl binaries are mismatched
Uniscan is a tool for scanning websites which comes in kali linux and other pen tests distros. I used to use it weekly to test my applications but after some updates of my linux tools it is now giving the following error when I run it: xs/Moose.c: loadable library and perl binaries are mismatched (got handsha…
Can’t connect to SVN from Subclipse in Linux
I’m trying connect to a SVN repository from Sublipse. I have followed this steps: Open SVN Repository Exploring perspective Select New > Repository Location… Enter repository url. Enter SVN access credentials The message Operation in progress… appears indefinitely The only thing that coul…
How to implement auto-update electron app on Linux?
I use electron to create cross-platform application. For Windows and Mac it could be done by electron tools, like autoUpdate, Squirrel, so on. The problem is only with Linux. I have built a .deb package for Ubuntu. But I can’t find any “step-by-step” instruction or comprehensive info about i…
Makefile in Linux error: *** No rule to make target `all’. Stop
I’m installing Apache on my Linux server RedHat 6.4. I follow the following guide: http://squirrelmail.org/docs/admin/admin-3.html When executing the make file, i got the following error: Can you please suggest how I can proceed further? Answer SquirrelMail is in the epel.repo https://fedoraproject.org/…
How to emit signal when the label text change?
I have 3 forms (main form, password form and menu form). The user clicks menu to open menu form, but before the menu form shows, the password form display to authenticate the user. He could display RFID card or enter his Id and password. When he puts his card the socket notifier in main form recieved the RFID…
Why does dollar not match literal dollar when extended regex (ERE) option is used with sed?
I want to replace $foo with bar. This works fine. But this command does not work fine when I use the -r option. Why doesn’t this work. Here is an example of what works with -r option. The real question is: Why does $ need to be escaped only while using the -r option. What would $ mean otherwise with
“Too many open files” – can’t remove a directory
I’ve created a large tree of empty directories in an Android emulator, around 1024. Now whenever I try to remove it with rm -rf 1/ I get a “Too many open files” error. How can I remove it? Answer Please try to use ulimit to set the open file handle as 4000 or more, you can use “ulimit …