So I want to start this on my server and be able to logout. So I use this command:
sudo nohup python gateone.py &
For the server to work correctly I had to run as sudo
Then to see if it is still running, logout, and log back in through ssh and run this command
ps -ef | grep gateone
You should see this:
me@myserver:~$ ps -ef | grep gateone
root 4780 4761 0 06:47 pts/0 00:00:00 sudo nohup python gateone.py
snow 4788 4761 0 06:48 pts/0 00:00:00 grep --color=auto gateone
Thursday, February 21, 2013
Saturday, February 2, 2013
How to convert csv to tab delimited linux command line
So this is how I converted csv to tab delimited on the command line:
cat sports.csv | tr "," "\\t" > sports.txt
Subscribe to:
Posts (Atom)