Skip to content

Linux Terminal Two Conditions to check

I need to check if node is running and if file /root/app/application.js exists and return corresponding message in terminal… For checking if node is running or not i do this and this works: Now i need to add to this to check also if file not exists /root/app/application.js so i found that this command i…

Dotnet core segmentation fault on linux

I have used AngleSharp to parse a website in a Dotnet core App It works fine in Windows but on Debian It crashed with this error : Segmantion fault the url that I had for parsing was https when I replaced it with an http url, It worked! Answer The problem caused by conflicting between two version of libssl. Y…

PHP – Concern running bash scripts through website

I am working on a game panel and I building it in PHP and BASH. So, the web panel controls the game severs by running bash scripts when buttons are pressed. So far so good. My problems come when I need to run the bash scripts because the user running them needs sudo privileges or the scripts will have a