Skip to content

Tag: ubuntu

Running multiple Java Applications on startup

I currently run these java applications with the following command via root: java -Xms1G -Xmx1G -jar /var/www/tekkit.socialnetwk.com/tekkit.jar nogui Although if I close the terminal window those applications close/stop. Is there anyway to stop this from happening? Either creating it as a service or to start …

Bash – one-liner echo with delimiter

So my sample code so far looks like this: I want to be able to echo it out to make it look like the following: But the problem is that when I tried using AWK, sed, or IFS they also use n as delimiters which I don’t want that to happen as the text gets all messed up. Is there

Where & How is user group information stored in Ubuntu?

Mirror Question: https://unix.stackexchange.com/questions/217300/where-how-is-user-group-information-stored-in-ubuntu. (I’ll remove one of them after I got the answer) Two places possible: /etc/group and /etc/passwd. If I use command: adduser [username] [groupname], then the user would be added to the g…