$ sudo neo4j status`
Neo4j is not running
`$ sudo ps -aux | grep org.neo4j.server.CommunityEntryPoint | head -n1 | awk -F ' ' '{print $2}' | sudo tee /var/run/neo4j/neo4j.pid`
24831
$ sudo neo4j status
Neo4j is running at pid 24831
$ sudo neo4j stop
Stopping Neo4j.. stopped
$ sudo neo4j start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default nohup.out | |
nohup myprogram & | |
# Custom output file | |
nohup myprogram > myprogram.out & | |
# Redirect stderr to stdout | |
nohup myprogram > myprogram.out 2>&1 & | |
# Multiple commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gssh='gcloud compute ssh' | |
alias gci='gcloud compute instances' |
OlderNewer