Skip to content

Instantly share code, notes, and snippets.

View heartonbit's full-sized avatar

Minkyu Shim heartonbit

View GitHub Profile
# Default nohup.out
nohup myprogram &
# Custom output file
nohup myprogram > myprogram.out &
# Redirect stderr to stdout
nohup myprogram > myprogram.out 2>&1 &
# Multiple commands
@heartonbit
heartonbit / alias
Created April 4, 2021 07:38
GCP Alias
alias gssh='gcloud compute ssh'
alias gci='gcloud compute instances'
@heartonbit
heartonbit / fix_ghost_neo4j_proc.md
Created June 13, 2021 08:56
Fix ghost Neo4j process issue
$ 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