Skip to content
Advertisement

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 it on boot. I’ve tried rc.local but no luck. I’m running on Ubuntu – Newest.

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

Internal cmake error while building trilinos on ubuntu 32bit

I’m trying to build the library trilinos on a 32bit ubuntu virtual machine. I wrote the following configuration script: When I execute it with the ksh command in the terminal, I get the following error: CMake Error: CMAKE_Fortran_Compiler not set, after EnableLanguage Answer It appears you do not have a Fortran compiler installed. This is why cmake cannot set CMAKE_Fortran_Compiler

How to substitute text which has implicit meaning in vi

I have a C code in vi from which I want to replace the text “n” with something else. Use of %s:n:(anything else) isn’t working. Is there any way to bypass this? For example,a line in the code is: printf(“Hello worldn”); In vi, I need to replace “n” in the printf line with a full stop. Use of substitue command

Corrupted filesystem tarfile – corrupted package archive Ubuntu

I’m trying to compile and install an open source application on Ubuntu. I can make the application, make the installer, and make the package. I don’t see any error during those steps. when I issue the dpkg -i to install it if fails with the following error. dpkg: error processing archive application.deb (–install): corrupted filesystem tarfile – corrupted package archive

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 group, and the file /etc/group would then be updated. However, the file /etc/passwd is not updated. if I check which group I belongs to, via groups

Advertisement