Skip to content

Tag: linux

Sending a command to screen in linux

In order to run a data analysis program, installed on a Teensy 2.0 microcontroller running arduino, I have to go to the screen by typing screen -S trans -L /dev/ttyACM0 (the name of the screen is trans). Once in the new screen, I have to enter ‘s’ to start the scanning process. I am trying to writ…

How to check a email in linux server automatically?

I have a Ubuntu 14 server, I have to assign a email account to this server, when some person write a email to this account, the server have to open this mail automatically, and check if there are a specific information, if yes some thing happen. I suppose that the email are stored in a data base o something l…

How to connect to my remote SQL server

I have a linux ubuntu server that I rent from DigitalOcean for storing streaming real time data in MySQL by coding with python. Problem is that I am coding not in the linux server environment but in my local computer python(personal Windows 10(not a server)). So in the coding, I need to connect to my linux se…

Use awk to create file

I have a file that contain : Mr Q 01629699998 Ms Nhung 011287633 … I would like to use this awk ‘{print “BEGIN:VCARD”;print “Name:”$0;print “TELEPHONE:”$0;print “END:VCARD”}’ file to create this result BEGIN:VCARD Name: Mr Q TELEPHONE:016296999…

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…