Skip to content

Tag: ubuntu

How do you install .Net Core on Ubuntu without using sudo?

The current installation instructions for Ubuntu 14 require the use of sudo (https://www.microsoft.com/net/core#ubuntu). I don’t have root permissions on a particular Ubuntu 12 server that I need to install .Net Core on. I have tried to download the Ubuntu files (https://www.microsoft.com/net/download#c…

How does Anacron works in linux?

How does the Anacron runs even after the system shutdowns in linux? How does it look for the commands to run after the system shutdown? Answer If you have a backup script scheduled everyday at 11 PM as a regular cron job, and if your laptop is not up at 11 PM, your backup job will not be executed. However,

ls to list matches in specified directory

How do I list matched results in a specified directory? On my Ubuntu server if I list the contents of a directory it correctly lists it. My working directory is /var/crash. Let’s say I want to list all files that contain ‘tar’. In this example there should only be one match i.e. start.txt Al…

MySQL code causes PHP script to crash at popen/exec

I have the following PHP 5.6.19 code on a Ubuntu 14.04 server. This code simply connects to a MySQL 5.6.28 database, waits a minute, launches another process of itself, then exits. Note: this is the full script, and it’s purpose is to demonstrate the problem – it doesn’t do anything useful. …